Actions35
- Post Actions
- Comment Actions
- Message Actions
- Conversation Actions
- Insights Actions
- Media Actions
- Event Actions
Message → Send Text Message
AI-generatedOverview
This node allows sending a text message via Facebook Messenger from a selected Facebook Page to a specified recipient. It is useful for automating communication with users who have interacted with your Facebook Page, such as sending notifications, customer support messages, or marketing content.
Use Case Examples
- Send a welcome message to a user who just started a conversation with your Facebook Page.
- Automate sending order updates or appointment reminders to customers via Messenger.
Properties
| Name | Meaning |
|---|---|
| Page | The Facebook Page from which the message will be sent. This is selected from the pages accessible by the connected Facebook account. |
| Recipient ID | The ID of the recipient user to whom the text message will be sent. This is selected from the list of users who have interacted with the page. |
| Message Text | The text content of the message to be sent to the recipient. |
Output
JSON
success- Indicates if the message was sent successfullymessage- Status message describing the result of the send operationmessageId- The unique ID of the sent message returned by FacebookrecipientId- The ID of the recipient to whom the message was sentcontenttext- The text content of the sent message
Dependencies
- Requires a Facebook OAuth2 API credential with permissions including pages_messaging and pages_show_list.
Troubleshooting
- Common issues include invalid or expired access tokens, missing required permissions on the Facebook app, and attempting to send messages to recipients who have not previously messaged the page.
- Error messages about invalid access tokens suggest reconnecting the Facebook account in the credential settings.
- Errors indicating missing permissions or invalid recipient IDs usually mean the Facebook app lacks pages_messaging permission or the recipient has not initiated contact with the page.
- If message sending fails with an error mentioning the recipient does not exist, the node attempts an alternative endpoint; if that also fails, it throws a detailed error suggesting possible causes and solutions.
Links
- Facebook Messenger Send API - Official documentation for sending messages via the Facebook Messenger Platform.