Templates / AI sales agent: WhatsApp, FB, IG, OpenAI, Airtable, Supabase auto-booking

AI sales agent: WhatsApp, FB, IG, OpenAI, Airtable, Supabase auto-booking

Needs changes

by Sam Yassine ✓ · 9,236 views · created 2025-05-15 · Lead Nurturing, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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).

  1. Get Lead (Airtable): uses Airtable
  2. Respond to Webhook: sends the response back to the webhook caller
  3. Respond to Webhook: sends the response back to the webhook caller
  4. Respond to Webhook: sends the response back to the webhook caller
  5. Respond to Webhook: sends the response back to the webhook caller
  6. Edit Fields - chat (Edit Fields (Set)): sets or maps fields
  7. Airtable: uses Airtable
  8. Handle Message Types (Switch): routes items into branches
  9. If: checks a condition and branches into true / false
  10. If: checks a condition and branches into true / false

…plus 19 more steps. See the full node list below.

Services it uses

Embeddings OpenAIOpenAI Chat ModelSupabase Vector StorePostgres Chat MemoryVector Store Question AnswerWhatsApp Business CloudOpenAIAirtableFacebook Graph API

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.0Replace 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)

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),…

Excerpt from Sam Yassine's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.