
Meta WhatsAppIncomingWebhook
CertifiedSend WhatsApp via incoming webhook
Meta WhatsAppIncomingWebhook
Send WhatsApp via incoming webhook
Posts a JSON payload to a WhatsApp on-prem incoming webhook. Works well in flow-level errors tasks for failure notifications.
type: io.kestra.plugin.meta.whatsapp.WhatsAppIncomingWebhookExamples
Send a WhatsApp notification on a failed flow execution.
id: unreliable_flow
namespace: company.team
tasks:
- id: fail
type: io.kestra.plugin.scripts.shell.Commands
runner: PROCESS
commands:
- exit 1
errors:
- id: alert_on_failure
type: io.kestra.plugin.meta.whatsapp.WhatsAppIncomingWebhook
url: "{{ secret('WHATSAPP_WEBHOOK') }}" # https://webhook.your-domain
payload: |
{
"profileName": "MyName",
"whatsAppIds": ["IdNo1, IdNo2"],
"from": 380999999999
}
Send a WhatsApp message via incoming webhook.
id: whatsapp_incoming_webhook
namespace: company.team
tasks:
- id: send_whatsapp_message
type: io.kestra.plugin.meta.whatsapp.WhatsAppIncomingWebhook
url: "{{ secret('WHATSAPP_WEBHOOK') }}"
payload: |
{
"profileName": "MyName",
"whatsAppIds": ["IdNo1, IdNo2"],
"from": 380999999999,
"messageId": "wamIdNo1"
}
Properties
url *Requiredstring
1Incoming webhook URL
Webhook endpoint from the WhatsApp integration; supports expression rendering.
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.
payload string
WhatsApp message payload
Raw JSON payload sent to the webhook; include contacts/messages per WhatsApp on-prem format.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.