MEGA (Legacy) icon

MEGA (Legacy)

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

Actions408

Automation Rule → Create

AI-generated

Summary

Create an automation rule in the selected account, with a trigger event, conditions, and actions to run when those conditions match.

Inputs

  • Account (required) — Choose an account from the list or enter its numeric ID.
  • Name (required) — Name of the automation rule.
  • Event Name (required) — Event that triggers the rule: conversation created, opened, resolved, updated, or message created.
  • Conditions (required) — Add conditions by selecting an attribute, comparison operator, and matching value or values. Status, priority, and message type use predefined choices; other listed attributes accept text values. Combine multiple conditions with AND (all must match, the default) or OR (any may match).
  • Actions (required) — Add one or more actions to perform when the conditions match. Depending on the action, provide its parameters, such as status, priority, message, email, webhook URL, sleep duration, labels, agent or team ID, or attachment URL.
  • Additional Fields — Set whether the rule is active (defaults to true) and optionally provide a description.

Output shape

A single API response for the created automation rule.

The source pack shows a create operation but omits function bodies, so the exact response fields are not visible.

Links

Discussion