Chatwoot icon

Chatwoot

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

Actions206

Macro → Update

AI-generated

Summary

Update an existing macro in Chatwoot by specifying its ID and any fields to modify such as name, actions (as JSON array), and visibility.

Inputs

  • Macro ID (required) — The numeric ID of the macro to update.
  • Update Fields — Optional fields to update on the macro: name (string), actions (JSON array of action objects), and visibility (personal or global).

Output shape

a single updated macro record

The output returns the updated macro object with the applied changes. If the update fails, an error is returned.

Examples

Example 1: Update the name and visibility of a macro

Set Macro ID to identify which macro to update, then provide new name and visibility in Update Fields.

Links

Discussion