Produce illustrated, research-based newsletters from Airtable with OpenAI and Kit
Ready for 3.0What this workflow does
This AI workflow has 40 nodes and runs on a schedule (every 6 days). Along the way it connects Airtable, OpenAI and OpenAI Chat Model. It also calls api.tavily.com and api.kit.com over HTTP.
How it runs
Trigger: On a schedule (every 6 days).
- Configure Newsletter (Edit Fields (Set)): sets 14 fields: senderName, audienceDescription, writingTone…
- Validate Configuration (Code): runs custom JavaScript code
- Select One Ready Newsletter (Airtable): search
- Validate Selected Topic (Code): runs custom JavaScript code
- Mark Newsletter In Progress (Airtable): update
- Research Newsletter Topic (HTTP Request): calls api.tavily.com (POST)
- Plan Five Newsletter Sections (OpenAI): uses OpenAI
- Split Five Planned Topics (Code): runs custom JavaScript code
- Process One Section at a Time (Loop Over Items (Split in Batches)): loops over the items in batches
- Assemble Five Illustrated Sections (Code): runs custom JavaScript code
…plus 26 more steps. See the full node list below.
Services it uses
Other OpenAI + Airtable templates (215) · Other OpenAI + Tavily templates (46) · Other Airtable + Tavily templates (4)
HTTP calls to: api.tavily.com, api.kit.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 (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Airtable
n8n-nodes-base.airtable - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow runs every six days to pick one “Ready” newsletter topic from Airtable, research and write five cited sections with OpenAI models, generate matching images via Replicate, host them on Cloudinary, then create a draft (and…