Project Overview
We built a WhatsApp automation system that handles incoming messages, FAQs, lead capture, and follow-ups automatically using n8n and AI.
Instead of replying manually from the WhatsApp Business app all day, the client now has an automated assistant that answers common questions, collects customer details, and alerts the team only when a human needs to step in.
What This Automation Does
1. Connect WhatsApp Business to n8n
We created a flow where:
- All new messages sent to the client’s WhatsApp Business number are:
- Received via WhatsApp Cloud API / provider API.
- Sent into n8n in real time.
- n8n processes:
- Sender name and phone number
- Message text
- Attachments (images, documents, audio, etc., if needed)
Tools Used: WhatsApp Cloud API / WhatsApp provider, n8n, Webhook / HTTP Trigger
This means:
- Every WhatsApp message is captured.
- No more missed or forgotten chats in the inbox.
2. Smart Auto-Replies for Common Questions
We set up a mix of rule-based and AI-powered replies.
The workflow:
- Checks for common keywords/intents such as:
- Price / package / cost
- Services / product details
- Location / address
- Opening hours
- How to order / book / register
- Uses:
- Predefined templates for very common questions.
- AI (OpenAI) for flexible, natural replies using the business info.
- Sends instant responses back on WhatsApp with:
- Clear, simple answers
- Optional links (website, form, payment link, etc.)
This gives:
- Very fast response time.
- Consistent, professional replies without manual typing.
3. Lead Capture & Qualification Inside WhatsApp
We turned WhatsApp chats into a lead collection and qualification flow.
The automation can:
- Detect whenever someone is “interested” (asking about price, service, booking).
- Ask follow-up questions like:
- Name
- Email (optional)
- Location
- Service/product of interest
- Budget or time preference
- Save all this into:
- Google Sheets
- CRM
- Notion / database
Optionally:
- Tag the lead with a status like:
- “New lead”
- “Hot lead”
- “Follow-up needed”
Tools Used: n8n, OpenAI LLM, Google Sheets / CRM / Notion
This means:
- WhatsApp chats automatically become structured leads.
- The sales team gets clean data instead of messy chat screenshots.
4. Human Handoff for Complex or Sensitive Chats
We made sure the automation doesn’t try to do everything.
The workflow:
- Detects messages that are:
- Complaints or very emotional
- High-value deals or custom quotes
- Complex support issues
- For these, the system can:
- Stop full auto-reply and switch to “assist mode”.
- Notify the team via:
- Slack / Telegram / another WhatsApp number
- Include:
- Chat summary
- User details
- Direct link/reference to the conversation
Then a human can:
- Continue chatting directly on WhatsApp with full context.
This gives the client:
- Safety and control over important conversations.
- Less risk of incorrect AI answers in sensitive situations.
5. Auto Replies for Off-Hours & Simple Updates
We configured time-based and event-based automations.
Examples:
- Outside working hours:
- Auto reply with:
- Working time
- Basic FAQ answers
- “We’ll contact you tomorrow” style message
- Auto reply with:
- Thank-you & confirmation messages:
- After form submission, order, or booking, send:
- Confirmation message
- Important details (date, amount, instructions)
- After form submission, order, or booking, send:
Tools Used: n8n, WhatsApp API, Google Sheets / CRM / internal tools
This means:
- Customers always receive some response — even at night or weekends.
- The business looks more responsive and professional.
6. Logging, History & Simple Analytics
Every important conversation and action is logged.
We store:
- Customer phone number & name
- First contact time
- Conversation type (lead, support, general question)
- Lead details (if collected)
- Bot responses and whether it was escalated to a human
- Timestamps for follow-up
Storage options:
- Google Sheets
- Notion
- CRM / database
From this, the client can see:
- How many people contact via WhatsApp.
- How many leads are generated daily/weekly.
- Which questions are most common (to improve FAQs and services).
Impact for the Client
After implementing this WhatsApp automation:
- A large portion of customer chats became fully or semi-automated.
- The client no longer needs to:
- Manually reply “price?”, “location?”, “how to order?” hundreds of times.
- Keep checking WhatsApp every few minutes.
- Customers get:
- Faster answers
- Clear information
- 24/7 basic support (if enabled)
The team now focuses on:
- High-value leads
- Complex support cases
- Business growth and strategy
while n8n + AI handle the repetitive daily conversations on WhatsApp in the background.