Build your first workflow
What this page is — a complete walkthrough that builds one real workflow, "Client Proposal", from an empty builder to a finished run: the input form, an AI persona step with a persona you create on the spot, a Human review step, then Check, Publish and Run.
What it is for — learning the builder by doing. Every later page in this section goes deeper into one part; this one shows how the parts fit together in the order you meet them.
The problem it solves — the builder has a lot on screen at once: a settings panel, a step list, four tabs per step and a publish panel. People who start by exploring tend to save a workflow that cannot be published, or publish one whose AI step receives blank values. Following one build end to end shows where each piece goes and what "done" looks like.
Route: /org/ai-workflow-build → New workflow (/org/ai-workflow-build/create) ·
Permission: Create new workflows and duplicate Orbit templates or existing workflows into your
organisation.
1. The worked example: what you will build
Riverside Interiors writes a proposal for every new client. Today a designer pastes notes into a chat window and tidies the answer by hand. The workflow below does it in two steps.
| # | Step | Type | What it does |
|---|---|---|---|
| 1 | Draft proposal | AI persona | Writes a three-section proposal from the client's name, a project summary and a budget band |
| 2 | Director review | Human review | Stops the run until the design director approves the draft, rejects it, or changes the inputs and reruns |
The person who runs it answers three questions: the client's name, a summary of the project and a budget band. Everything else is fixed by the builder.
2. Why you would use it
- One brief, written once. The persona's instructions hold the house style. Designers only fill in the facts, so every proposal reads the same way.
- A director signs off before anything goes out. The review step means an AI draft never reaches a client unseen.
- Nobody needs to know prompts. The person running it sees a short form with plain labels, not instructions to a model.
- It lives in the project. The run is attached to the client's project, so its output and its cost are found where the rest of the client's work is.
3. Open AI Workflow - Build
Open AI Studio › AI Workflow - Build. The page lists workflows as cards on three tabs.
| Tab | Shows | Needs |
|---|---|---|
| My organisation (with a count) | Your organisation's workflows, Draft and Published | See Orbit workflow templates and your organisation's workflows, including drafts, in read-only form. |
| Orbit templates | Orbit's workflows for your industry and general ones, read-only | The same permission |
| Deleted | Your deleted workflows, each with its deletion date | Delete and restore your organisation's workflows. |
Above the cards are a Search workflows… box (it matches the name, the description and the template a copy was based on) and a Category filter that starts on All categories.
Each card shows its badges (Orbit with a lock, or My organisation plus Draft or Published), its category, name and description, Based on … when it is a copy, the number of steps and loops, and Edited … by … for your own workflows. The icons on the right are:
| Icon | Action | Shown when |
|---|---|---|
| Pencil | Edit in the builder | It is yours and you can change workflows |
| Eye | View read-only | Anything you cannot edit, including every Orbit template |
| Two sheets | Duplicate to my organisation | You can create workflows |
| Rocket | Publish to AI Workflow - Run | It is yours, a Draft, and you can publish |
| Arrow back | Unpublish | It is yours, Published, and you can publish |
| Bin | Delete | It is yours and you can delete |
When you have no workflows yet, the My organisation tab says Build your first workflow and offers New workflow and Browse Orbit templates.
If the page shows Set your industry first, your organisation's industry is not set yet. Use Open Business Context, choose the industry, and come back.
4. Create the workflow and fill in its settings
- Press New workflow (top right; on a phone it is in the bar at the bottom). You can also use New AI workflow in the header + Create menu.
- The builder opens. The left panel is Workflow Config; the right side is Workflow Sequence, where the steps go. Drag the edge of the left panel to widen it, or collapse it with the chevron.
- In Template Name type
Client Proposal. This is the workflow's name everywhere: in the Build list, in the Run library and on each run. - In Description type one sentence for the card: Drafts a client proposal from a project summary, then waits for the design director.
- In Instructions write what the person running it should know. It may contain simple HTML headings and paragraphs. Here: Pick the client's project first. Keep the summary to the facts from the site visit.
- Choose a Category (Optional) so the workflow sits in the right branch of the Run library. Leave No Category if none fits.
Under the name, the Status panel says Save the workflow first. New workflows start as Draft. Check and Publish appear there after the first save.
5. Add the input form
The input form is listed under Global Inputs. Press Add Global Input, then Add Input for each further field.
| Label | Key | Type | Options |
|---|---|---|---|
| Client name | client_name | Text | — |
| Project summary | project_summary | Text Area | — |
| Budget band | budget_band | Single Select | Under 10,000 · 10,000 to 50,000 · Over 50,000 (type each, press Enter) |
The key fills in from the label as you start typing, which usually leaves only the first letter
(c). Click into the key box and type the full key. The key is what steps use, as
{{inputs.client_name}}.
Every field type and option is explained in Input form.
6. Add the AI persona step and create its persona
- In Workflow Sequence press Add Step. A card appears: #1 Step 1, type AI Persona,
output key
output_1. Click the card's header to open it. - On the Setup tab, set Step Name to
Draft proposal. Leave Step Type on AI Persona. - Riverside has no proposal persona yet. Under Select AI Persona press New persona. The persona drawer opens over the builder (you need Create Business Persona).
- Fill it in: Name
Client Proposal Writer, CodeCLIENT_PROPOSAL_WRITER, a text model, and instructions that use three variables:You are Riverside Interiors' proposal writer. Write a proposal for {{client_name}} covering {{project_summary}}. Pitch it for a budget of {{budget_band}}. Use three sections: Vision, Scope, Next steps.Use Add them to list the three variables. The drawer is described field by field in Create and edit a persona. - Save the persona. The drawer closes and the step's persona is already set to it.
- Change Output Key to
proposal_draft— letters, numbers and underscores only, and unique in the workflow. Leave Response Type on Text (Default), or choose Markdown for headings.
7. Wire the persona's variables
Open the step's Wiring tab. Under Input Variables each of the persona's three variables has a picker.
- For client name open the picker and choose
[Text - Input] Client namefrom the Global Inputs group. The value becomes{{inputs.client_name}}. - Map project summary to
{{inputs.project_summary}}and budget band to{{inputs.budget_band}}the same way. - Leave Overwrite System Prompt unticked so the step uses the persona's own instructions.
The picker, custom values and step instructions are covered in Wiring and variables.
8. Add the review step
- Press Add Step again. Name it
Director reviewand set Step Type to Human Review. The tab says the step pauses the run until a user approves or provides input. - Set its Output Key to
director_review.
A Human review step needs no persona or wiring. It must be on the main sequence: it is not offered inside a loop. See Human review steps.
9. List view, Visual view and reordering
The List / Visual toggle in the Workflow Sequence header changes how the steps are drawn.
| List | Visual | |
|---|---|---|
| Layout | Cards in run order, each opening in place | A flow diagram with loops drawn as boxes |
| Editing a step | Click the card header; the tabs open inside the card | Click the step; a side drawer opens with the same tabs |
| Reordering | Drag the grip handle on the left of a card | Move Up / Move Down on the step |
| Adding | Add Step, or Insert Step Before between cards | Insert Step Here between steps |
Every card also has an on/off switch (a disabled step is skipped and drawn dashed) and a bin icon. The full-screen button hides the settings panel while you work on a long sequence.
Wiring such as {{steps.1.proposal_draft}} points at a step's position. After you drag, insert or
remove a step, open the later steps' Wiring tabs and press Check — a reference to a step that now
runs later, or no longer exists, is reported there.
10. Save, Check and Publish
- Press Save Changes at the bottom of the left panel. The toast reads Workflow saved successfully and the button turns to Saved. The address changes to the workflow's edit page.
- The Status panel now shows Draft and the Check button. Press it. A dialog titled Ready to publish with No problems found means you can go on. Fix these before publishing lists each problem by step — see Publish and lifecycle.
- Press Publish (you need Publish or unpublish your organisation's workflows so they can (or can no longer) be run.). The toast reads Published. It is now available in AI Workflow - Run. and the badge turns to Published.
Publish is greyed out with Save your changes first while anything is unsaved, and Check always checks the last saved version.
Leaving with unsaved changes
If you press the back arrow with changes unsaved, an Unsaved Changes window asks Do you want to save your changes before leaving this page? — Discard, Cancel or Save Now. Closing the browser tab triggers the browser's own leave-page warning.
11. Run it
- Open AI Studio › AI Workflow - Run and select the client's project in the sidebar.
- Set the filter to My organisation. The Client Proposal card carries the My organisation badge. Press its play button (Run Workflow).
- The form groups the three fields under Step 1: Draft proposal, because that step uses them. The book icon shows your Instructions as the workflow guide.
- Fill them in and press Run Workflow. The live console opens and shows the AI step running, then Waiting for Human Review....
- The design director, who holds Can Approve/Reject "Human Review" steps., opens the run, reads the draft and presses Approve & Continue.
Running is covered in Run a workflow and Monitor a run.
12. Field reference
| Field | Where | Required | Rules |
|---|---|---|---|
| Template Name | Workflow Config | Yes | Up to 100 characters |
| Description | Workflow Config | No | Shown on cards |
| Instructions | Workflow Config | No | Shown to people running it; simple HTML allowed |
| Category (Optional) | Workflow Config | No | Chosen from Orbit's category list |
| Step Name | Step › Setup | Yes | Unique within the workflow |
| Step Type | Step › Setup | Yes | AI Persona, Utility, External Tool, Human Review, Loop Container |
| Output Key | Step › Setup | Yes | Letters, numbers, underscores; unique |
| Response Type | Step › Setup | No | Text (Default), Image, JSON Data, Markdown, File, Stream |
13. Before this works
| Requirement | Without it |
|---|---|
| Your organisation's industry is set | The Build page shows Set your industry first |
| Create new workflows and duplicate Orbit templates or existing workflows into your organisation. | No New workflow button |
| Change your organisation's workflows: input form, steps, wiring, conditions and loops. | Your own workflows open read-only |
| Create Business Persona | No New persona link under the persona picker |
| An active AI model for the persona | The persona cannot be saved without a model, and Check reports it |
| AI credits for the run | The AI step cannot be charged and the run stops |
14. Don't confuse this with…
| This | Is not |
|---|---|
| Save Changes | Publish. Saving keeps a Draft private to builders; only Publish puts it in the Run library |
| Duplicate | New workflow. Duplicating copies an existing workflow with its steps — see Orbit templates and duplicate |
| Instructions (workflow) | The persona's instructions. The first is guidance for people; the second is what the AI is told |
15. Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Save shows Step 2: Output key is required | A step has an empty Output Key | Give it one |
| Save shows Duplicate output key | Two steps share an Output Key | Rename one |
| No New persona link | Your role lacks Create Business Persona | Ask an administrator, or pick an existing persona |
| The persona picker shows the code followed by (paused or not available) | The persona has been paused | Resume it on the AI Persona page, or choose another |
| Publish is greyed out | Unsaved changes | Press Save Changes first |
| The proposal has gaps where the client's name should be | The variable is not mapped on the Wiring tab | Map it, save, run again |
More causes and fixes are in Troubleshooting.