Save at-risk churn customers with OpenAI DeepSeek, Airtable, Gmail, and Telegram
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Telegram, Gmail, OpenAI Chat Model and Airtable.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Normalize Churn Fields (Edit Fields (Set)): sets 7 fields: received_at, case_id, customer_name…
- Fetch Churn Cases from Airtable (Airtable): search
- Validate Churn Input (If): checks a condition and branches into true / false
- Flatten Case Fields (Edit Fields (Set)): sets 3 fields: case_id, customer_name, mrr
- AI Retention Strategist (AI Agent): runs an AI agent, with model: OpenAI DeepSeek Model; 1 tool (Lookup Customer in Airtable)
- Alert Invalid Request on Telegram (Telegram): uses Telegram
- Compile Churn Stats (Summarize): summarizes / groups the items
- Extract AI Decision (Edit Fields (Set)): sets 5 fields: risk_level, recommended_offer, offer_value…
- Email Invalid Request Notice (Gmail): uses Gmail
- AI Write Monthly Report (AI Agent): runs an AI agent, with model: OpenAI DeepSeek Report Model
…plus 8 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Telegram + OpenAI templates (807) · Other Gmail + Telegram templates (361)
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 (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Airtable Tool
n8n-nodes-base.airtableTool - Airtable
n8n-nodes-base.airtable - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Summarize
n8n-nodes-base.summarize
From the author
Quick Overview This workflow receives churn requests via webhook, uses OpenAI (DeepSeek) plus Airtable customer data to generate a retention offer and draft email, notifies the team for high-risk cases via Telegram, logs cases to Airtable, and sends a monthly…