Skip to main content

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.

#StepTypeWhat it does
1Draft proposalAI personaWrites a three-section proposal from the client's name, a project summary and a budget band
2Director reviewHuman reviewStops 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.

TabShowsNeeds
My organisation (with a count)Your organisation's workflows, Draft and PublishedSee Orbit workflow templates and your organisation's workflows, including drafts, in read-only form.
Orbit templatesOrbit's workflows for your industry and general ones, read-onlyThe same permission
DeletedYour deleted workflows, each with its deletion dateDelete 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:

IconActionShown when
PencilEdit in the builderIt is yours and you can change workflows
EyeView read-onlyAnything you cannot edit, including every Orbit template
Two sheetsDuplicate to my organisationYou can create workflows
RocketPublish to AI Workflow - RunIt is yours, a Draft, and you can publish
Arrow backUnpublishIt is yours, Published, and you can publish
BinDeleteIt 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.

Figure 1 — The Build list. 1 Tabs, 2 Search, 3 Category, 4 Step and loop counts, 5 Badges, 6 Based on, 7 Actions.
Set your industry first

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​

  1. 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.
  2. 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.
  3. 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.
  4. In Description type one sentence for the card: Drafts a client proposal from a project summary, then waits for the design director.
  5. 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.
  6. 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.

Figure 2 — A new workflow. 1 Template Name, 2 Status, 3 Add Global Input, 4 List / Visual, 5 Add Loop Container, 6 Add Step.

5. Add the input form​

The input form is listed under Global Inputs. Press Add Global Input, then Add Input for each further field.

LabelKeyTypeOptions
Client nameclient_nameText—
Project summaryproject_summaryText Area—
Budget bandbudget_bandSingle SelectUnder 10,000 · 10,000 to 50,000 · Over 50,000 (type each, press Enter)
Type the key yourself

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.

Figure 3 — The three input fields of Client Proposal: (1) show it only in some cases, (2) add another field.

6. Add the AI persona step and create its persona​

  1. 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.
  2. On the Setup tab, set Step Name to Draft proposal. Leave Step Type on AI Persona.
  3. 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).
  4. Fill it in: Name Client Proposal Writer, Code CLIENT_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.
  5. Save the persona. The drawer closes and the step's persona is already set to it.
  6. 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.
Figure 4 — 1 Step Name, 2 Step Type, 3 AI persona, 4 New persona, 5 Output Key, 6 Response Type.

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.

  1. For client name open the picker and choose [Text - Input] Client name from the Global Inputs group. The value becomes {{inputs.client_name}}.
  2. Map project summary to {{inputs.project_summary}} and budget band to {{inputs.budget_band}} the same way.
  3. 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.

Figure 5 — Each persona variable wired to an input-form field: (1) the values the persona needs, (2) where it comes from, (3) replace the persona's prompt for this step.

8. Add the review step​

  1. Press Add Step again. Name it Director review and set Step Type to Human Review. The tab says the step pauses the run until a user approves or provides input.
  2. 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.

ListVisual
LayoutCards in run order, each opening in placeA flow diagram with loops drawn as boxes
Editing a stepClick the card header; the tabs open inside the cardClick the step; a side drawer opens with the same tabs
ReorderingDrag the grip handle on the left of a cardMove Up / Move Down on the step
AddingAdd Step, or Insert Step Before between cardsInsert 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.

Steps are referenced by number

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.

Figure 6 — Visual view with the step drawer open. The + between steps is Insert Step Here: (1) the visual view, (2) a step, (3) add a step before it, (4) the settings of the chosen step.

10. Save, Check and Publish​

  1. 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.
  2. 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.
  3. 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.

Figure 7 — 1 Check, 2 Publish, 3 the Ready to publish result.

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​

  1. Open AI Studio › AI Workflow - Run and select the client's project in the sidebar.
  2. Set the filter to My organisation. The Client Proposal card carries the My organisation badge. Press its play button (Run Workflow).
  3. 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.
  4. Fill them in and press Run Workflow. The live console opens and shows the AI step running, then Waiting for Human Review....
  5. 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.

Figure 8 — Client Proposal ready to run: (1) the fields to fill, (2) the guide from the builder, (3) start it.

12. Field reference​

FieldWhereRequiredRules
Template NameWorkflow ConfigYesUp to 100 characters
DescriptionWorkflow ConfigNoShown on cards
InstructionsWorkflow ConfigNoShown to people running it; simple HTML allowed
Category (Optional)Workflow ConfigNoChosen from Orbit's category list
Step NameStep › SetupYesUnique within the workflow
Step TypeStep › SetupYesAI Persona, Utility, External Tool, Human Review, Loop Container
Output KeyStep › SetupYesLetters, numbers, underscores; unique
Response TypeStep › SetupNoText (Default), Image, JSON Data, Markdown, File, Stream

13. Before this works​

RequirementWithout it
Your organisation's industry is setThe 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 PersonaNo New persona link under the persona picker
An active AI model for the personaThe persona cannot be saved without a model, and Check reports it
AI credits for the runThe AI step cannot be charged and the run stops

14. Don't confuse this with…​

ThisIs not
Save ChangesPublish. Saving keeps a Draft private to builders; only Publish puts it in the Run library
DuplicateNew 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​

SymptomCauseFix
Save shows Step 2: Output key is requiredA step has an empty Output KeyGive it one
Save shows Duplicate output keyTwo steps share an Output KeyRename one
No New persona linkYour role lacks Create Business PersonaAsk an administrator, or pick an existing persona
The persona picker shows the code followed by (paused or not available)The persona has been pausedResume it on the AI Persona page, or choose another
Publish is greyed outUnsaved changesPress Save Changes first
The proposal has gaps where the client's name should beThe variable is not mapped on the Wiring tabMap it, save, run again

More causes and fixes are in Troubleshooting.