---
title: "Connect Sofi to WhatsApp"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/integrations/whatsapp/connect-sofi/
type: task
application: integration_whatsapp
last_updated: 2026-11-24
commit: 88e011e506a8
---


Connect Sofi to WhatsApp so users can message your business number and get answers from a Servicely AI assistant. You end with a working conversation channel on the Meta WhatsApp Cloud API.

## Before you begin

- You need the `administrator` role in Servicely and administrator access to the Meta app.
- Install the **WhatsApp Integration** application. It ships an inactive messaging account named **WhatsApp**.
- Have a Meta developer app with the WhatsApp product and a WhatsApp Business Account that holds the business phone number.
- Collect from the Meta app dashboard: the **Phone number ID**, the **App secret**, the **App ID** and a permanent access token. Generate the token for a system user with the `whatsapp_business_messaging` and `whatsapp_business_management` permissions and no expiry. The token on the API Setup page expires within about a day.
- Have an AI assistant that should answer on WhatsApp.

## Steps

<Steps>
  <Step>
    In Servicely, go to **Administration → Messaging → Messaging accounts** and open **WhatsApp**. Fill in the fields in the table below.
  </Step>
  <Step>
    Set **Active** and save. Select **Test Connection** to check the access token.
  </Step>
  <Step>
    Select **Copy endpoint URL**. The URL ends with `/_messaging/v3/whatsapp/` and the account's record ID.
  </Step>
  <Step>
    In the Meta app dashboard, open the webhook configuration. For an app created from the WhatsApp use case, go to **Use cases → Customize → Configuration**. For an older app, go to **WhatsApp → Configuration**.
  </Step>
  <Step>
    On the **Webhook** row, select **Edit**. Paste the URL into **Callback URL**, enter your **VerifyToken** value as the verify token, and select **Verify and save**.
  </Step>
  <Step>
    Manage the webhook fields and subscribe to `messages`. This one field carries messages, button replies and delivery statuses.
  </Step>
  <Step>
    Check that your own app, not only Meta's developer tooling app, is subscribed to the WhatsApp Business Account. Put the app in Live mode.
  </Step>
  <Step>
    In Servicely, go to **Intelligent automation → Agentic AI → AI Assistants**. Open the assistant, add **WhatsApp** to **Channels**, or set it to **All**, and save.
  </Step>
  <Step>
    Set **Mobile** on each user who will use WhatsApp to their number in international form without the plus sign. For example, +61 412 345 678 becomes `61412345678`.
  </Step>
  <Step>
    From a phone whose number matches a user, message the business number. Check that the assistant replies.
  </Step>
</Steps>

| Field | Value |
| --- | --- |
| **Name** | A name that identifies the business number |
| **Client Id** | The **Phone number ID** from Meta, not the phone number |
| **OAuthToken** | The permanent access token. It is stored encrypted. |
| **App secret** | The Meta **App secret**. Servicely checks every incoming request against it. |
| **VerifyToken** | Any value you choose. You enter the same value in Meta. It is stored hashed and cannot be read back. |
| **App Id** | The Meta **App ID**, for reference |

Create one messaging account for each business number. **Email Fallback Enabled** and **Persist Matched Identity** have no effect on WhatsApp.


## Result

Users chat with the assistant from WhatsApp. Each phone number has one conversation, and `/newchat`, `/clear` or `/endchat` starts a new one. A chat does not create a ticket by itself. The assistant creates or updates records only when its tools allow it.

After a first successful chat, Servicely records the sender's identity and no longer depends on **Mobile**. A sender who matches no user gets a short notice, at most once a day. The application property `agentic.messaging.unregistered_user.message` holds its text. Receiving the notice shows the webhook works and only the user match is missing.

WhatsApp shows plain text only. Long answers arrive as several messages, and choices of more than three short options arrive as a numbered list.

## Related

- [Send notifications to WhatsApp](page:integrations/whatsapp/outbound-notifications)
- [Connect Sofi to Microsoft Teams](page:integrations/teams/connect-sofi)
- [Configure an AI assistant](page:sofi/configure-an-ai-assistant)
