Chatwoot icon

Chatwoot

Interact with Chatwoot API to manage conversations, messages, contacts, and more

Actions206

Automation Rule → Create

AI-generated

Summary

Create a new automation rule in Chatwoot by specifying its name, triggering event, conditions, and actions, with optional description and activation status.

Inputs

  • Name (required) — Name of the automation rule to be created.
  • Event Name (required) — Event that triggers the automation rule, such as conversation created, updated, opened, or message created.
  • Conditions (JSON) (required) — JSON array representing the conditions that must be met for the rule to trigger.
  • Actions (JSON) (required) — JSON array representing the actions to be executed when the rule triggers.
  • Additional Fields — Optional fields including 'Description' to describe the rule and 'Active' to specify whether the rule is active.

Output shape

a single record representing the created automation rule, including its ID and configured parameters

The output contains details of the newly created automation rule. Inputs must provide valid JSON for conditions and actions. Errors occur if required fields are missing or JSON is invalid.

Links

Discussion