
Meta MessengerExecution
CertifiedSend execution summary via Messenger
Meta MessengerExecution
Send execution summary via Messenger
Sends a Facebook Messenger notification with the execution link, ID, namespace, flow name, start time, duration, and status. Defaults to the current execution; set executionId to {{ trigger.executionId }} in Flow triggers to reference the original run.
type: io.kestra.plugin.meta.messenger.MessengerExecutionExamples
Send a Messenger notification on a failed flow execution.
id: failure_alert
namespace: company.team
tasks:
- id: send_messenger_alert
type: io.kestra.plugin.meta.messenger.MessengerExecution
pageId: "9876543214587"
accessToken: "{{ secret('MESSENGER_ACCESS_TOKEN') }}"
recipientIds:
- "24745216345137108"
executionId: "{{trigger.executionId}}"
customMessage: "Production workflow failed!"
triggers:
- id: failed_prod_workflows
type: io.kestra.plugin.core.trigger.Flow
conditions:
- type: io.kestra.plugin.core.condition.ExecutionStatus
in:
- FAILED
- WARNING
- type: io.kestra.plugin.core.condition.ExecutionNamespace
namespace: prod
prefix: true
Properties
accessToken *Requiredstring
Page Access Token
Page access token with pages_messaging permission for the sender Page.
pageId *RequiredNon-dynamicstring
Facebook Page ID
Page that sends the messages; must match the access token permissions.
recipientIds *Requiredarray
Recipient PSIDs
Page-scoped recipient IDs; at least one is required or the task fails.
customFields object
Custom fields added to the template
Key/value pairs injected into the Pebble template as customFields.
customMessage string
Extra message body
Additional text appended after the generated execution summary.
executionId string
{{ execution.id }}Execution ID
Execution to describe in the notification. Defaults to the current run; set to {{ trigger.executionId }} inside Flow triggers to report on the triggering execution.
messagingType string
UPDATERESPONSEUPDATEMESSAGE_TAGMessaging type
Messaging type passed to the Graph API (RESPONSE, UPDATE, MESSAGE_TAG). Defaults to UPDATE.
options
Options
The options to set to customize the HTTP client
io.kestra.plugin.meta.AbstractMetaConnection-RequestOptions
The time allowed to establish a connection to the server before failing.
PT0SThe time an idle connection can remain in the client's connection pool before being closed.
UTF-8The default charset for the request.
java.nio.charset.Charset
HTTP headers
HTTP headers to include in the request
10485760The maximum content length of the response.
PT5MThe time allowed for a read connection to remain idle before closing it.
PT10SThe maximum time allowed for reading data from the server before failing.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
templateRenderMap object
Template variables
Values injected into the Pebble template before sending.
textBody string
Message text body
Direct message text; bypasses the template when provided.
url string
Override URL for testing
Optional Graph API endpoint override; defaults to https://graph.facebook.com/v23.0/{pageId}/messages.