Ai-powered restaurant newsletter creator with Mailchimp and Telegram approval
Needs changesWhat this workflow does
This AI workflow has 38 nodes and runs on Telegram events (plus 4 other triggers). Along the way it connects OpenAI Chat Model, OpenAI, Telegram and Mailchimp and 3 more.
How it runs
Trigger: On Telegram events (plus 4 other triggers).
- Check if Message is a Reply (If): checks a condition and branches into true / false
- Merge: merges the data from its input branches
- Set Topic from Reply (Edit Fields (Set)): sets or maps fields
- Determine Schedule Name (Code): runs custom JavaScript code
- Restaurant Newsletter Expert (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Tavily)
- Prompt for Topic on Telegram (Telegram): uses Telegram
- Newsletter Section Planner (OpenAI): uses OpenAI
- Split Newsletter Sections (Split Out): splits a list into separate items
- Restaurant Content Research Team (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 1 tool (Tavily)
- Code: runs custom JavaScript code
…plus 16 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Restaurant Newsletter Expert (v1.7), Restaurant Content Research Team (v1.7), Final Newsletter Editor (v1.7)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Restaurant Newsletter Expert (v1.7), Restaurant Content Research Team (v1.7), Final Newsletter Editor (v1.7), Correction Agent (v1.7), First Newsletter Editor1 (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (18)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - OpenAI
@n8n/n8n-nodes-langchain.openAi - Split Out
n8n-nodes-base.splitOut - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Tavily Tool
@tavily/n8n-nodes-tavily.tavilyTool - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - Telegram Trigger
n8n-nodes-base.telegramTrigger - If
n8n-nodes-base.if - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Mailchimp
n8n-nodes-base.mailchimp - Gmail
n8n-nodes-base.gmail - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Who is this for? This workflow is for restaurant owners, marketing managers, and any business owner who wants to automate the creation of high-quality,…