Write a cited research report that searches again for what is missing with DuckDuckGo
UnknownWhat this workflow does
This AI workflow has 34 nodes and runs when someone submits an n8n form (“Research a question”). Along the way it connects OpenRouter Chat Model and Duckduckgo Search (community).
How it runs
Trigger: When someone submits an n8n form (“Research a question”).
- Research settings (Code): runs custom JavaScript code
- Plan sub-questions (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter model; output parser: Sub-question format
- Cap the sub-questions (Code): runs custom JavaScript code
- Loop over sub-questions (Loop Over Items (Split in Batches)): loops over the items in batches
- Number the sources (Code): runs custom JavaScript code
- Search DuckDuckGo (Duck Duck Go): search
- Enough evidence? (If): checks a condition and branches into true / false
- Grade the evidence (Code): runs custom JavaScript code
- Extract quoted findings (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter model; output parser: Finding format
- Explain why there is no report (Code): runs custom JavaScript code
…plus 19 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-duckduckgo-search is verified or supports 3.0 (used in Search DuckDuckGo, Search again).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Duck Duck Go
n8n-nodes-duckduckgo-search.duckDuckGo - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Markdown
n8n-nodes-base.markdown - n8n Form
n8n-nodes-base.form
From the author
Quick overview Ask a question in a form; DuckDuckGo searches the web and the workflow returns one HTML report where every claim cites a quoted page. A sub-question that found nothing is searched again once. Self-hosted n8n only. How it works 1. A form takes…