MEGA Trigger
AI-generatedSummary
Listen for specified MEGA webhook events on a selected account and optional inbox, triggering the workflow when those events occur.
Inputs
- Account (required) — Select the MEGA account to use for listening to webhook events.
- Events (required) — Select one or more MEGA events to listen for, such as new messages, conversation updates, or contact changes.
- Inbox — Optionally filter events by a specific inbox ID or select "All Inboxes" to receive events from all inboxes. Contact, inbox, and chat room events are account-wide and ignore this filter.
Output shape
a single JSON object containing the webhook event data from MEGA triggering the workflow
Filters events client-side for message direction when choosing 'Message Incoming' or 'Message Outgoing'. The node sets up a webhook on MEGA for the selected events. The webhook automatically handles creation, existence check, and deletion when enabling or disabling the workflow.
Examples
Example 1: Trigger on incoming MEGA messages from a specific inbox
Set Account to target MEGA account, Events to 'Message Incoming', and Inbox to a specific inbox ID or 'All Inboxes'. The workflow activates on every new incoming message received in that inbox.