Chatwoot icon

Chatwoot

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

Actions206

Macro → Create

AI-generated

Summary

Create a new macro in Chatwoot with a specified name, a JSON array of action objects, and optional visibility scope.

Inputs

  • Name (required) — Name of the macro to create
  • Actions (JSON) (required) — JSON array of action objects defining the macro's actions, e.g. [{"action_name":"assign_team","action_params":[1]}]
  • Visibility — Optional visibility scope of the macro, either 'Personal' or 'Global' (default 'Personal')

Output shape

a single macro object containing the created macro's details

The macro object includes properties such as its id, name, visibility, and the actions defined. The output is returned directly from the Chatwoot API upon successful creation.

Links

Discussion