Actions12
Send Text
AI-generatedSummary
Send a text message to a specified Facebook Messenger user by their Page-Scoped ID (PSID), optionally including quick replies and specifying the messaging type and message tags when applicable.
Inputs
- Recipient ID (required) — The PSID (Page-Scoped ID) of the message recipient.
- Message Text (required) — The text content of the message to send (maximum 2000 characters).
- Quick Replies (JSON) — Optional JSON array of quick reply objects to include with the text message, for example [{"content_type":"text","title":"Yes","payload":"YES"}].
- Messaging Type (required) — Type of message to send indicating context, options are 'Response' (reply within 24h), 'Update' (proactive message), or 'Message Tag' (outside 24h window). Defaults to 'Response'.
- Message Tag — If Messaging Type is 'Message Tag', specifies the allowed message tag such as 'CONFIRMED_EVENT_UPDATE', 'POST_PURCHASE_UPDATE', 'ACCOUNT_UPDATE', or 'HUMAN_AGENT'.
Output shape
a list of JSON objects containing the Facebook Messenger API response for each message sent
Each output item contains the JSON response from Facebook's Graph API. If an error occurs, the node throws an error or returns the error message JSON if 'continueOnFail' is enabled.