MEGA Trigger (Legacy) icon

MEGA Trigger (Legacy)

Legacy type ID of the MEGA Trigger node, kept so existing workflows keep running. Use @clubmega/n8n-nodes-mega.megaTrigger in new workflows; both types have the same parameters.

MEGA Trigger (Legacy)

AI-generated

Summary

Starts the workflow when MEGA sends a selected webhook event for the chosen account. Optionally filter supported events to one inbox; incoming and outgoing message selections are filtered by message direction, and contact, inbox, and chat room events ignore the inbox filter.

Inputs

  • Account (required) — Select an account from the list or enter its numeric ID.
  • Events (required) — Choose one or more events, such as conversation updates, contact changes, or message creation. Message Incoming and Message Outgoing both subscribe to MEGA’s Message Created event and filter messages by direction. Provider Event Received is deprecated and ignored; selecting only that event produces an error.
  • Inbox — Choose an inbox or enter its numeric ID to filter events. The default All Inboxes receives events across inboxes. Contact, inbox, and chat room events are account-wide and ignore this filter.

Output shape

A list of n8n items containing the received webhook event body as JSON; no items are emitted when a message does not match the selected direction.

The trigger creates or reuses an account webhook when the workflow is enabled and removes its tracked webhook when disabled. MEGA’s incoming HTTP request receives an immediate acknowledgment.

Links

Discussion