Add tasks from an automation
Create a task in a project with the task.create step — its title, assignee, status, due date and labels — once each time the step runs, list a project's tasks with task.list, and know what is refused.
4 min read
Use a task.create step when an automation should hand work to a person or an agent: a reply an email asks for, a form to follow up, a check that failed. It creates the task in a project the automation is installed in, and the task names the automation as its creator. A live run creates it; a test run answers with a mock.
Create a task
nodes:
- id: ticket
type: task.create
input:
projectId: '{{ input.projectId }}'
title: 'Reply to {{ input.from }}'
description: '{{ input.body }}'
assignee: ada@example.com
status: todo
dueDate: '2026-10-17'
labels: [support]| Input | What it holds |
|---|---|
projectId | The project the task goes to. The automation must be installed in it, and a run started in a project creates tasks only there. |
title | The task's title. One over 200 characters is cut, ending in "…". |
description | The task's description, in Markdown. |
assignee | A member's email or user id, or an agent of the project by its name or handle. |
status | backlog, the default, todo or in_progress. An agent's task created at in_progress starts its run. |
dueDate | A date such as 2026-10-17, or an ISO date and time. A date alone falls on that day in nearly every time zone. |
labels | Label names. The project's catalog gains those it doesn't have yet when the person who started the run may edit the project, or when a trigger started it. |
The step returns { taskId, number, title, url }; url opens the task in Tale.
One task each time the step runs
The step creates one task each time it runs: once per run, and once per item or pass in a loop. When a run is interrupted after the task was created and resumes, the step answers the task it already made instead of creating a second one.
The task is created with the rights of the person who started the run, as on the board; a run a trigger started creates it as the automation. Other automations can start on its creation, which they see as made by an automation.
List a project's tasks
A task.list step reads a project's tasks, newest first, to report on them — a daily digest, a count of what waits for review. It reads a project the way a create there does, and it changes nothing, so it never waits for approval.
nodes:
- id: open
type: task.list
input:
projectId: '{{ input.projectId }}'
status: [todo, in_progress]
createdSince: '2026-10-17'
limit: 20| Input | What it holds |
|---|---|
projectId | The project to read. |
status | Only tasks in these statuses — any of backlog, todo, in_progress, in_review, done and cancelled; every status when left out. |
createdSince | Only tasks created at or after this moment: epoch milliseconds, a date such as 2026-10-17 (its start, in UTC), or an ISO date and time. |
limit | At most this many tasks, up to 200; 50 when left out. |
The step returns { tasks, hasMore }. Each task carries its taskId, number, title, status, priority, assignee (its type, id and name), dueDate, createdAt and the url that opens it. Archived tasks are left out, and hasMore says that more tasks match than limit returned. The Daily task digest starter is built on it.
Read a task and a specific run
A task.get step normally returns the task’s title, status, project and description. Add agentRunId to read one exact run on that task. agentRun then contains id, taskId, agentId, status, execId, startedAt, launchedAt and settledAt; timestamps are epoch milliseconds and the last two can be null. A missing run or one belonging to another task or organization returns agentRun: null. No latest run is substituted. Leaving agentRunId out preserves the original response.
Use task.list_comments with includeIds: true when a receipt needs each comment’s native messageId alongside authorType, authorId, body and timestamp. The default response stays unchanged, and truncated still reports incomplete history. IDs written inside a comment are not its native identity.
These reads do not reserve capacity or authorize a start, command or publication. A missing field or refusal on an older platform leaves identity unknown. For a task agent’s own fresh execution, use workspace discovery.
nodes:
- id: task
type: task.get
input:
taskId: '{{ input.taskId }}'
agentRunId: '{{ input.agentRunId }}'
- id: comments
type: task.list_comments
input:
taskId: '{{ input.taskId }}'
includeIds: true
limit: 10When a step fails
| Failure | What happened |
|---|---|
| The task's project isn't the automation's | The automation isn't installed in the project, or the run was started in another project. |
| The task's assignee isn't known | No member of the organization and no agent of the project answers to the name, or they may not work in the project. |
Nothing the step began stays written when it fails.