Qualify, route, and follow up on inbound leads with Sheets, Slack, Telegram, and GPT-4o
Ready for 3.0What this workflow does
This AI workflow has 36 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects OpenAI Chat Model, Google Sheets, Slack and Telegram and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Normalize Lead Fields (Edit Fields (Set)): sets 10 fields: lead_id, received_at, company…
- Read Pipeline For SLA (Google Sheets): uses Google Sheets
- Load Pipeline Leads from Sheet (Google Sheets): uses Google Sheets
- Validate Lead Data (If): checks a condition and branches into true / false
- Find Unworked Hot Leads (Code): runs custom JavaScript code
- Compute Pipeline Stats (Code): runs custom JavaScript code
- Read Existing Leads (Google Sheets): uses Google Sheets
- Flag Invalid Lead (Edit Fields (Set)): sets 4 fields: status, rejection_reason, score…
- Remind Sales On Slack (Slack): uses Slack
- Format Digest Message (Edit Fields (Set)): sets 1 field: digest_text
…plus 22 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Telegram
n8n-nodes-base.telegram - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch
From the author
Inbound leads pile up in a form inbox and the good ones wait as long as the bad ones. This workflow scores every lead with GPT-6.1-sol, routes it by tier, alerts sales on Slack and Telegram for the hot ones and keeps a clean pipeline sheet. It also catches…