Connect an agent to WhatsApp so it answers customer messages. WhatsApp is connected per agent in the Channels tab of the agent builder. TeamMate offers three ways to connect, depending on what you have.
Choose how to connect
| Option | Best for | What you need |
|---|---|---|
| WhatsApp Business | Production use on the official WhatsApp Business Platform. | A Meta Business account, a WhatsApp Business phone number, and a Meta developer app. |
| WhatsApp Personal | Quick setup on any number, no Meta account. | A phone running WhatsApp to scan a QR code. |
| Twilio WhatsApp | Teams already using Twilio. | A Twilio account with WhatsApp enabled — see Twilio. |
WhatsApp Business (Meta)
What you’ll need from Meta
| Field | Where to find it | Required |
|---|---|---|
| Access Token (System User Token) | Business Settings → System Users → Generate Token (with whatsapp_business_messaging) | Yes |
| WhatsApp Business Account ID (WABA ID) | WhatsApp Manager URL: ?waba_id=XXXXX | Yes |
| Phone Number | Your WhatsApp Business number, including country code | Yes |
| Phone Number ID | WhatsApp Manager → Phone Numbers → your number | Yes |
| Verify Token | Generate one in the setup dialog | Yes |
How to connect
- Prepare MetaHave a Meta Business account, a WhatsApp Business number, and a Meta developer app ready.
- Enter credentialsIn the agent’s Channels tab, open WhatsApp Business → Configure, and enter the access token, WABA ID, phone number, and Phone Number ID.
- Set the webhook in MetaCopy TeamMate’s Callback URL and the Verify Token into Meta Developer → WhatsApp → Configuration → Webhook, then click Verify and Save.
- Subscribe to webhook fieldsSubscribe to messages, message_status, and message_template_status_update.
- Send a test messageUse the Testing step to send a message to your own number and confirm delivery.
The Callback URL is https://tmmate.ai/api/webhook/whatsapp/<agentId>.
WhatsApp Personal (QR code)
This links a WhatsApp account as a “linked device” (like WhatsApp Web). No Meta Business account is required.
- Start the QR scanIn the agent’s Channels tab, open WhatsApp Personal → Configure and start the scan.
- Link the deviceOn the phone: WhatsApp → Settings → Linked Devices → Link a Device, and scan the QR code shown.
- Choose contactsSelect which contacts may interact with the agent.
- Send a test messageVerify the connection from the Test step.
The connected phone must stay online with internet access — WhatsApp relays messages through it to the linked device.
What the agent can do
- Receive and reply to WhatsApp messages.
- Handle text, images, and media (Twilio WhatsApp supports media up to 16 MB).
Troubleshooting
- Meta won’t verify the webhook. The Verify Token in Meta must exactly match the one in the TeamMate dialog; generate it before verifying.
- Test message fails on Business. Confirm the Phone Number ID and access token are correct and the token has
whatsapp_business_messaging. - Personal connection drops. Keep the linked phone online; re-scan the QR code if it disconnects.