Build your first workflow, step by step
Turn a routine into a workflow that reads records, decides, creates and updates, and keeps a record of every run. In this guide you build a real one on a matter, publish it, run it and check what it did.
Several steps, a decision, a wait and an approval, designed on one screen.
What a workflow is
- A trigger card (how it starts) followed by steps that run from top to bottom, drawn on a canvas.
- It starts on demand (a person, a button, a script), on a schedule, when a record is created, updated or deleted, from a webhook, or as a sub-workflow.
- Twenty step types cover reading, deciding, looping, changing records, calling services, waiting and asking for approval.
- Each run keeps its own copy of the design with every step's input and output, so you can always see what happened.
Good to know
- A rule that must hold inside a save (refuse it, fill a field) is a plugin script, not a workflow: a record trigger runs just after the save.
- Conditions are rules you click together, never formulas.
- A workflow runs as its Run As: that person's access applies, and every use is logged.
Before you start
- You need the Workflows area of the Builder: Global Administrators have it; other roles need the workflow operations in Builder → Roles.
- We build Lease file kickoff: run on a lease matter, it reads the client company, creates the first task and writes a note on the matter. It is on demand, so it never starts by itself.
- Nothing here sends email or costs money. A run costs only what its steps cost.
Part 1. Create the workflow and choose how it starts
1Open Builder → Workflows and press New workflow
The list shows every workflow with its number, its status (Draft, Published or Retired) and how it starts. Type in the search box to find one by name or number.
New workflow creates a Draft at once and opens it, so give it its real name on the next screen.

2The empty canvas: a trigger card and a +
A new workflow holds only its trigger card (how it starts) and a + below it. The orange badge counts what still stops it from being published; here, it has no step yet. The name at the top is the workflow's name: click it to rename.

3Choose how it starts: on demand, on the Matter table
Click the trigger card. In its panel:
- Starts: On demand means a person (or a button, a script, another workflow) starts it. The other choices start it by themselves: on a schedule, when a record is created, updated or deleted, from a webhook, or as a sub-workflow.
- On the table: the record it runs on. With Matter, every step can read the matter as
{{trigger}}. - Inputs: optional values the person fills in when they start it.
- Run As: whose access the steps use. Initiating User means the person who starts it; pick A person to run with a fixed account.

Part 2. Add the steps
Every step is a card on the canvas. Click a + to add one, click a card to open its settings on the right. Steps run from top to bottom; a condition splits the flow into Yes and No, and the flow joins again below it.
4Click + and pick the kind of step
The picker groups the 20 step types: Read (Query, Get record), Logic (Condition, Switch, For each, Group, Repeat until), Records (Create, Update, Delete, Record team), Run (Send email, HTTP request, Action, Sub-workflow, Script) and Flow (Delay, Compose, End, Approval). For the first step, pick Get record.

5Get record: read the client company
Name the step (Get the client company), then:
- How: By id reads one record by its id. First match finds it by rules, By number by its record number, Its team lists the people on a record's team.
- Table: Account.
- Record: the id to read. Press { } to insert a value from an earlier step; here the matter's Account field.
- When nothing is found: Go on lets the workflow continue when the matter has no client.

6Condition: only lease matters go on
A condition asks one question and splits the flow into Yes and No. Choose All of these or Any of these, then add rules: a value, an operator and what to compare with. Here: the matter's Name contains Lease. Add a Group to mix All and Any. Rules are never formulas, so anyone can read them.

7Yes and No branches on the canvas
Under the condition, the canvas shows two paths. Click the + under Yes to add what happens for a lease matter. Under No, an End step stops the run cleanly with a reason. Both paths meet again below, where the next shared step goes.

8Create record: the first task, about the matter
Pick the Table (Task), then + Add a field for each value. Mix fixed text with values from earlier steps: Collect the signed lease from {{client name}}. To put the task on the matter's timeline, set Regarding Entity Name to matter and Regarding Record ID to the matter's id. If it already exists can update a matching record instead of making a second one.

9Compose: write the note once
A Compose step builds a value that later steps reuse: Text (with values from earlier steps), JSON, or a Formula. Here it writes the note the next step puts on the matter.

10Update record: write the note on the matter, then End
Update record changes fields on a record. The trigger's record means the matter the run started on, so no id is needed. Set Description to the note from the Compose step. A field can also be cleared, or a number added to. Finish with an End step: Succeed, or Abort with a reason.

Part 3. Publish, run it, and check what it did
11Check it, save it, publish it
The badge turns green, Ready, when the server finds nothing to fix. Save keeps your changes as a Draft; Publish checks the design once more and seals it. Only a Published workflow runs. To change a published one, press To draft, edit, and publish again.

12Run it now on a matter
Pick a record in the box beside Run now (any matter you can see) and press Run now. The run starts at once, as the workflow's Run As. People usually start it from a button on the matter instead: see Dialogues and ribbon buttons.

13See the run: a tick on every step that ran
Open the Runs tab and click a run. The canvas shows the run's own copy of the design: a green tick on each step that ran, a spinner on one running now, an hourglass on a wait, a red cross on a failure. The No branch has no tick: it did not run. Click a card to see what it took in and gave out.

14Check the matter
Open the matter. Its description now carries the note, and the new task is on its Activities tab, Regarding the matter, like any task a person adds.

What next
- Want it to start by itself? Change Starts to On a schedule, Record created or Record updated, or Webhook: see Workflow triggers.
- Every step type, with its settings: The workflow step reference.
- Put it on a button so people run it from the matter: Dialogues and ribbon buttons.