🌐 English
עבריתEnglishРусскийالعربيةहिन्दीEspañolFrançaisPortuguêsDeutsch

Level: Intermediate · Time: an hour–two days

Smart WhatsApp bot for business with Claude

Answers customers 24/7, collects details and passes on only what matters.

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

Step by step

  1. 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".

  2. 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.

  3. 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.

  4. 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).

  5. 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.

  6. Test before releasing

    Send the bot 30 real customer questions, including tricky and blunt ones. Fix the document until the answers are good.

Tips

⚠️ 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.

More cool things to do