Workflow BuilderPro
Steps laid out on a canvas and linked by curves: add them from a grouped palette (click or drag; official app marks), move them with the pointer or the arrow keys, connect and set each one up in the inspector, zoom and fit, then start a test run with the sample payload and follow it in the run dock (Payload · Triggers · Errors · Timeline · Runs) as every step lights up in turn.
oxyn add workflowFlows / Member welcome
New member
Studio members
Draft a welcome
Warm, three short lines, mention the first session
Branch
Plan is Team
Send email
The new member
Post a message
Channel not set
Save a row
Members log
{
"member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
"source": "sign-up form"
}The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Build an automation as nodes on a canvas, set each step up and test it before publishing.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Workflow Builder is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add workflowUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data in the Inset frame.
Flows / Member welcome
New member
Studio members
Draft a welcome
Warm, three short lines, mention the first session
Branch
Plan is Team
Send email
The new member
Post a message
Channel not set
Save a row
Members log
{
"member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
"source": "sign-up form"
}Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same screen in the Flat frame.
Flows / Member welcome
New member
Studio members
Draft a welcome
Warm, three short lines, mention the first session
Branch
Plan is Team
Send email
The new member
Post a message
Channel not set
Save a row
Members log
{
"member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
"source": "sign-up form"
}Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons where the data will land.
Flows / Member welcome
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
Nothing yet: each region says what will appear.
Flows / Member welcome
Start with a trigger
Pick New member, a schedule or a webhook from the palette; each step you add after it joins on.
{
"member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
"source": "sign-up form"
}Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Own
A test run under way: steps light up in turn and the run dock shows the timeline.
Flows / Member welcome
Running · 2 of 6
New member
Studio members
Draft a welcome
Warm, three short lines, mention the first session
Branch
Plan is Team
Send email
The new member
Post a message
Channel not set
Save a row
Members log
{
"member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
"source": "sign-up form"
}Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X1
Oxyn: each step numbered in run order.
Flows / Member welcome
New member
Studio members
Draft a welcome
Warm, three short lines, mention the first session
Branch
Plan is Team
Send email
The new member
Post a message
Channel not set
Save a row
Members log
{
"member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
"source": "sign-up form"
}Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
X2
Oxyn: compact cards without the setting line.
Flows / Member welcome
New member
Studio members
Draft a welcome
Warm, three short lines, mention the first session
Branch
Plan is Team
Send email
The new member
Post a message
Channel not set
Save a row
Members log
{
"member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
"source": "sign-up form"
}Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
WorkflowScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`. |
state | String | "sample" | `sample`, `loading` or `empty`. |
height | u32 | 640 | Height px. |
nowrequired | ClockMs | — | The clock (drives the test run). |
step_numbers | bool | Default::default() | Oxyn: each step shows its number in run order. |
compact | bool | Default::default() | Oxyn: compact cards without the setting line. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Sidebar, page, then the work area |
| ←or→ on a hairline | Resize the sidebar or work area |
| Escape | Close an open menu; clear search |
| Arrow keys on a node | Move it one grid step (Shift: five) |
| EnterorSpace on a node | Select it and open the inspector |
| Delete on a node or connection | Remove it |
| Escape on a node | Clear the selection |
| ←or→ in the run dock tabs | Payload, Triggers, Errors, Timeline, Runs |
| Enter on Start test run | Run with the sample payload |
Accessibility
- The sidebar is a labelled nav; the open chat has aria-current and unread chats say so.
- Menus open from a trigger that reports aria-expanded; their items are menuitemradio and Escape shuts them.
- Hairlines are separators with a value and arrow keys; skeletons are hidden from screen readers.
Responsive behaviour
- Under 860 px of width the work area becomes a sheet opened from the top bar.
- Under 640 px the sidebar slides in from the menu button and the composer drops its labels.
Edge cases (spec)
Root fills its container (definite width, overflow clip, container queries). Under 860 px the work area becomes a sheet opened from the top bar; under 640 px the sidebar slides in from a menu button and composer menus drop their labels.
Notes for AI
- Import
WorkflowScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
WorkflowElinoxyn_gpui. - Props to set first:
now. - It reads a clock (
now) for live timers; pass one clock for the whole page rather than one per component. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.