Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Reply to WhatsApp sales leads with OpenAI, Supabase, and Slack alerts
Triggered by inbound WhatsApp messages, replies using AI grounded in the business catalog, scores leads, logs them to Supabase, and alerts sales on hot leads.
What it does
## AI WhatsApp Sales Agent Who it's for: Small and local businesses that get sales inquiries over WhatsApp and want instant, accurate replies without someone manually answering product, pricing, and availability questions all day. What it does: Replies to customer WhatsApp messages using AI grounded only in your real product catalog and business info, scores every conversation as a lead, logs it to a CRM, and alerts your sales team when a lead goes hot or a customer needs a human. How it works 1. Customer messages your WhatsApp number 2. Message is normalized and checked for duplicates 3. Customer is looked up (or created) with their recent history 4. AI reads the product catalog and business info and drafts a reply 5. The conversation is scored Cold / Warm / Hot 6. The reply is sent back to the customer on WhatsApp 7. The conversation and CRM record are saved/updated 8. Hot leads or customers needing a human trigger a Slack alert How to set up ☐ Connect WhatsApp Cloud API and set your own Phone Number ID in "Client Config" ☐ Register the webhook in Meta and set your own verify token in "Respond Verify Token" ☐ Connect Supabase and create customers, conversations, and products tables ☐ Connect OpenAI (used for intent classification and reply generation) ☐ Connect Slack and set your own channel ID in "Client Config" ☐ Fill in "Client Config" with the business's real name, delivery, payment, and return info CUSTOMIZATION - Edit the AI system prompt for tone, allowed topics, or escalation rules - Adjust the lead-scoring rules and Hot/Warm/Cold thresholds - Add more business facts to "Client Config" for the AI to draw on
The steps
- WhatsApp Webhook
- WhatsApp Verify Webhook
- Respond Verify Token
- Client Config
- Normalize WhatsApp Data
- Check Duplicate Message
- Is New Message?
- Check Customer
- Customer Exists?
- Create Customer
- Get Customer History
- Get Product Information
- Send WhatsApp Response
- Save Conversation
20 steps in total.
Similar automations
Lead Generation & EnrichmentScore inbound leads with AI, reply by SMS or WhatsApp, alert sales in Slack32 stepsChatbots & Messaging BotsWhatsApp HR Assistant with OpenAI, Calendar and Supabase57 stepsChatbots & Messaging BotsAnswer WhatsApp Messages with Llama 4 and Google Search8 stepsChatbots & Messaging BotsWhatsApp Chatbot with OpenAI Memory5 steps