Skip to content
Loopwix Docs

Build a WhatsApp AI support agent

Bring your Loopwix AI support agent to WhatsApp: connect through Meta, learn the 24-hour window and costs, verify customers and test before launch. Beta.

Beta
The WhatsApp channel is in beta. It connects through your own Meta app, so your number, messages and approvals stay yours.

Goal: answer customers on WhatsApp with the same knowledge, instructions and workflows as your website chat.

This guide is for businesses whose customers already message them on WhatsApp. You need the Admin role in Loopwix and admin access to your Meta business. Allow an hour for a test number, longer for a real number.

How do I build an AI support agent for WhatsApp?

Finish and test your agent on the website chat first. Then create a Meta app with the WhatsApp product and connect it in the agent's Channels section. Try it in test mode with a few numbers, then go live with a verified number. The agent answers with the same knowledge and workflows. WhatsApp is in beta.

What you need

  • An agent already tested on the website chat. See Turn your help center into an AI agent.
  • A Meta business account and a Meta app with the WhatsApp product. A test number is free and instant.
  • For a real number: Meta business verification and an approved display name.
  • A payment method in Meta, because Meta charges for the messages you send.

Steps

  1. Finish the agent first. Knowledge, instructions and workflows should already work on the website chat.
  2. Create the Meta app and a permanent token. Follow Connect WhatsApp. Use a system user token that never expires, not the 24-hour one.
  3. Connect in Loopwix. Open the agent, select Channels, then WhatsApp. Paste the Phone number ID, Access token and App secret, and select Save and continue.
  4. Set the webhook in Meta. Paste the Callback URL and Verify token that Loopwix shows. Subscribe to the messages field.
  5. Turn on test mode. Add the phone numbers of your testers. They get answers from your latest draft, and nobody else does. See Messaging channel setup.
  6. Choose what customers may send. Photos, documents and voice notes are off by default. Turn them on under Settings → Photos and files on the connection.
  7. Go live. Complete Meta's business verification, switch to your real number, set the Meta app to Live, and publish the agent.
The agent's Channels section with website chat and the messaging apps
Connect WhatsApp from the agent's Channels section · captured 2026-11-02
The WhatsApp setup sheet with the step-by-step guide and the Phone number ID, Access token and App secret fields
The WhatsApp setup sheet · captured 2026-11-22

What is the 24-hour window?

WhatsApp lets a business reply freely for 24 hours after the customer's last message. After that, Meta only allows pre-approved template messages. Loopwix does not send template messages today. So once the window closes, nobody can reply until the customer writes again. The Inbox shows when the window has closed.

Each new message from the customer opens a fresh 24-hour window. Answer quickly, and ask your team to reply to hand-overs inside the window. WhatsApp costs and rules explains the window, templates and opt-in in more detail.

What does WhatsApp cost?

Meta charges your Meta account for messages you send, by message category, and prices differ by country. Meta changes its prices and free allowances from time to time. Check Meta's pricing page before you launch, and again each quarter.

How do customers verify on WhatsApp?

A WhatsApp number is never treated as proof of who someone is. When a customer asks for something private, such as an order, the agent asks for their email. Loopwix emails a 6-digit code, and the customer types it into the chat.

The code never reaches the AI model or your transcripts. The transcript shows "[verification code]" instead. The customer can reply RESEND for a new code, or CANCEL to skip. Without verification, the agent still answers general questions.

What does a WhatsApp conversation look like?

An example of an order question, shortened. The fixed lines come from Loopwix; the rest follows your instructions.

Customer: Hi, where is my order 1042?

Agent: To continue I need to verify your email address first. What's your email? (Reply CANCEL to skip.)

Customer: [email protected]

Agent: I've sent a 6-digit code to [email protected]. Reply with it here. (Reply RESEND for a new code.)

Customer: 482913

Agent: Thanks, you're verified. Let me pick up where we left off. Order 1042 is paid and has been fulfilled.

When an action needs a yes, such as cancelling an order, WhatsApp shows Yes and No buttons. Nothing changes until the customer taps Yes.

Bookings on WhatsApp

The booking agent works on WhatsApp as it does on the website. In Calendly mode, the customer gets a link and picks a slot in their browser. In Records mode, the request is saved as Pending for your staff. Your staff's confirmation must reach the customer within the 24-hour window, or by email.

Hand-over to a person

Hand-over is switched on by Loopwix on request; see Set up escalation. Once it is on, a hand-over creates a ticket in the Inbox marked as WhatsApp. Your team replies from the Inbox, and the reply arrives in the customer's WhatsApp chat. Replies are blocked once the 24-hour window has closed.

Opt-outs

A customer who sends "STOP" or "unsubscribe" gets one confirmation and no more messages. Sending "START" subscribes them again. See WhatsApp costs and rules.

Test script

Run these from a tester's phone while test mode is on, then again after you go live.

AskExpect
A normal questionThe same answer as on the website
A question about the customer's own orderA request for their email, then a code
A wrong codeA message with the tries left, and no order details
"Cancel my order" after verifyingYes and No buttons, then the result
A photo or voice noteRead if files are on, or a polite request to type
"Talk to a person"A ticket in the Inbox marked WhatsApp (once hand-over is on)
"STOP", then "START"The unsubscribe reply, then "Welcome back! How can we help?"
A message from a number not on the test listOne short "not available yet" reply a day

Can I use my existing WhatsApp number?

Yes, if you move it to the WhatsApp Business Platform in Meta. A number used in the WhatsApp app must be registered with the platform first. Meta's WhatsApp Business Platform docs explain the options for your number.

What happens after 24 hours?

The window closes. The agent and your team cannot message the customer until they write again, because Loopwix does not send templates today. Their next message opens a new window.

Do I need Meta business verification?

Not to test. A Meta test number works at once with up to five recipient numbers. To use your own number with customers, Meta asks for business verification and reviews your display name.

Which WhatsApp providers does Loopwix support?

Loopwix connects directly to Meta's WhatsApp Cloud API, with your own Meta app and token. Other messaging APIs, such as Twilio's, are not supported.

Next steps

Was this page helpful?

Last reviewed 2026-11-21

On this page