Send Message
WhatsApp
WhatsApp
Send Message
Send a WhatsApp text message to a recipient using the WhatsApp Business Cloud API.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
business | dropdown | Required | WhatsApp Business Account (WABA) that owns the sending phone number. |
phone_number_id | dropdown | Required | The WhatsApp Business phone number that sends the message. |
to | text | Required | Recipient phone number in international format including country code, digits only (e.g. 14155552671). |
message | text | Required | Text body of the WhatsApp message to send. |
preview_url | yes/no | Optional | When set, render a link preview for URLs contained in the message body. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code from the WhatsApp Cloud API response. |
body | object | Structured WhatsApp Cloud API response envelope. |
messaging_product | text | Always 'whatsapp'. |
contacts | array of object | Resolved contacts for the message. |
messages | array of object | Messages created by the request. |