Task flow

Updated at:

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

View task flows

  1. In the left-side navigation pane of the Data Agent interface, click Task flow.

  2. 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.

  3. Enter a keyword in the search box to search task flows by name.

  4. Click the refresh button in the upper-right corner to update the flow list.

Note

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

  1. In the upper-right corner of the Task flow page, click New task flow.

  2. 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.

  3. 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.

  4. Click Generate to create the flow.

Note

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.).

Note

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.

Share task flows and permissions

The creator can share a task flow with the team or specific members for cross-member reuse. The sharing scope is constrained by tenant permissions: you can share a flow only with members who have permissions in the current tenant.

  1. On the target flow card, click Share.

  2. Select the recipients (a team or specific members) and confirm the sharing.

After sharing, the creator and the recipients have the following permissions:

Role

Permissions

Creator

Can edit the flow content, adjust the sharing scope, or cancel sharing. Manage your own flows on the Created by me tab.

Recipient

Uses shared flows read-only: can view and run them, but cannot edit them or adjust the sharing scope. View them on the Shared with me tab.

Important

After the creator adjusts the sharing scope or cancels sharing, the change takes effect for recipients immediately.