Build it with the agent
Ask the Workflow Studio agent for rules in the editor's chat: bring a file, read its proposal, Accept or Request changes, and check what it changed and what did not go through.
You build a Studio workflow by talking to the Workflow Studio agent in the editor's chat, or in any thread where you name it. It changes the workflow's draft for you: what Ingest reads, the rules, the checks, the context, the triggers and Save Data. It never saves, publishes or runs the workflow: that stays yours.
Bring the file
Attach the file to a message, pick it from Files, or tag a data object. If Ingest reads nothing yet, the agent adds the file and reads it at once, before anything else. A second file, unless you say it replaces the first ("use this one instead"), is added beside it.
The agent looks at the data before it writes anything: each column's type, empty cells and examples, and, for a text file, a sample of its raw lines, so it can tell whether the values are split by a character, sit at fixed positions, or need joining across lines. It says what it judged and why.
Precise asks and general ones
- A precise ask gets that change and nothing more: "As Of Date from the title rows, as a date", "drop total lines", "currencies as ISO codes". If the agent sees another issue, it names it in one line, as an offer.
- A general ask ("harmonise this file", "clean this", "map it into our positions model") gets a proposal first: the agent judges the file whole and asks once, on one card, before it builds anything.
One rule does one job, the one you would name, and the agent changes a rule that already does something before it adds another. Ask about a rule by the number the editor shows ("rule 5"), counted from 1 in each step.
The proposal card
A proposal waits on a card in the thread, with the plan above the options:
- Accept builds every rule it proposed, in that turn, and tests them.
- Request changes opens a field to Say what to add, remove or change.
Until you answer, the agent's changes are held: the turn's steps show N changes held until you accept. After an Accept, a message that goes on with the same work ("add them", "go on") builds without asking again, until a new card, a new file, or a mapping you did not accept.
How the agent tests
The agent saves the rules of an accepted set together and tests them in one go, from the first to the last, rather than one save and one test per rule. A passed test only means the rules ran, so it then checks each column a rule added or changed: is it there, named and placed as asked, filled where the file had a value, of the right type (dates as dates, amounts as numbers), and with the values it expected. Anything off is not done: it fixes that rule alone and tests again. After three tries at one problem, it stops and tells you what it found.
What changed, and what didn't
The agent answers in a few short lines: the rules it changed, by number and label, which came from a template, what it checked, and what is left. It only names changes that went through. A change whose call failed, or that waits for your Accept, is not made, and it says which and why.
The run checks its answer against the changes actually made. If the answer claimed more, the turn's steps show N changes didn't go through (A change didn't go through for one), or Answer rewritten against the changes that went through.
Fix this
When a test fails at a rule, or a run stops at one, a banner over the data panel says why, with Fix this at its right. It hands the failure to the agent in the chat beside the steps, as a message saying what failed and where.
Templates
Before writing a new rule, the agent searches the workspace's rule templates and reuses one that fits, with its own label and description. You can add one yourself from a step's ⋯, From templates, or save a rule of yours with Save as template from the data panel.
Hand it on
The Workflow Studio agent works only on Studio workflows. A request outside them gets a one-line refusal pointing you to Spark, the workspace's assistant. To build a referential from the workflow's tables, ask the Referential Manager.