An action applied to the conversation when a teammate uses the macro. data can only hold the keys listed for the action's type:
type | data keys |
|---|---|
assign-conversation | assignee_id |
assign-conversation-to-owner | none |
change-conversation-priority | priority |
add-tag-to-conversation | tag_id |
set-conversation-data-attribute | attribute_identifier and value |
close-conversation | none |
open-conversation | none |
snooze-conversation | snoozed_until, plus the keys that value takes |
send-workflow | workflow_instance_id |
workflow-connector-action | workflow_connector_action_id |
add-conversation-topic | topic_id |
set-ticket-custom-state | ticket_custom_state_id |
Send IDs as strings. Every ID must belong to your workspace.
The action to apply.
Enum:"assign-conversation""assign-conversation-to-owner""change-conversation-priority""add-tag-to-conversation""set-conversation-data-attribute""close-conversation""open-conversation""snooze-conversation""send-workflow""workflow-connector-action"
Example:"add-tag-to-conversation"
{ "type": "add-tag-to-conversation", "data": { "tag_id": "7890" } }