Task Trigger
Task Trigger is a starting component: it starts the flow when the Task Center hands it a task. The task arrives in two shapes at once: as Markdown text an agent reads as its instruction, and as structured data for conditions and routes.
It needs no credential and no web address, and there is nothing to register: tasks arrive from the platform itself.
When to use it
- You want an agent that works the tasks assigned to it on a board: it reads them, does them, comments the result and moves them to another status.
- You want to route work by the task’s data, with no agent: by priority, by type or by label.
- You want the Task Center’s notices in Slack, Telegram or WhatsApp, with a notification flow.
How it receives tasks
- Add Task Trigger to the flow and connect its Brief output to the agent’s input.
- Deploy a version of the flow. The Task Center always runs the deployed version; without one, the flow is not listed as an agent. See Deploy a version.
- In the Task Center, assign a task to the flow, which appears in the list of Agents.
The flow runs when a rule of the project says so. With the rules of a new project, it starts when a task assigned to it is in the To Do status (Por hacer in a project created in Spanish). See Automation.
Task Trigger does not fire from the editor’s Playground: it runs when the Task Center hands a task to the deployed version. To try the flow while you build it, use the Test Task field.
Configuration
| Field | What it does |
|---|---|
| Test Task | Only for testing in the editor: a task as JSON, for example {"task": {"key": "SOP-1", "title": "Review the invoice", "description": "…"}}. Leave it empty: the Task Center fills it when it runs the flow. |
Output
It has two outputs with the same task.
Brief
A message in Markdown, meant to be connected as it is to an agent’s input. It carries:
- The title, with the task’s key:
# SOP-12 Review the March invoice. - One line with its data: project, type, status, priority, due date, who it is assigned to, who created it and labels.
- The task’s full description.
- An index of what is not included, so the agent knows there is more and asks for it with its tools:
- the attachments, with name and size, but not their content;
- how many comments it has, with the last three in full;
- the subtasks and the links to other tasks, with key, title and status.
- Why it is running: what happened, who did it, from which status to which, and which rule fired it.
The brief’s fixed wording is in the language the project was created in, English or Spanish; the title, the description and the comments go as they were written.
Task
The same task as data, for flows without an agent or to decide before calling one:
key,titleanddescription.project, with its key and its name.type,priority,labels,start_date,due_dateandestimate_minutes.status, with its name (name) and its category (category).assignee, with the person’s name (user_name) and the agent’s (flow_name), andreporter, who created it.attachments, the list of attachments with name, size and type.comment_countandlast_comments, the last three comments.subtasksandlinks.event, what fired the run: what happened (kind), who did it (actor), the previous and the new status (from,to) and the rule (rule).
When the flow is used as a notification flow, Brief carries the notice’s title and text, and Task adds the notice’s data under notification.
The task of the run
The other task components of the same flow, Tasks, Task Comments and Task Attachments, default to the task that started the run. Their Task field comes with {key}: wire this trigger’s Task output to their Batch Input and they take its key; leave it unwired, or empty, and they act on the task that started the run: the agent can comment, move the task or read its attachments without being told the key. If you type a key, the key wins.
What the flow changes is recorded in the task’s history under the flow’s name, as an agent.
Example
An agent that solves the tasks assigned to it and leaves the result on the task.
- Add Task Trigger and an Agent with its model. Connect Brief to the agent’s input.
- Add Tasks, Task Comments and Task Attachments, turn on tool mode in each and connect them to the agent’s Tools. If you need several operations of the same component, use one node per operation: for example, one Tasks with
Get Taskand another withMove Task. - In the agent’s instructions, tell it how to finish: “When you are done, write the result in a comment on the task and move it to In Review. If you cannot do it, explain why in a comment and move it to Blocked.”
- Deploy a version of the flow.
- In the Task Center, create a task with a complete description, assign it to the agent and leave it in To Do.
The agent receives the brief, reads the attachments it needs with Read Attachment, does the work, comments the result with Add Comment and moves the task with Move Task. The task’s Runs tab shows the run and its status.
Good practices
- Connect Brief straight to the agent; do not rebuild the task’s text further down.
- Do not have the agent move to To Do a task that is still assigned to it: the project’s rule would run it again.
- Do not pair it with a Webhook Input for the same purpose: the Task Center does not call the webhook’s address.
- If the same flow has a coding agent, it finds the task’s attachments in the
.task/<KEY>/folder of its workspace. See Claude Agent.
Related components
- Tasks: creates, reads, changes, moves, assigns and searches tasks.
- Task Comments: writes and reads comments.
- Task Attachments: lists, reads, adds and copies attachments.
- Task Projects: looks up projects, statuses, people and agents.