Skip to main content

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

FieldRequiredDescription
NameOptionalName of the step, should be unique within this workflow.
DescriptionOptionalDescribe the purpose or function of this step.
phoneNumberIDOptionalThe sending number. Mapped to the request's phoneNumberID path parameter.
TypeOptionalThe message type. Mapped to the request body's type.
SectionsOptionalInteractive list sections. Mapped to the request body's interactiveList/sections.
PortOptionalPort number to connect to on the server.

Advanced

FieldRequiredDescription
Send to EngageOptionalForward the result to Engage.
Select Engage ContextOptionalEngage context for reporting this event.
Select Engage EventOptionalThe event data mapped for sending to Engage.
Enable RetryOptionalRetry after failure.
Retry Policy ResourceOptionalDrag and drop a Retry Policy resource from the workspace.

Auth

FieldRequiredDescription
Auth TypeOptionalNo Auth, Basic, API Key, or OAuth 2.
Auth ResourceOptionalThe 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.

FieldRequiredData TypeDescription
TargetRequiredObjectThe HTTP request. The message payload goes in its body.

Output

The activity returns an httpResponse object.

FieldData TypeDescription
status.codeIntegerNumeric HTTP status code.
status.messageStringShort message associated with the HTTP status.
headersObjectHTTP response headers.
bodyObjectParsed body of the response.