Delvo
Free guide · Automation

A WhatsApp AI agent with n8n and Claude, no code

Customers text your WhatsApp, Claude answers with your real prices, hours and FAQs, in seconds. Five steps: a free Meta test number, an n8n workflow with three nodes, and your business info pasted in. Here is every screen.

⏱ 10–30 minutes Level: beginner No code
0

What you need (and what costs money)

  • A Meta for Developers account (free). The WhatsApp test number is free.
  • n8n: n8n Cloud has a free trial, then it's paid. The self-hosted Community edition is free if you run it yourself.
  • An Anthropic API key for Claude. You pay per use (small amounts for a few messages), with a card on the Anthropic Console.

A real business number needs Meta business verification, and Meta charges for some message types. Check Meta's current WhatsApp pricing before you go live.

1

Get a free test number (Meta for Developers)

  • Go to developers.facebook.com/apps → Create app (business use case).
  • In your app, add the product WhatsApp → Set up.
  • Open WhatsApp → API Setup: you get a test number, its Phone number ID and a temporary access token. Keep this tab open.
  • Add your own phone number as a recipient, so the test number is allowed to message you.
2

n8n: add a WhatsApp Trigger

  • Create a new workflow in n8n. Add the node WhatsApp Trigger, event messages (“On message received”).
  • Create the credential it asks for with your Meta app details. n8n shows the exact fields and a link to its docs.
3

Add an AI Agent with Claude, and paste your business info

  • Add the node AI Agent after the trigger. As its chat model, add Anthropic Chat Model and paste your Anthropic API key.
  • As the user message, use the text of the incoming WhatsApp message.
  • In System Message, paste your prices, hours and FAQs. Template:
You are the WhatsApp assistant for [BUSINESS NAME].
Prices: [service: price], [service: price].
Opening hours: [days, hours].
Bookings: [how / when].
FAQs:
- [question] → [answer]
- [question] → [answer]
Rules: be short and friendly. Only use the info above.
If you don't know, say a person will reply soon.
4

Send the reply with a WhatsApp node

  • Add the node WhatsApp Business Cloud → Send message after the AI Agent.
  • Phone number ID: the one from step 1. Recipient: the sender of the incoming message. Text: the output of the AI Agent.
Recipient: {{ $('WhatsApp Trigger').item.json.messages[0].from }}
Text: {{ $json.output }}

Field names can differ slightly between n8n versions: pick the sender and the agent output from the data panel if the expressions above don't match.

5

Turn it on and text it

  • Switch the workflow to Active.
  • From your phone, text the test number: “How much is [your service]?” The answer should arrive in a few seconds.
  • Test 5 real questions from your customers before going live, and fix the System Message when an answer is wrong.

Frequently asked questions

Can it book appointments too?

Yes, by adding a calendar tool to the AI Agent (for example Google Calendar). Start with answers only, then add booking once the answers are right.

Will it say wrong things?

It can. Keep the System Message short and factual, tell it to only use your info, and check the conversations during the first days.

Prefer to have it done for you?

WhatsApp agents, booking systems, websites, automations: I build them for your business, with a fixed price quoted before we start.