Actions28
- Message Actions
- Chat Actions
- Contact Actions
- Session Actions
- Media Actions
- Storage Actions
- Webhook Actions
- Ticket Actions
Webhook → Create
AI-generatedSummary
Registers a webhook on a WAOtomatis session so the given HTTPS URL receives deliveries for the selected event types.
Inputs
- Session (required) — The WAOtomatis session (connected WhatsApp number) to attach the webhook to. Pick from a searchable list or enter a session ID (letters, digits, underscore, hyphen). The node errors if no session is selected.
- URL (required) — The HTTPS endpoint that will receive event deliveries.
- Events (required) — One or more events to subscribe to: Message Received (message.received), Message Updated/Status (message.updated), Session Status (session.status). Defaults to message.received.
Output shape
One item per input item, containing the JSON response from the WAOtomatis API for the newly created webhook.
Sends POST /v1/sessions/{sessionId}/webhooks with { url, events }. The exact response fields are not defined in the node, so expect whatever the API returns (likely including the webhook ID, which you need for the Delete operation). With Continue On Fail enabled, a failed item yields { error: message } instead of stopping the workflow.
Examples
Example 1: Subscribe an external service to incoming WhatsApp messages on one number
Session: choose from list; URL: https://example.com/hooks/waotomatis; Events: Message Received
Example 2: Monitor delivery status and connection health
Session: By ID; URL: your HTTPS receiver; Events: Message Updated (Status) + Session Status
