Skip to content

Build a dynamic workflow

To build a dynamic workflow, open the Workflows page, go to Dynamic, add a workflow to the list, and write your instruction in the editor beside it. Your changes save on their own as you work.

The two columns

The view is laid out in two columns.

  • Left — the list of workflows. My workflows holds your own. A "show team workflows" toggle adds a Team workflows section, holding everyone else's.
  • Right — the editor for whichever workflow is selected.

Select a workflow in the list to open it in the editor.

On a small screen the two columns do not sit side by side. A switcher above them moves between Workflows and Editor, one at a time; opening a workflow takes you to the editor, and closing it brings you back to the list.

Add a workflow

Select + beside the Workflows heading. A menu offers three ways to start:

  • Blank workflow — "Start from scratch." A new workflow appears in the list, selected, with the cursor in its title ready for you to name it.
  • From template… — "Pick a default to start from." Choose a starter template and the new workflow arrives with that template's content already in it, selected and ready to edit.
  • Create with AI — "Describe the job and the agent drafts the workflows." See Create workflows with the agent below.

Create workflows with the agent

Create with AI opens the authoring workspace, a page of its own with a new discussion on the left and its Drafts on the right. Before you write anything it explains what to describe and offers a few example jobs. Describe the job in your own words: what comes in, what you need to find out or produce, and what happens with the result. The agent sorts the job into the parts that belong elsewhere in Tiro Pro, such as uploading documents or filing them into a matter, and the parts a dynamic workflow should do; decides whether that is one workflow or several, and if several, what passes from one to the next; settles what each workflow needs to be told when it is run; and drafts each one.

The top of Drafts shows whether the agent is working and how many drafts it has written. Each draft appears there as soon as the agent saves it, in full: its instruction, and the inputs a run will ask for, laid out as the run form shows them. Accept makes it one of your workflows, visible to the team and ready to run; Edit opens it in the editor; Discard throws it away. An accepted draft stays in the list, marked Accepted, so you can see what the discussion produced. On a small screen a switcher moves between the discussion and Drafts.

Where a job is several workflows, you run them yourself in the order the agent gives, taking one workflow's output from Activity to the next with Save to documents; nothing runs one workflow on another's result by itself. The discussion is an ordinary discussion in every other way and stays in Discussions. Opened there, it offers Open in workspace to take you back; from the Workflows list, the discussion icon on a draft does the same. ← Workflows returns you to the list.

You can also ask the agent in Discussions to create an ordinary dynamic workflow for you or change one you own. A workflow the agent writes arrives as a draft, under Drafts at the top of the list, and only you can see it there. Open it to read and edit it as you would any workflow, then select Accept to make it one of your workflows, visible to the team and ready to run, or Discard to throw it away. A draft cannot be run until it is accepted. A change to a workflow the team already uses arrives as a revision, as below.

Let the agent set up the policy

When the job should run by itself — whenever a document of a kind arrives, "whenever a new supplier contract comes in", or on a timetable, "every month" — the agent also proposes the policy that will run the workflow, so you need not set it up on the Automation page yourself. It picks out the documents by a collection, or by particular documents, and asks which collection holds them if it cannot tell, or suggests filing them into one. Where one workflow should run differently for different documents, such as goods contracts against your goods terms and services contracts against your services terms, it proposes one policy for each, each with its own values.

A proposed policy appears under the draft it would run, and at the top of the policies table on the Automation page, saying what it runs on and how many documents already match. Nothing runs until you accept. Where documents already match, choose what the policy does about them: run only on documents that arrive from now on, run on those already matching as well, each a separate run, or start switched off. A policy on a timetable is simply switched on or left off, and first runs at its next scheduled time. Running on more than 25 existing documents asks you to confirm. Accept workflow and policy creates both; Accept workflow only accepts the workflow and leaves the proposal, which you can accept or Discard later from the same place. A policy you accept appears on the Automation page like any other.

Revise a workflow with the agent

To change a workflow you own, select the discussion icon on its row, or Revise with AI in the editor. The authoring workspace opens on that workflow: the discussion that wrote it, if there is one, or else a discussion about that workflow, titled after it. Say what you want changed. The agent reads the workflow first, then proposes the change.

The workflow itself does not change while you and the agent work. Your team keeps running the current version. The proposal, called a revision, appears beside the discussion, showing only what changes: a new title, the lines of the instruction it removes and adds, and any inputs it adds, removes, or alters. Ask for more changes and the agent refines the same revision. Accept revision applies it to the workflow, which keeps its runs, its tab, and any policy that starts it. Discard revision leaves the workflow as it is.

While a revision is waiting, the editor says so, and Review revision takes you to it. If you edit the workflow by hand meanwhile, the revision can no longer be accepted as it stands, because it was written against the earlier version; ask the agent to propose it again. The same goes for a change you ask for in an ordinary discussion in Discussions: it too arrives as a revision for you to review here.

You can revise only your own workflows. To change a colleague's, clone it and revise your copy.

Write the workflow

The editor holds three things to fill in: the workflow's title, its description, and the instruction itself. Write the instruction in plain English — what you want the agent to do with the documents you give it.

Inputs

