MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Automation Rule → Update

AI-generated

Summary

Updates an existing automation rule in the selected account with the supplied rule fields. You can change its name, description, trigger event, active state, condition logic and conditions, and actions.

Inputs

  • Account (required) — Select an account from the list or enter its numeric ID.
  • Automation Rule (required) — Select the rule from the list or enter its numeric ID.
  • Update Fields — Configure actions such as assigning an agent or team, changing conversation status or priority, sending messages, or managing labels. Action-specific fields appear as needed; you can add multiple actions.
  • Active — Whether the rule is active; defaults to true.
  • Condition Logic — Combine multiple conditions with AND (all must match) or OR (any can match); defaults to AND.
  • Conditions — Add conditions on attributes such as status, priority, message type, content, labels, or assignee. Choose an operator and provide the applicable value or values.
  • Description — Description of the automation rule.
  • Event Name — Event that triggers the rule, such as conversation created, conversation updated, or message created. Defaults to Message Created.
  • Name — Name of the automation rule.

Output shape

A single automation rule response from the API.

The source pack shows that the operation delegates to an update handler, but does not expose its request or response body details.

Links

Discussion