Build, review and apply a flow with the assistant
Use Build to create a flow or change an existing one. The assistant drafts the change, checks it and shows it as a proposal. Nothing is saved until you choose Apply and save, and nothing runs until you choose Run.
You need a provider key first: see Providers, models and API keys. For a first guided run, follow the AI quick start.
What you can ask for
With a model that supports tool calling, Build works step by step. The assistant looks up node settings in the installed catalog, reads your dataset column types, drafts edits, checks the flow and corrects its own mistakes before it shows you one proposal. You can describe a whole pipeline in one request, in any language, up to 1,500 characters.
Replace the column names in these requests with your own.
- Clean and validate. "Drop rows where income is empty, fill missing age with the median, remove duplicate customer_id rows, check that customer_id is unique and write the result."
- Combine and aggregate. "Join orders with customers on customer_id, calculate revenue as price times quantity, total revenue per country, sort it descending and show it as a bar chart."
- Dates and trends. "Parse signup_date, extract the year and month, count signups per month and plot them as a line chart."
- Features and models (ML extension). "Encode the categorical columns, scale the numeric ones, split 80/20, train a random forest classifier to predict churn, evaluate it and show feature importance."
- Change an existing flow. "Keep every row from the left input in the Join", or "add a filter for revenue above 100 before the Group By."
The panel offers a few starting prompts under Try, based on the selected dataset. Treat the first proposal as a draft: send a clearer request, choose Regenerate, or fix details by hand after saving.
Two habits help most:
- Name the columns you mean. The assistant does not see your column names unless you share them. When it cannot tell which column you meant, it asks.
- Describe what to change on an existing flow. The assistant sees the node types and connections of the canvas, not the current settings of its nodes.
For the node list and what the assistant refuses to build, see What the assistant can build.
Steps
- Open a flow and choose Assistant in the toolbar, or Ask the assistant at the bottom of the canvas. The panel docks beside the canvas and fills the screen on a narrow window. It has a Conversation tab and an Activity tab.
- Choose the task: Build to create or change nodes, Guides to ask about Ciaren, or Diagnose to look at a failed run (see Guides, Diagnose and canvas tools).
- On an empty canvas, choose an Input dataset from the flow's project. On an existing flow, the assistant uses the file inputs already on the canvas and their pinned versions.
- Describe the result and choose Create proposal, or press Ctrl+Enter. A progress card shows rough stages, and Cancel request stops the request.
- Review the proposal, then choose Apply and save, Regenerate, Edit request or Discard.
- Choose Run in the editor when you are ready. Applying never runs the flow.
The assistant works from the saved flow. While the canvas has unsaved edits, the toolbar Save button carries a small dot. If you send a request before saving, the request stays in the box, Save pulses briefly and Save and send saves the canvas and sends the request.
What a proposal shows
A proposal opens with a one-sentence summary and up to four short notes. A map of the flow follows, then every added or updated node with its settings.
- Each updated node lists every setting that changes. All settings lists every field of a new node.
- Expand Connections to check the ports, or Compare all settings to inspect an existing node.
- Inspect on canvas jumps to the node. Updated nodes are highlighted on the canvas while the proposal is open.
- Expression nodes show the whole expression, so you can read it before saving.
- Steps lists what the assistant did, such as reading dataset columns, drafting a change and checking the flow.
Every reply, including one that ends without a change, shows the provider calls and tokens it used. Once a conversation has more than one reply, the panel also shows the total. See Usage and cost.
A proposal expires after three minutes. A draft that ran out of steps or time, or lost the provider, carries a note that it was not checked. Read such a draft with extra care, or regenerate it.
After Apply and save, a message offers Undo for about 12 seconds. Undo reverses that saved change as a new revision, and works only while the canvas still matches what was saved. Later, reverse the change from Activity.
When it asks a question
When a request leaves a real choice open, the reply is a card with one button per option instead of a proposal. A common case is a request that describes columns the types cannot identify.
- The buttons show your real column names. Choosing one sends the pick back as a column reference, so the name stays on the server.
- A request can carry up to three answers. If no option fits, edit the request with more detail.
- When the assistant cannot offer options, the reply offers Share column names and retry.
While it works
A request keeps running while the panel is closed, and the Assistant button shows a dot when the reply is ready.
- Cancel request stops the request and closes the provider connection, and so does leaving the flow. A provider can still bill work already performed.
- A saved-flow revision conflict, a changed input version or an expired proposal requires a new proposal. After a concurrent save, preserve your local work first, then reload the editor.
- A reply can end with buttons for a likely next step, such as saving, sharing column names or opening a guide.