Skip to content

Send Message

Facebook

Facebook

Send Message

Send a plain text Facebook Messenger message from a Page to a user. For interactive content use Send Button Message, Send Card Message, or Send Media Message. The recipient is a Page-scoped ID (PSID), e.g. the senderId from a 'Wait for New Message' trigger. Subject to Meta's 24-hour messaging window: standard RESPONSE messages can only be sent within 24 hours of the user's last message; outside that window use a message tag (messaging_type MESSAGE_TAG).

ActionAI Tool

Inputs

Name Type Required Description
page_iddropdownRequiredThe Facebook Page to send the message from.
recipient_idtextRequiredThe recipient's Page-scoped ID (PSID). Typically the senderId output from a 'Wait for New Message' trigger.
messagetextRequiredThe text of the message to send.
reply_totextOptionalOptional message ID (mid) to reply to, threading this message under an existing one. Typically the messageId output from a 'Wait for New Message' trigger.
messaging_typeselectOptionalMessaging type: RESPONSE (default; reply within the 24h window), UPDATE, or MESSAGE_TAG (send outside the window with a valid tag). (options: Response, Update, Message Tag)
sender_actiontextOptionalOptional sender action to send instead of/with typing indicators, e.g. mark_seen, typing_on, typing_off.

Outputs

Name Type Description
statusCodenumberHTTP status code from the Graph API response.
bodyobjectGraph API response.
recipient_idtextThe recipient PSID the message was sent to.
message_idtextThe id of the sent message.