Send Message
Send Message sends a message through the WhatsApp Business Platform.
It calls POST https://graph.facebook.com/v25.0/{phoneNumberID}/messages, where
{phoneNumberID} is the number the message is sent from.
Type selects the message shape, and Sections supplies the options when sending an interactive list.
The activity has five tabs: Configuration, Advanced, Auth, Input, and Output.
Configuration
| Field | Required | Description |
|---|---|---|
| Name | Optional | Name of the step, should be unique within this workflow. |
| Description | Optional | Describe the purpose or function of this step. |
| phoneNumberID | Optional | The sending number. Mapped to the request's phoneNumberID path parameter. |
| Type | Optional | The message type. Mapped to the request body's type. |
| Sections | Optional | Interactive list sections. Mapped to the request body's interactiveList/sections. |
| Port | Optional | Port number to connect to on the server. |
Advanced
| Field | Required | Description |
|---|---|---|
| Send to Engage | Optional | Forward the result to Engage. |
| Select Engage Context | Optional | Engage context for reporting this event. |
| Select Engage Event | Optional | The event data mapped for sending to Engage. |
| Enable Retry | Optional | Retry after failure. |
| Retry Policy Resource | Optional | Drag and drop a Retry Policy resource from the workspace. |
Auth
| Field | Required | Description |
|---|---|---|
| Auth Type | Optional | No Auth, Basic, API Key, or OAuth 2. |
| Auth Resource | Optional | The WhatsApp resource containing credentials. |
Input
This activity is built on the REST Client, so the Input tab is the generic HTTP request rather than a WhatsApp-shaped payload. The endpoint is already set.
| Field | Required | Data Type | Description |
|---|---|---|---|
| Target | Required | Object | The HTTP request. The message payload goes in its body. |
Output
The activity returns an httpResponse object.
| Field | Data Type | Description |
|---|---|---|
| status.code | Integer | Numeric HTTP status code. |
| status.message | String | Short message associated with the HTTP status. |
| headers | Object | HTTP response headers. |
| body | Object | Parsed body of the response. |