Some workflows need to be told something on each run: a client's name, a date, a choice between options, or a particular document. Declare these under Inputs, between the description and the instruction, and refer to each one in the instruction by its name in double braces, such as {{client_name}}. Whoever runs the workflow is asked for every input before the run starts.

Each input has a name, a label, and a kind: short text, longer text, one of a list, several of a list, a document, or several documents. Tick Required for anything a run cannot do without; give an input a default where the team usually wants the same value, and the runner can still change it. A policy on the Automation page runs a workflow with no one to ask: the policy sets the values each run uses, starting from the defaults, so one workflow can serve several policies with different values. If you type a new {{name}} into the instruction, the input appears in the panel on its own. The agent, when it drafts a workflow for you, declares the inputs it decides the workflow needs.

Ask for changes to a Word document

When you want a run to change a document in your library — mark up an NDA against your positions, say — ask for a redline: tracked changes made in the document itself, such as "Redline this NDA against our playbook". Don't ask for an edited copy, or for a Word file attached to the run. The run makes its changes in a draft and never alters the document. The draft appears under Redlines when you open the run in Activity, where you can take it into a discussion to review it, ask for further changes, and save it as a new version. See Review a run's redlines.

A workflow can also ask for a new Word document, such as a memo or a letter. The run adds it to your Documents only when it saves its result, so tick Save each result to documents for a workflow that writes one. Otherwise the run keeps the text among its outputs in Activity.

Format the instruction

A formatting toolbar sits with the content, offering bold, italic, headings, quote, and link.

Select the text you want to change, then select the action. Bold works as a switch: select it once to make the selection bold, and again to take the bold off. The link action puts a link around the text you selected, for you to fill in the address.

Saving

Your edits save on their own, shortly after you stop typing. An indicator reports where things stand:

  • Unsaved changes — you have made a change that has not been written yet.
  • Saving… — it is being written now.
  • Saved — everything is written.

There is no save button. If you select another workflow, or leave the page, before a save has happened, your changes are saved first and then the page moves on.

Save each result to documents

Under the description, tick Save each result to documents to have every run of the workflow keep its result in your library as well as in Activity. Each result becomes a document owned by whoever ran it, linked to the documents the run read. Choose a collection under File it in to keep the results together. This is the workflow's default, not a rule: a run, a policy, or a request in a discussion can each decide otherwise, as below. It is off for a new workflow, and you can still save any run's result yourself from Activity with Save to documents.

Run a workflow

  1. Select the workflow, then select Run workflow on its row. The same control opens the Run workflow window.
  2. Choose the source documents.
  3. Fill in the workflow's Inputs, if it has any: the things it needs to be told for this run, such as a client's name or a choice between options. Each appears under its label and description, in a control that suits its kind:

    • short or longer text — a box to type in;
    • one of a list — a menu starting at Choose…;
    • several of a list — a tick box for each option;
    • a document — a menu starting at Choose a document…;
    • several documents — a list to pick from; hold Ctrl (⌘ on a Mac) to select more than one.

    A document input offers the documents the window lists in step 2, so filtering that list to find your source documents narrows these choices too. A required input is marked with an asterisk, and Run stays unavailable until every one has a value; an input with a stored default is filled in already. A draft from the agent shows the same controls, greyed out, under Drafts, so you can see what a run will ask for before you accept it.

  4. With two or more documents selected, choose a Dispatch mode: "Send all documents to the same agent", which is the default, or "Send each document to a separate agent".

  5. Check Save the result to documents. It starts ticked when the workflow saves its results and unticked when it does not; change it to decide for this run alone, which leaves the workflow's own setting as it is.
  6. Select Run.

With a separate run per document and more than ten documents selected, you are asked to confirm before the runs go out.

The runs appear in Activity when they are ready — the dispatch message's View link takes you straight there. A run that saves its result says so in Activity, with a link to the saved document once it is there. There is no list of runs on this page; see Track agent runs.

Give a workflow its own tab

A workflow your team runs often can have a tab of its own on the Workflows page. On the workflow's row, select Give it a tab. A new sub-tab appears beside the others, named after the workflow, with a form made from its inputs: a field for each one, a document picker for an input that takes documents, and a Run button that stays unavailable until every required input has a value. Running from the tab starts the workflow exactly as Run workflow does, and the result arrives in Activity.

The form follows the workflow: change its inputs and the tab shows the change on your next visit. A workflow that already has a tab shows Open its tab on its row instead. Delete the tab from the tab itself; deleting the workflow removes the tab with it.

A colleague's workflow is read-only

Select a workflow owned by someone else and the editor opens it for reading. Its fields are disabled, a Read-only indicator appears, and Clone to my workflows takes the place of the edit and delete actions. Select it to take your own copy, which you can then edit like any other.

If the owner edits the workflow while you have it open, what you are reading updates on its own.

Delete a workflow

Select Delete on a workflow you own and confirm in the window that opens. The workflow goes from the list, and the editor clears. A colleague's workflow has no delete action for you.

Where a workflow gets used

A workflow is not only run from here. Three other places put it to work:

  • the documents table, where you select documents and send them to a workflow — see Work with the documents table;
  • Discussions, where you can ask the agent to find a saved workflow and run it against attached subjects, a subset, or other team documents. The run continues in the background and the agent links you to Activity; and
  • a policy, which runs the workflow whenever a document matches the rule — see Create and manage policies.