task_rule_action
One step of a rule. action_name decides which of the other keys are read —
the rest are ignored.
Which actions a rule may use depends on the subject its trigger acts on: a deal accepts create_task, move_stage, assign_owner, change_status, send_message and add_label; a contact accepts create_deal, create_task, send_message and add_label; a task accepts create_task, move_stage and send_message; a company accepts create_task, send_webhook, send_message and add_label; a product, service or pipeline accepts create_task and send_webhook.
Possible values: [create_task, move_stage, assign_owner, change_status, create_deal, send_message, send_webhook, add_label]
create_task — the key of a task type
create_task — supports the account's dynamic variables
create_task
create_task — how far out the due date lands
create_task
create_task
Possible values: [low, medium, high]
create_task and create_deal — who ends up responsible. unassigned only
applies to create_deal, which has no deal owner to inherit from.
Possible values: [deal_owner, specific_user, round_robin, unassigned]
Used when owner_strategy is specific_user
create_deal and move_stage
create_deal and move_stage
change_status
Possible values: [ongoing, won, lost, paused]
change_status, when the new status is lost
create_deal — the name of the deal that gets opened
create_deal — do nothing when the contact already has an open deal
send_message — supports the account's dynamic variables
send_webhook
add_label
{
"action_name": "create_task",
"task_type": "string",
"title_template": "string",
"description_template": "string",
"delay_days": 0,
"delay_hours": 0,
"priority": "low",
"owner_strategy": "deal_owner",
"owner_id": 0,
"deal_pipeline_id": 0,
"deal_stage_id": 0,
"status": "ongoing",
"lost_reason_id": 0,
"name_template": "string",
"skip_if_open_deal": true,
"content_template": "string",
"webhook_url": "string",
"labels": [
"string"
]
}