Research web topics and email a Claude report via Gmail using SerpApi, Jina.ai and Firecrawl
Ready for 3.0What this workflow does
This AI workflow has 29 nodes and runs when someone submits an n8n form (“Self-Healing Research Agent”) (plus 1 other trigger). Along the way it connects Anthropic Chat Model and Gmail. It also calls serpapi.com and api.firecrawl.dev over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Self-Healing Research Agent”) (plus 1 other trigger).
- Set Config (Edit Fields (Set)): sets 4 fields: topic, numSources, recipientEmail…
- Format Error (Edit Fields (Set)): sets 4 fields: error_message, failed_node, workflow_name…
- SerpApi Search (HTTP Request): calls serpapi.com
- Parse & Filter URLs (Code): runs custom JavaScript code
- Loop Over URLs (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Jina Reader (Primary) (HTTP Request): calls an HTTP API
- Build Synthesis Prompt (Code): runs custom JavaScript code
- Normalize Jina Response (Code): runs custom JavaScript code
- Synthesize Report (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Synthesizer
…plus 14 more steps. See the full node list below.
Services it uses
HTTP calls to: serpapi.com, api.firecrawl.dev
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Wait
n8n-nodes-base.wait - Aggregate
n8n-nodes-base.aggregate - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Submit a research topic through a form and receive a professionally styled executive report in your inbox — fully automated, with built-in scraping resilience. The workflow searches Google via SerpApi, scrapes each result with Jina.ai (free, no key needed),…