---
title: "Connect Sofi to WhatsApp"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/integrations/whatsapp/connect-sofi/
type: task
application: integration_whatsapp
last_updated: 2026-12-03
commit: 6777698daac5
---


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 **Messaging & notifications → Accounts & channels → Messaging accounts** and open **WhatsApp**. Fill in the fields in the table below.

    <Image src="asset:screenshots/admin/integrations-whatsapp-connect-sofi/nav-messaging-accounts.png">The Messaging accounts item in the Accounts & channels menu.</Image>

    <Image src="asset:screenshots/admin/integrations-whatsapp-connect-sofi/whatsapp-messaging-account.png">The WhatsApp messaging account form.</Image>
  </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 **AI assistants & agents → Assistants & Agents → AI Assistants** and open the assistant. On the **Selection context** tab, add **WhatsApp** to **Channels**, or set it to **All**, and save.

    <Image src="asset:screenshots/admin/integrations-whatsapp-connect-sofi/nav-ai-assistants.png">The AI Assistants item in the AI assistants & agents menu.</Image>
  </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.

<Callout type="info">
  **Changed in 2027.1.** The older WhatsApp endpoint `/_messaging/whatsapp` and the Conversation application are removed. Re-register any Meta webhook that still uses the older URL before you upgrade. Nothing is migrated. Servicely now supports Meta's business-scoped user IDs and stores identities per messaging account. Failed replies are retried.
</Callout>

## 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**. Meta can identify a sender by a business-scoped user ID instead of a phone number. Servicely stores these identities per messaging account. An identity by phone number applies to every account. **Mobile** stays the fallback when no identity matches. Administrators see the identities under **Messaging & notifications → Accounts & channels → Messaging user identities**.

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.

If a send fails for a passing reason, such as HTTP 429 or a 5xx response, Servicely retries it. [Send notifications to Microsoft Teams](page:integrations/teams/connect-notifications) describes the retries and their properties, which WhatsApp shares.

## 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/assistants/configure-an-ai-assistant)
