Create a topic dossier as an HTML file with DuckDuckGo
UnknownWhat this workflow does
This AI workflow has 39 nodes and runs when someone submits an n8n form (“Create a topic dossier”). Along the way it connects OpenRouter Chat Model and Duckduckgo Search (community). It also calls openrouter.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Create a topic dossier”).
- Check the request (Code): runs custom JavaScript code
- Request accepted? (If): checks a condition and branches into true / false
- Plan the searches (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter model; output parser: Search plan format
- Explain why there is no dossier (Code): runs custom JavaScript code
- Check the plan (Code): runs custom JavaScript code
- Make the result page (Code): runs custom JavaScript code
- Research the topic (AI Agent): runs an AI agent, with model: OpenRouter model; 2 tools (Read a page, Search the web)
- Show the result (n8n Form): shows the next form page
- Verify the findings (Code): runs custom JavaScript code
- Enough verified findings? (If): checks a condition and branches into true / false
…plus 22 more steps. See the full node list below.
Services it uses
HTTP calls to: openrouter.ai
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, 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 the web, Read a page).
- Check that n8n-nodes-duckduckgo-search is verified or supports 3.0 (used in Search for news, Search for videos, Search for images).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Duck Duck Go Tool
n8n-nodes-duckduckgo-search.duckDuckGoTool - Duck Duck Go
n8n-nodes-duckduckgo-search.duckDuckGo - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Code Tool
@n8n/n8n-nodes-langchain.toolCode - n8n Form
n8n-nodes-base.form - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
Quick overview Type a topic; this workflow reads web pages found with DuckDuckGo and gives you one HTML file: an overview in which every paragraph cites a source, quotes checked against the pages, news, and optionally videos and pictures. Self-hosted n8n…