Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Automation Rule → Update Automation Rule In Account

AI-generated

Summary

Update an existing automation rule in the Coghub account by specifying its ID and modifying properties such as name, description, event trigger, active status, actions, and conditions.

Inputs

  • Id (required) — The ID of the automation rule to be updated.
  • Name — Rule name.
  • Description — The description about the automation and actions.
  • Event Name — The event when you want to execute the automation actions. Options: Conversation Created, Conversation Updated, Conversation Resolved, Message Created.
  • Active — Enable or disable the automation rule.
  • Actions — Array of actions to perform when the conditions match, e.g., add label support if message contains certain content.
  • Conditions — Array of conditions that determine when the automation triggers, e.g., message content contains specific text.

Output shape

a single updated automation rule object

The operation returns the updated automation rule data reflecting the changes applied by the input parameters.

Links

Discussion