Automated lead nurturing with Gemini AI, Telegram, and Gmail reply detection
Ready for 3.0What this workflow does
This AI workflow has 42 nodes and runs on Telegram events (plus 3 other triggers). Along the way it connects Telegram, Google Gemini Chat Model and Gmail.
How it runs
Trigger: On Telegram events (plus 3 other triggers).
- AI - Parse Lead Data (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Model - Parser; output parser: JSON Output Parser
- Get row(s) (Data table): uses Data table
- Get row(s) (Data table): uses Data table
- Get row(s) (Data table): uses Data table
- Insert row (Data table): uses Data table
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Initialize Lead Follow Up (Edit Fields (Set)): sets or maps fields
- If: checks a condition and branches into true / false
- Initialize Lead Tracking (Edit Fields (Set)): sets or maps fields
- Is This a Reply from Lead? (If): checks a condition and branches into true / false
…plus 20 more steps. See the full node list below.
Services it uses
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 (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - Send Email
n8n-nodes-base.emailSend - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Gmail
n8n-nodes-base.gmail - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Purpose and Audience This n8n workflow automates the entire lead nurturing process from initial contact through a 3-email follow-up sequence, with intelligent reply detection and personalized AI-generated content. It's designed to save sales teams countless…