
Curated by n8n Markets team
Last updated: March 8, 2026
# Handle WhatsApp customer inquiries with AI and intent routing (Whatsapp Chatbot) An intelligent, fully customizable WhatsApp customer support chatbot template that works for ANY business - whether you sell fashion, electronics, food, furniture, cosmetics, or anything else. This workflow combines pre-built responses for common queries with AI for complex questions, creating a cost-effective 24/7 customer support solution that adapts to your specific products and services. ## Who it's for This universal template works for ANY business type: - E-commerce stores (fashion, electronics, home goods, beauty, etc.) - Local retail shops (boutiques, grocery stores, bookshops, etc.) - Service businesses (salons, repair services, consultancies, etc.) - Restaurants & cafes (food delivery, reservations, menu inquiries) - Any business using WhatsApp Business API for customer communication ## What it does This is a UNIVERSAL template - it works for ANY business by simply updating the product categories, company information, and response templates. No coding knowledge required for basic customization! The workflow automates WhatsApp customer support through intelligent routing and AI assistance: 1. Receives WhatsApp messages via WhatsApp Business API webhook trigger 2. Parses message data extracting user info, chat ID, and message text 3. Classifies intent using pattern matching to determine what the customer wants (product inquiry, contact info, support, greeting, etc.) 4. Routes intelligently to the most appropriate response handler: - Product inquiries → Pre-built catalog responses with pricing and links - Contact information → Static company details (address, phone, hours) - Complex queries → AI agent with full company context 5. Maintains conversation context using memory to remember previous messages 6. Sends formatted responses back to the customer via WhatsApp with markdown formatting The hybrid approach (pre-built responses + AI) balances speed, cost, and intelligence - common questions get instant answers while complex queries receive personalized AI assistance. ## How to set up ### Requirements You'll need: - WhatsApp Business API access (via Twilio, 360Dialog, Meta Cloud API, or other providers) - Google Gemini API key (for AI responses) - [Get API key](https://ai.google.dev/) - Google Docs (optional - for product catalog reference) - n8n instance with WhatsApp nodes installed ### Setup Steps 1. Configure WhatsApp Business API - Sign up with a WhatsApp Business API provider (Twilio, 360Dialog, or Meta) - Get your API credentials (phone number ID, access token, webhook verify token) - Add credentials to n8n's WhatsApp node - Copy the webhook URL from n8n and configure it in your provider's dashboard 2. Customize Company Information - Open the "Build AI System Prompt" node - Replace all placeholder text with your actual company details: - Company name - Address and phone numbers - Email and website - Product categories and brands - Policies (COD, warranty, returns, delivery) - Store hours 3. Configure Product Responses - Edit the "Generate Product Response" node - Replace the sample products with your actual catalog: - Product names and specifications - Prices (update currency if not using INR) - Product URLs from your website - Add/remove product categories as needed 4. Update Contact Details - Edit the "Generate Contact Info Response" node - Add your complete contact information - Update store hours and addresses 5. Set Up AI Credentials - Add your Google Gemini API key to the credential manager - (Optional) Connect Google Docs if you want to use a product catalog document 6. Activate and Test - Activate the workflow in n8n - Send test messages to your WhatsApp Business number - Test different intents: greetings, product questions, contact requests - Verify responses are accurate and timely ### WhatsApp Business API Providers Option 1: Meta Cloud API (Official, free for moderate usage) - Sign up at: https://developers.facebook.com/ - Requires Facebook Business account - Best for: Small to medium businesses Option 2: Twilio (Reliable, paid service) - Sign up at: https://www.twilio.com/whatsapp - Pay-per-message pricing - Best for: Businesses needing high reliability Option 3: 360Dialog (WhatsApp-focused) - Sign up at: https://www.360dialog.com/ - Competitive pricing - Best for: WhatsApp-heavy businesses Option 4: MessageBird, Vonage, others - Various pricing and features - Research and compare based on your needs ## How it works ### Intent Classification System The workflow uses keyword pattern matching to classify user intent into these categories: Priority 1: Contact Information (highest priority) - Triggers: "where is store", "address", "contact", "phone number" - Response: Static contact details - Why first: Users asking for contact info need immediate, accurate
n8n instance (self-hosted or cloud). credentials.
1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!