Task flow
Task flows turn frequently used task steps into reusable flow templates. This topic describes how to create, view, edit, use, share, and manage task flows.
Overview
A task flow turns periodic, multi-step work into a visually orchestrated flow template. It provides built-in node types such as Prompt nodes, condition checks, manual confirmation, and scope guardrails to deliver standardized, reusable automation.
With task flows, you can:
-
Reuse: View and use saved flows without re-orchestrating them.
-
Collaborate as a team: Share flows with your team or specific members. Recipients use the flows read-only, while the creator can keep editing them and adjust the sharing scope.
-
Accumulate and reuse: Turn high-frequency task steps into templates and combine them with scheduled tasks for unattended execution.
-
Flexible invocation and circulation: Add a flow to the task input box of a session with one click and run it, or export it as a YAML file for backup and re-import.
Prerequisites
-
A Data Agent instance is created and started. For more information, see Data Agent introduction.
View task flows
-
In the left-side navigation pane of the Data Agent interface, click Task flow.
-
Filter flows by tab:
-
All: View all task flows that are visible to you.
-
Created by me: View flows that you created. You can edit and manage them.
-
Shared with me: View flows that others shared with you. You can use them read-only.
-
-
Enter a keyword in the search box to search task flows by name.
-
Click the refresh button in the upper-right corner to update the flow list.
Each flow card provides the Edit, Export, Share, Delete, and Use operations. The card description explains how to invoke the flow.
Create a task flow
-
In the upper-right corner of the Task flow page, click New task flow.
-
In the New task flow dialog box, select a creation method:
Creation method
Description
Write a Prompt
Describe the task that you want the flow to complete in natural language. The agent generates the flow orchestration.
Select a template
Select and reuse an existing flow template.
Import YAML
Import an existing task flow YAML file to create a flow.
-
Configure the following parameters:
Parameter
Required
Description
Flow name
No
If a task description is provided, the name is generated from it. If both are left empty, a random name is generated. The name cannot contain line breaks, slashes, or the characters
: * ? " < > |.Task description
No
Describe the task that you want the flow to complete. If left empty, a random description is generated.
Referenced tasks
No
Select historical tasks as references. You can select up to 5 tasks.
-
Click Generate to create the flow.
Flows with the same name are saved as separate identities and do not overwrite existing flows that have the same name.
Edit a task flow
On the target flow card, click Edit to open the edit panel. The edit panel consists of a natural-language adjustment area, a node library, and a task flow canvas:
-
Natural-language adjustment: In the top input box, describe in natural language how you want to adjust the current task flow, then click Modify task flow. The agent adjusts the flow orchestration accordingly.
-
Node library: The left side provides basic nodes and expert-suite nodes. Click + on the right of a node to add it to the canvas.
-
Task flow canvas: Drag a blank area of the canvas to pan. Select a node and set whether it runs in parallel with the previous step in the node properties. Zoom is supported.
Basic nodes include the following types:
|
Node |
Description |
|
Prompt |
Understands the task goal and formulates clear execution steps. |
|
Condition check (linear) |
Checks conditions within linear steps without creating branches. |
|
Manual confirmation prompt |
Requests user confirmation within a Prompt. This is not a resumable execution checkpoint. |
|
Exploratory questioning |
Raises evidence-backed clarifications and expands ambiguities in the goal into candidate interpretations. |
|
Repeated verification |
Uses executable checks to repeatedly verify the output of the previous step and report evidence. |
|
Scope guardrail |
Before writing, checks planned actions against the declared scope (tables / operation types / row counts, etc.). |
|
Instruction execution |
Executes the step list item by item without re-planning or expanding the scope. |
|
Data reconciliation |
Reconciles multiple sources against the same caliber and preserves evidence for differences. Numbers must not be claimed consistent until reconciliation completes. |
|
Failure pre-mortem |
Before high-risk steps, enumerates failure modes from an assumed-failure perspective and turns them into check items. |
|
Lesson accumulation |
Turns pitfalls encountered in this run into structured lessons (fingerprints / root causes / prevention, etc.). |
The expert suite provides extension nodes such as Browser (@ext:browse-use) so that the corresponding expert capabilities can be invoked within a flow.
A new flow is generated with a default linear orchestration of Start → Prompt → Output. You can add nodes and adjust node parallelism as needed.
Use a task flow
On the target flow card, click Use (or click Use in the upper-right corner of the edit panel). The flow is added to the task input box of the Data Agent session with one click and executed, without re-describing the task steps.
Manage task flows
Export as YAML: On the target flow card, click Export to export the flow as a YAML file. You can use it for local backup, or re-import it through Import YAML when creating a new flow.
Delete a flow: On the target flow card, click Delete to delete the task flow.