Qualify and reply to WhatsApp and Telegram leads with Claude and Google Sheets
Ready for 3.0What this workflow does
This workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Docs, Google Sheets and Telegram. It also calls api.anthropic.com and graph.facebook.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Normalize Telegram Message (Code): runs custom JavaScript code
- Normalize WhatsApp Message (Code): runs custom JavaScript code
- Reply to WhatsApp Verification (Respond to Webhook): sends the response back to the webhook caller
- Check If Text Message (If): checks a condition and branches into true / false
- Send Skip Acknowledgment (Respond to Webhook): sends the response back to the webhook caller
- Access Knowledge Base (Google Docs): get
- Read Leads from Sheets (Google Sheets): uses Google Sheets
- Compile Message Context (Code): runs custom JavaScript code
- Setup Request for Claude (Code): runs custom JavaScript code
- Post to Claude API (HTTP Request): calls api.anthropic.com (POST)
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: api.anthropic.com, graph.facebook.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.
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Docs
n8n-nodes-base.googleDocs - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow receives WhatsApp/Telegram messages, pulls your knowledge base and the lead’s history from Google Sheets, and sends it to Claude — which auto-detects the customer’s language and replies in it (not a fixed list), qualifies the…