Update an automation
curl --request PATCH \ --url https://example.com/api/v1/projects/example/automations/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ "example" ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "isActive": true, "name": "example", "trigger": "TASK_CREATED", "triggerConfig": { "days": 1, "fieldDefinitionId": "example", "labelId": "example", "statusId": "example" }, "triggers": [ { "config": null, "type": "TASK_CREATED" } ] }'Requires the projects.manage and tasks.manage permissions. Omitted definition parts keep their stored value; the merged definition is validated as a whole. Sending triggers replaces the whole list; sending the single form (trigger, triggerConfig or both) replaces the whole list with that one trigger, taking the missing half from the stored first trigger (the config is kept only while the type is unchanged), unless it repeats the stored first trigger, which leaves the list as it is; sending both forms answers 400 unless the single form repeats the first entry of triggers, and omitting every trigger field keeps the stored triggers. Branch order controls first-match precedence at every sibling level. Nested branches run only after their parent matches; parent actions precede child actions. Limits: 5 levels, 50 branches total, 10 siblings per level. Branch conditionMatch accepts all (AND, default) or any (OR). Clear both top-level arrays when switching to branches. TASK_COMPLETION_CHANGED fires when a task is completed or reopened; TASK_COMPLETED fires only on completion. The completion condition reads complete or incomplete, with eq, neq, in, or operand-free is_set and is_empty. The order_hours_left condition takes op lt and value, a number of hours above 0, and holds when the project’s order has fewer hours left than that; the order is the project’s own (its default time order, else its one order with hours), never one read from the task, and a project with no order with hours does not match, which the run’s note says. clear_custom_field requires fieldDefinitionId and removes that task’s stored value; unassign takes no operands and leaves the task unassigned; assign_project_manager takes an optional roleId, a workspace role, and assigns the project’s first manager holding it (its members at Manager level or, when it has none, its company’s Direct Access managers, oldest first), or its first manager without a role; assign_team_lead assigns the lead of the project’s oldest team, or of its company’s oldest team. When nobody qualifies it leaves the task as it is and says so in the run’s note. assign_round_robin requires memberIds (2 to 20 team members) and assigns whichever has the fewest open tasks in the project, the first listed on a tie; create_subtasks requires titles (1 to 20) and creates those subtasks under the task, in order. copy_from_parent takes fields (assignee, dueDate, priority) and copies them from the task’s parent onto the task, and a task with no parent is left as it is with a note in the run; a rule with this action also runs on subtasks, which other rules never do. copy_to_open_subtasks takes the same fields and copies them from the task onto each open subtask. assign_person_field assigns the member a person (MEMBER) custom field holds; add_follower and remove_follower take memberId. create_task creates a top-level task with a title, in projectId (another open project the owner reaches; this project when omitted), optional taskStatusId of that project’s workflow and assigneeId. move_to_project moves the task with its subtasks to projectId (another open project the owner reaches), in taskStatusId of its workflow or, when omitted, each status matched by name and category. An automation starts from a list of triggers: triggers is [{ type, config }], 1 to 10 entries without duplicates, and any one of them fires the automation. The older single form, trigger with an optional triggerConfig, is still accepted and equals a list of one; the two forms are never sent together. Responses always return triggers and, for clients that predate it, trigger and triggerConfig holding the first trigger. Each trigger’s config (triggerConfig in the single form) follows its type. TASK_STATUS_CHANGED optionally filters the destination with statusId, a status of the project’s workflow. TASK_CUSTOM_FIELD_CHANGED requires a stable fieldDefinitionId from the project or workspace; custom-field renames do not change the reference. Native name, description, priority, estimate, due-date and start-date changes have dedicated triggers. TASK_DUE_SOON and TASK_START_SOON require days (0–365); TASK_OVERDUE and TASK_START_PASSED need no configuration. TASK_LABEL_ADDED and TASK_LABEL_REMOVED require labelId, a task label of the workspace, and fire when that tag is added to or removed from a task through the app, API or MCP. TASK_IN_STATUS_FOR requires statusId and days (1–365, business days) and fires once each time a task has been in that status for that long: leaving the status and coming back starts a new count. TASK_CLIENT_REPLIED needs no configuration and fires when the requester replies on a ticket linked to the task; internal notes and team replies do not count. Date-only schedules use the workspace calendar day; timed dates use their instant. TASK_UNBLOCKED fires when the last unfinished blocking dependency is completed or removed. TASK_OR_SUBTASKS_COMPLETION_CHANGED also observes changes to the completion state of all direct subtasks. TASK_ATTACHMENT_ADDED, TASK_COMMENT_ADDED and TASK_COLLABORATOR_ADDED observe additions; collaborators are task followers. TASK_ADDED_TO_PROJECT fires when a task moves into this project from another one. TASK_VIDEO_TRANSCRIPT_READY fires once for each task of the project whose description or comment embeds a Cap video when that video’s transcript becomes ready; it needs no configuration and never fires for an archived task. MANUAL fires only when someone runs the automation on chosen tasks (POST /projects/{id}/automations/{automationId}/run). INCOMING_WEBHOOK fires only when another system calls the automation’s signed webhook URL (webhookUrl; see POST /projects/{id}/automations/{automationId}/webhook-secret). Task-type and approval-status triggers are not supported; an approval custom field can use TASK_CUSTOM_FIELD_CHANGED.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Project automation identifier (CUID2).
Project automation identifier (CUID2).
Request Body
Section titled “Request Body”object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Ordered first-match branches at each level. Parent conditions gate children; parent actions run before selected child actions. Maximum 5 levels, 10 siblings and 50 total branches. An unconditional fallback is allowed only last at each level. Empty means a linear automation.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
Single-trigger form; send it instead of triggers, or together with it when it repeats the first entry, as a GET response does.
Config of trigger; sent together with triggers only when it repeats the first entry.
object
TASK_DUE_SOON or TASK_START_SOON: days before the scheduled date (0 means today). TASK_IN_STATUS_FOR: business days the task has been in the status (1 or more).
TASK_CUSTOM_FIELD_CHANGED: stable ID of the project or workspace custom field.
TASK_LABEL_ADDED or TASK_LABEL_REMOVED: stable ID of the tag (required).
TASK_STATUS_CHANGED: optional destination status; omit for any status. TASK_IN_STATUS_FOR: the status the task sits in (required).
The triggers that start the automation; any one of them fires it. Replaces the single trigger and triggerConfig.
One way an automation starts: a trigger type and its optional configuration. Any trigger of the automation fires it.
object
object
TASK_DUE_SOON or TASK_START_SOON: days before the scheduled date (0 means today). TASK_IN_STATUS_FOR: business days the task has been in the status (1 or more).
TASK_CUSTOM_FIELD_CHANGED: stable ID of the project or workspace custom field.
TASK_LABEL_ADDED or TASK_LABEL_REMOVED: stable ID of the tag (required).
TASK_STATUS_CHANGED: optional destination status; omit for any status. TASK_IN_STATUS_FOR: the status the task sits in (required).
Responses
Section titled “Responses”The updated automation.
object
A Chelsea-native automation over one project’s tasks.
object
Executed in order, acting as the automation’s owner.
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Ordered first-match branches at each level. Parent conditions gate children; parent actions run before selected child actions. Maximum 5 levels, 10 siblings and 50 total branches. An unconditional fallback is allowed only last at each level. Empty means a linear automation.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
object
object
A fixed due instant (ISO 8601).
Due this many days after the automation runs.
object
Priority and due date have their own actions; this one covers the remaining writable fields.
object
Operand for every field type except MULTI_SELECT.
MULTI_SELECT operand: the option ids to store.
object
object
object
object
object
A role of the workspace (Settings, Roles), such as Project Owner: the task goes to the project’s first manager holding it. Omitted, to its first manager.
object
object
The team members to spread tasks across; each task goes to the one with the fewest open tasks in the project, the first listed on a tie.
object
The titles of the subtasks to create under the task, in order.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
Which of the assignee, the due date and the priority to copy; the chosen ones only.
object
A person (MEMBER) custom field; the task goes to the member it holds.
object
object
object
The project the task moves to.
A status of the target project’s workflow; omitted, each status maps by name and category.
object
The new task’s assignee; omitted, it starts unassigned.
The project of the new task; omitted, the automation’s own project.
A status of that project’s workflow; omitted, its open default.
object
object
object
GitHub-Flavored Markdown, converted to sanitized HTML for the comment.
object
Members to @-mention with the channel provider’s own syntax.
object
object
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
Target custom_field only: a single-select custom field of the project or the workspace. The AI can only choose one of its options, or none.
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
Replace a value the task already has. Omitted or false, a task whose field is already set is left alone; for the priority, None counts as not set.
What the AI picks the value of: the task’s priority, or a dropdown custom field (then fieldDefinitionId is required).
object
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
object
The teammate (an agent member with a teammate configuration) the task is handed to
What the AI is asked to do, in plain words; the organization edits it. The step does nothing without it.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
How branch conditions combine: all (AND, default when omitted) or any (OR).
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
Every condition must hold on the task’s current state for the actions to run.
object
Custom_field only: the CustomFieldDefinition the condition reads.
Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.
Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.
In operand: the condition holds when the subject matches any of them.
Whether the webhook has a signing secret. The secret itself is returned only when it is created or replaced.
WorkspaceMember the actions act as.
The config of the first trigger; kept for clients that predate triggers.
object
TASK_DUE_SOON or TASK_START_SOON: days before the scheduled date (0 means today). TASK_IN_STATUS_FOR: business days the task has been in the status (1 or more).
TASK_CUSTOM_FIELD_CHANGED: stable ID of the project or workspace custom field.
TASK_LABEL_ADDED or TASK_LABEL_REMOVED: stable ID of the tag (required).
TASK_STATUS_CHANGED: optional destination status; omit for any status. TASK_IN_STATUS_FOR: the status the task sits in (required).
What starts the automation, in editor order: any one of them fires it. Each entry carries its own config (TASK_CUSTOM_FIELD_CHANGED requires config.fieldDefinitionId; TASK_STATUS_CHANGED optionally selects config.statusId; TASK_LABEL_ADDED and TASK_LABEL_REMOVED require config.labelId; TASK_DUE_SOON and TASK_START_SOON require config.days; TASK_IN_STATUS_FOR requires config.statusId and config.days of 1 or more, in business days; TASK_VIDEO_TRANSCRIPT_READY and TASK_CLIENT_REPLIED need none). Task type and approval-status triggers are not supported.
One way an automation starts: a trigger type and its optional configuration. Any trigger of the automation fires it.
object
object
TASK_DUE_SOON or TASK_START_SOON: days before the scheduled date (0 means today). TASK_IN_STATUS_FOR: business days the task has been in the status (1 or more).
TASK_CUSTOM_FIELD_CHANGED: stable ID of the project or workspace custom field.
TASK_LABEL_ADDED or TASK_LABEL_REMOVED: stable ID of the tag (required).
TASK_STATUS_CHANGED: optional destination status; omit for any status. TASK_IN_STATUS_FOR: the status the task sits in (required).
Where another system sends the INCOMING_WEBHOOK trigger’s deliveries; null without that trigger.
Example
{ "data": { "actions": [ { "type": "set_priority_option" } ], "branches": [ { "actions": [ { "type": "set_priority_option" } ], "branches": [ { "actions": [ { "type": "set_priority_option" } ], "branches": [ { "actions": [ { "type": "set_priority_option" } ], "branches": [ { "actions": [ { "type": "set_priority_option" } ], "branches": [ { "actions": [ { "type": "set_priority_option" } ], "conditionMatch": "all", "conditions": [ { "op": "eq", "subject": "priority_option" } ] } ], "conditionMatch": "all", "conditions": [ { "op": "eq", "subject": "priority_option" } ] } ], "conditionMatch": "all", "conditions": [ { "op": "eq", "subject": "priority_option" } ] } ], "conditionMatch": "all", "conditions": [ { "op": "eq", "subject": "priority_option" } ] } ], "conditionMatch": "all", "conditions": [ { "op": "eq", "subject": "priority_option" } ] } ], "conditions": [ { "op": "eq", "subject": "priority_option" } ], "trigger": "TASK_CREATED", "triggers": [ { "config": null, "type": "TASK_CREATED" } ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Invalid input.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC