AI sales agent: WhatsApp, FB, IG, OpenAI, Airtable, Supabase auto-booking
Needs changesWhat this workflow does
This AI workflow has 50 nodes and runs on WhatsApp events (plus 4 other triggers). Along the way it connects Embeddings OpenAI, OpenAI Chat Model, Supabase Vector Store and Postgres Chat Memory and 5 more.
How it runs
Trigger: On WhatsApp events (plus 4 other triggers).
- Get Lead (Airtable): uses Airtable
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- Edit Fields - chat (Edit Fields (Set)): sets or maps fields
- Airtable: uses Airtable
- Handle Message Types (Switch): routes items into branches
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
…plus 19 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 AI Agent (v1.7), AI Agent1 (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7), AI Agent1 (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (20)
- AI Agent
@n8n/n8n-nodes-langchain.agent - No Operation, do nothing
n8n-nodes-base.noOp - Switch
n8n-nodes-base.switch - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Respond to Webhook
n8n-nodes-base.respondToWebhook - If
n8n-nodes-base.if - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Airtable
n8n-nodes-base.airtable - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger
From the author
This workflow automates multi-channel AI-driven sales engagement for lead qualification, service information delivery, and consultation booking. It integrates WhatsApp, Facebook Messenger, Instagram DM, and an n8n chat interface with a backend CRM (Airtable),…