A smart WhatsApp bot is one of the most useful things a small business can build with AI. The customer writes like a human, and Claude replies based on the information you gave it: prices, hours, services and FAQs. When a person is needed, the bot passes the conversation to you.
What's needed
- A business WhatsApp number not used for the regular app (or a new number)
- An account on Meta's WhatsApp Business Platform, or a provider like Twilio
- Build with the Claude API from Anthropic (pay-as-you-go)
- A small server or automation service (Make, n8n) that connects them
Step by step
- Start with the data, not the code
Write one document with everything the bot needs to know: services, prices (or ranges), hours, service area, FAQs, and what to do when it doesn't know. This is the bot's "brain".
- Enable WhatsApp access
Subscribe to Meta's WhatsApp Cloud API (or via Twilio), verify the business and connect a number. You get a Webhook URL: WhatsApp will send every incoming message there.
- Connect Claude
Every incoming message is sent to Claude along with the document from the first step as a "system instruction" and with the conversation history. Claude's reply is sent back to the customer.
- Keep a history
So the bot remembers what the customer said a minute ago, save the conversations in a simple database (Supabase, Google Sheets or a file).
- Add "Pass to a human"
Define words like "representative" or states like anger, a large order, or a question the bot doesn't know, and then the bot sends you an alert and stops replying.
- Test before releasing
Send the bot 30 real customer questions, including tricky and blunt ones. Fix the document until the answers are good.
Tips
- Give the bot a short "personality": how it addresses people, how many emojis, response length.
- Ask it not to make up prices. If there's no price in the document, it should say you'll get back to the customer.
- No code? Make and n8n connect WhatsApp to Claude with drag and drop.
⚠️ Proactive messages to customers (not replies) require Meta-approved templates. Tell customers they're chatting with an automated assistant, and write a privacy policy explaining what is stored.
Learn more
This guide was written by the AI TIPS team and is updated regularly. Interfaces and programs change, so button names may be slightly different.