Actions206
- Account Actions
- Agent Actions
- Agent Bot Actions
- Applied SLA (Enterprise) Actions
- Audit Log Actions
- Automation Rule Actions
- Campaign Actions
- Canned Response Actions
- Company (Enterprise) Actions
- Contact Actions
- Contact Note Actions
- Conversation Actions
- Conversation Participant Actions
- CSAT Survey Actions
- Custom Attribute Actions
- Custom Filter Actions
- Help Center Actions
- Inbox Actions
- Integration Actions
- Label Actions
- Live Report Actions
- Macro Actions
- Message Actions
- Notification Actions
- Profile Actions
- Report Actions
- Search Actions
- SLA Policy (Enterprise) Actions
- Summary Report Actions
- Team Actions
- Webhook Actions
- [Platform] Account Actions
- [Platform] Account Agent Bot Actions
- [Platform] Account User Actions
- [Platform] User Actions
- [Public] Contact Actions
- [Public] Conversation Actions
- [Public] Message Actions
Macro → Create
AI-generatedSummary
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.