Skip to main content
Version: Studio 2.2.32

Turn a chat into a Flow

Read this when you want an agent to help you build a Flow, the repeatable form of work you can run on demand or on a schedule. You either start from Flows, or ask in a conversation that has already done the work; either way the agent saves the Flow and the chat shows a card that opens it.

Before you start: at least one agent is Active (Agents: configure and activate).

Create a Flow via chat​

  1. In Flows, click Create flow via chat in the Action Bar. It is also in the header of Create Flow.
  2. The Create flow via chat panel opens: "Create a Flow via chat. Choose an agent to start with the request below." The Starting request asks the agent to clarify the goal, inputs, expected outputs, agents, tools, approvals and constraints with you, build and test the steps with you, and confirm with you before saving the final Flow or scheduling a run.
  3. Choose an agent. A new conversation opens and sends the starting request for you. The agent begins by asking what you want the Flow to achieve.
  4. Answer it and work through the steps, for example "Each morning, reconcile the overnight trade blotter against the custodian file and list breaks above 1,000 USD in a research note." Follow the work as in any chat (Follow a run).
  5. When the agent saves the Flow, a Flow card appears in the conversation. Click Open Flow to open the Flow in Flows.

Ask in a conversation​

When a conversation has done work you want to repeat, ask the agent in the composer, for example "Turn this into a Flow", and add what you want changed: a step to leave out, a name to use. There is no convert button in the chat. The agent runs the request like any other message, decides the steps and connections from the plan it ran, and shows the same card when it saves the Flow.

What you should see​

The Flow card shows the Flow's name, "Flow created", a line such as "v1 · 4 steps · 3 connections" (the saved version, its steps and the connections between them) and Open Flow. It appears in the conversation's activity at the time the Flow was saved, as Flows Activity, and again under the agent's reply in Saved flows. In Lens, Outputs lists it among the created Flows. The card stays with the conversation after a reload.

Notes​

  • The starting request is sent once, and only into a new, empty conversation. Reloading the conversation does not send it again.
  • The card shows the version saved when the Flow was created. Versions you save later in Flows do not change it.
  • Steps you cancelled in the chat, and the copies made when a step was created again, go into the Flow too, unless you name them in what to leave out. Delete any extra step in the Flow builder.
  • What you told a step during the chat, such as a Send back note, is not carried into its objective, and a step you re-instructed keeps only its last instruction. Add what the step needs to its objective before you activate.
  • Research steps are not tied to the periods the chat used, so a run can return different years or a different table layout. Put an as-of date in the objective or make it a run parameter.
  • A Flow run works in its own folder, not the conversation's, so a step that relied on a chat file may fail. Read the failing step in the run, then add the input as a run parameter or an earlier step.
  • No card appeared: the agent answered without saving a Flow. Ask again plainly, for example "create a Flow with the steps you just ran".
  • A card restored after a reload can show steps but no connections; the connections are in the Flow builder.
  • Open Flow loads the Flow's page in full rather than switching view inside Studio Chat. Review the steps, then activate a version and run or schedule it there (Flows: build a Flow, Flows: run, schedule, approve).