Actions12
Send File
AI-generatedSummary
Send a file attachment to a Facebook Messenger user identified by their Page-Scoped ID (PSID).
Inputs
- Recipient ID (required) — The PSID (Page-Scoped ID) of the message recipient.
- Attachment URL (required) — URL of the file to send as an attachment.
- Is Reusable — Whether the file attachment should be saved for reuse, returning an attachment_id if true.
- Messaging Type — Type of message to send: RESPONSE (reply within 24h), UPDATE (proactive message), or MESSAGE_TAG (tagged message outside 24h window).
- Message Tag — The message tag used when Messaging Type is MESSAGE_TAG; options include Confirmed Event Update, Post-Purchase Update, Account Update, and Human Agent.
Output shape
a list of response objects from the Facebook Graph API for each message sent
Each item corresponds to one input item. The response includes success data or error details if the request failed.
Examples
Example 1: Send a PDF file to a user with a reusable attachment for later use.
Set Recipient ID to the user's PSID, Attachment URL to the file's public URL, enable Is Reusable to true, and choose Messaging Type as needed.