Templates / Reply to WhatsApp sales leads with OpenAI, Supabase, and Slack alerts

Reply to WhatsApp sales leads with OpenAI, Supabase, and Slack alerts

Needs changes

by Bhaskar Gorati ✓ · 0 views · created 2026-10-14 · 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 20 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects Supabase, WhatsApp Business Cloud, OpenAI Chat Model and Slack.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).

  1. Respond Verify Token (Respond to Webhook): sends the response back to the webhook caller
  2. Client Config (Edit Fields (Set)): sets 10 fields: business_name, phone_number_id, slack_channel_id…
  3. Normalize WhatsApp Data (Code): runs custom JavaScript code
  4. Check Duplicate Message (Supabase): get many
  5. Is New Message? (If): checks a condition and branches into true / false
  6. Check Customer (Supabase): get many
  7. Customer Exists? (If): checks a condition and branches into true / false
  8. Get Customer History (Supabase): get many
  9. Create Customer (Supabase): uses Supabase
  10. Get Product Information (Supabase): get many

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

Services it uses

SupabaseWhatsApp Business CloudOpenAI Chat ModelSlack

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 Sales Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Sales Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

Quick overview This workflow receives WhatsApp Cloud API messages, uses OpenAI to generate grounded sales replies, logs and scores each lead in Supabase, and notifies your team in Slack when a lead is hot or needs a human. How it works 1. Receives WhatsApp…

Excerpt from Bhaskar Gorati '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.