Skip to content

WhatsApp

Last checked against the product on 5 November 2026.

The agent serves customers on your own WhatsApp Business number: it answers their questions and carries out their requests. You set the number up in your own Meta account, then give Tendus what it needs. Each environment has its own number, so a sandbox and Live never share one.

Where: Deploy → Channels → WhatsApp.

You need:

  • A Meta Business account, at business.facebook.com.
  • A phone number for WhatsApp Business. To try things first, Meta gives every app a free test number (Part 1, step 3).
  • A person with admin access to your Meta Business account.

Registering a number for the WhatsApp Business Platform normally stops it working in the WhatsApp app on a phone. Use a spare number, not your personal one.

Do this at developers.facebook.com. Meta changes its screens from time to time, so the names below may differ slightly.

  1. Select My Apps → Create App, choose the Business type, and link it to your Meta Business account.
  2. On the app’s dashboard, add the WhatsApp product.
  3. Open WhatsApp → API Setup. Meta shows a test number. To use your own number instead, add it there and confirm it with the code Meta sends.
  4. Copy the Phone number ID and the WhatsApp Business account ID shown beside it. Meta may call the second one Messaging account ID. Neither is the phone number itself.
  5. Create the access token, so it doesn’t expire:
    1. In Meta Business Settings, open Users → System users and add a system user with the Admin role.
    2. Select Add assets. Add your app and your WhatsApp account, both with full control.
    3. Select Generate new token. Choose your app and set the expiry to Never.
    4. Tick both permissions: whatsapp_business_messaging and whatsapp_business_management.
    5. Copy the token now. Meta shows it only once.
  6. Copy the App Secret: in your app, open App settings → Basic and select Show next to App secret.

The temporary token on the API Setup page expires after 24 hours. Don’t use it here.

  1. Open Deploy → Channels → WhatsApp in the environment the number is for. Usually that’s Live.
  2. Select Connect a number.
  3. Enter the Phone number ID, the WhatsApp Business account ID, the Access token and the App Secret from Part 1.
  4. Select Connect number. Before saving anything, Tendus checks the number and the App Secret with Meta, and subscribes your app to your WhatsApp account so Meta sends your messages to Tendus.

If the check fails, nothing is saved. The message says what to fix; see a WhatsApp number won’t connect.

Tendus stores the access token and the App Secret encrypted and never shows them again. To change one, select Edit credentials and enter only the value that changed.

Once the number is connected, the page shows two values to paste into Meta: the Callback URL and the Verify token. Tendus generates the token for you. Each has a Copy button.

  1. In your app in Meta, open WhatsApp → Configuration. Find Webhook and select Edit.
  2. Paste the Callback URL.
  3. Paste the Verify token.
  4. Select Verify and save.
  5. Under Webhook fields, select Manage and subscribe to messages.

Check it worked: back in Tendus, reload the page. Webhook verified by Meta shows a tick.

  1. From a phone, send a message to the number. With Meta’s test number, first add your own number to the allowed recipients in API Setup.
  2. In Tendus, First guest message received shows a tick. The agent replies in the chat, after one line that every WhatsApp conversation starts with (see Telling customers it’s an AI).

The page now shows seven ticks:

  1. Credentials saved
  2. Number checked with Meta
  3. App subscribed to your WhatsApp account
  4. App Secret verified
  5. Meta’s webhook points at Tendus
  6. Webhook verified by Meta
  7. First guest message received

A step that isn’t ticked says why. If App subscribed isn’t ticked, select Subscribe my app. Check with Meta runs every check again, and Disconnect number removes the number.

A token from Meta’s API Setup page expires after about a day. Use a System User token that never expires, as in Part 1.

If a step doesn’t tick, see a WhatsApp number won’t connect.

  • A new access token, App Secret or account ID: select Edit credentials and enter it. Tendus checks again and subscribes your app before saving.
  • A new verify token: select Generate a new verify token. The old one stops working. Messages already arriving keep arriving, because Meta asks for the token only when it verifies the webhook. Paste the new token into Meta the next time you verify.
  • A different number: select Disconnect number, then connect the new one. Conversations and the audit log stay.

A conversation closes after a stretch of silence from the customer, and their next message starts a new one. Change the idle timeout sets how many hours that is; the default is 48.

A new conversation starts fresh: context variables are cleared, and any tool limit set per conversation (a rate_limit such as 5/session) starts again. A shorter timeout suits quick questions; a longer one suits conversations that run over days, such as following up on an order.

The first message Tendus sends in each conversation is: “You’re chatting with an AI agent for {your name}. Messages are recorded so the team can review them.” It goes before the agent’s first reply, or before a teammate’s first reply when one is answering, and again at the start of each new conversation.

It’s in the customer’s language when Tendus can tell it from their first message: English, Portuguese, Spanish, French, German or Italian. Otherwise it’s in English. You can’t turn it off: the law in the EU, and the AI providers Tendus uses, require customers to be told they’re talking to an AI.

WhatsApp lets a business reply only within 24 hours of the customer’s last message. After that, replies are blocked and the conversation shows send_blocked_window. This is WhatsApp’s rule; Tendus cannot switch it off. The window opens again as soon as the customer writes.

  • Tendus calls Meta’s WhatsApp Cloud API with your access token. It never uses a shared Tendus token.
  • Every message Meta sends carries a signature made with your App Secret. Tendus checks it before accepting the message, so only your Meta app can send messages to your number.
  • Tendus subscribes your app by calling POST /{account-id}/subscribed_apps with your token. It is safe to repeat. The page shows the result of the last check; it doesn’t ask Meta each time you open it.
  • All numbers share one Callback URL. Tendus tells them apart by the phone number in each message.