Actions12
Send Generic Template
AI-generatedSummary
Send a generic template message with up to 10 card elements to a Facebook Messenger user identified by their PSID.
Inputs
- Recipient ID (required) — The PSID (Page-Scoped ID) of the Facebook Messenger recipient.
- Elements (JSON) (required) — A JSON array of up to 10 element objects, each containing properties such as title, subtitle, image_url, default_action, and buttons to define the cards in the generic template.
- Quick Replies (JSON) — Optional JSON array of quick reply objects to include with the message for user interaction.
- Messaging Type (required) — The type of message being sent: RESPONSE (reply within 24-hour window), UPDATE (proactive message), or MESSAGE_TAG (tagged message outside 24-hour window).
- Message Tag — The message tag to use if Messaging Type is MESSAGE_TAG, e.g., CONFIRMED_EVENT_UPDATE, POST_PURCHASE_UPDATE, ACCOUNT_UPDATE, or HUMAN_AGENT.
Output shape
a list of JSON response objects from the Facebook Messenger API for each input item processed
Each output item contains the API response JSON after sending the generic template message, or an error message if the request fails and the node is configured to continue on failure.
Examples
Example 1: Send a generic template with two product cards to a user after they request product info
Set 'Recipient ID' to the user's PSID; provide JSON with two element objects each including title, subtitle, image_url, and web_url buttons; choose 'Messaging Type' as RESPONSE.