---
title: "Send notifications to WhatsApp"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/integrations/whatsapp/outbound-notifications/
type: task
application: integration_whatsapp
last_updated: 2026-12-03
commit: 5179586f69bd
---


Send outbound notifications through WhatsApp when requesters should get record updates on their phones. You end with a notification that sends an approved WhatsApp template, and replies that come back to the record.

## Before you begin

- You need the `administrator` role in Servicely and access to the WhatsApp Business Account in Meta.
- Complete [Connect Sofi to WhatsApp](page:integrations/whatsapp/connect-sofi) up to **Test Connection**, so the **WhatsApp** messaging account holds the phone number ID and access token.
- Make sure each recipient's user record has **Mobile** set to their number in international form without the plus sign.
- Know which outbound notification should also send to WhatsApp.

## Steps

<Steps>
  <Step>
    In the WhatsApp Business Account, create a message template and wait for Meta to approve it. Note its name, its language code and the order of its header, body and button variables.
  </Step>
  <Step>
    In Servicely, go to **Messaging & notifications → Notifications & templates → Create new messaging template**. Enter a **Name** and set **Provider Type** to **WhatsApp**.

    <Image src="asset:screenshots/admin/integrations-whatsapp-outbound-notifications/nav-create-messaging-template.png">The Create new messaging template item in the Notifications & templates menu.</Image>
  </Step>
  <Step>
    Set **Subtype** to **Business Initiated Template**. Enter the Meta template name in **Template Provider Id**.

    <Image src="asset:screenshots/admin/integrations-whatsapp-outbound-notifications/new-whatsapp-template.png">A new messaging template with Provider Type WhatsApp and Subtype Business Initiated Template.</Image>
  </Step>
  <Step>
    In **Mapping Script**, set `answer` to the language and the values for each template variable, in the order the template defines them. The example below follows the shipped template. Save.
  </Step>
  <Step>
    Go to **Messaging & notifications → Notifications & templates → Outbound notifications** and open the notification.
  </Step>
  <Step>
    On the **Providers** tab, select **New** under **Provider configurations**. Set **Provider type** to **WhatsApp** and select the template. Save.
  </Step>
  <Step>
    Check that the notification is **Active** and save it.
  </Step>
</Steps>

```javascript
answer = {
    language: language,
    header: [title],
    body: [recordNumber, description, sender, update],
    button: [{url: relativeLink}]
}
```

The shipped template "Work - with Summary & Client Journal" has a WhatsApp variant. Its **Mapping Script** describes the matching Meta template: a header, a body with the record number, description, sender and update, and a website button. Replace its **Template Provider Id** with your approved template's name before you use it.

<Callout type="info">
  Meta allows a free-form reply only within 24 hours of the user's last message. A notification usually reaches a requester outside that window, so it must use a **Business Initiated Template** that Meta has approved. Use the **Text** subtype and **Text Template** only for messages sent inside the window.
</Callout>

## Result

When the notification fires, Servicely sends the template to each recipient's **Mobile** number from the WhatsApp messaging account. Each sent message is stored as a WhatsApp message linked to the record. When a recipient replies to the notification in WhatsApp, Servicely matches the reply to that record and processes it as an inbound message.

A message that does not reply to a notification goes to the Sofi assistant instead. The application property `whatsapp_outbound_notification.autoreply.unlinked_message` holds the ID of the messaging template used to answer messages that are not linked to a record.

If a send fails for a passing reason, such as HTTP 429 or a 5xx response, Servicely retries it. It does not retry a bad number, a refused template or revoked credentials. [Send notifications to Microsoft Teams](page:integrations/teams/connect-notifications) lists the retry properties, which WhatsApp shares. A deactivated messaging template is refused at send, so keep the template active.

<Callout type="info">
  **Changed in 2027.1.** Failed WhatsApp sends are now retried, and a deactivated messaging template is refused at send.
</Callout>

## Related

- [Connect Sofi to WhatsApp](page:integrations/whatsapp/connect-sofi)
- [Outbound notifications](page:messaging/outbound-notifications)
- [Create an outbound notification](page:messaging/create-an-outbound-notification)
- [Notification recipients and content](page:messaging/notification-recipients-and-content)
