Send Utility Message
Facebook
Facebook
Send Utility Message
Send a pre-approved Messenger Utility Message template to a user. Unlike Send Message, a utility message CAN reach a user outside the 24-hour messaging window (for order updates, appointment reminders, account alerts). Requires the pages_utility_messaging permission and an approved utility template on the Page.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
page_id | dropdown | Required | The Facebook Page to send the utility message from. |
recipient_id | text | Required | The recipient's Page-scoped ID (PSID). |
template_name | text | Required | Name of the approved utility message template to send. |
language_code | text | Required | Language/locale code of the template, e.g. en or en_US. |
components | array of object | Optional | Optional template components (header/body/button parameters) that fill the template's placeholders. |
type | text | Optional | Component type, e.g. header, body, or button. |
parameters | array of object | Optional | Parameters that fill the placeholders in this component. Each item is an object with fields: type, text. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code from the Graph API response. |
body | object | Graph API response. |
recipient_id | text | The recipient PSID the message was sent to. |
message_id | text | The id of the sent message. |