Send cited research newsletters from a form with Claude, Tavily and Gmail
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when someone submits an n8n form (“Request a newsletter”). Along the way it connects Anthropic Chat Model and Gmail. It also calls api.tavily.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Request a newsletter”).
- Settings (Edit Fields (Set)): sets 7 fields: send_to, delivery_mode, sender_name…
- Read the brief (Edit Fields (Set)): sets 5 fields: topic, audience, tone…
- Scan the topic (HTTP Request): calls api.tavily.com (POST)
- Plan the sections (Basic LLM Chain): sends a prompt to an LLM, with model: Claude (planner); output parser: Plan format
- Split into sections (Code): runs custom JavaScript code
- Research the section (HTTP Request): calls api.tavily.com (POST)
- Write the section (Basic LLM Chain): sends a prompt to an LLM, with model: Claude (writer); output parser: Section format
- Check the citations (Code): runs custom JavaScript code
- Combine the sections (Code): runs custom JavaScript code
- Write the subject and intro (Basic LLM Chain): sends a prompt to an LLM, with model: Claude (editor); output parser: Intro format
…plus 4 more steps. See the full node list below.
Services it uses
Other Anthropic + Gmail templates (192) · Other Tavily + Gmail templates (29) · Other Anthropic + Tavily templates (5)
HTTP calls to: api.tavily.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow collects a newsletter brief via an n8n form, uses Tavily web search plus Anthropic Claude to plan and write cited sections, validates links against search results, and then assembles and delivers the finished newsletter as a Gmail…