Skip to content
Back

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 workflow

Flows / Member welcome

Trigger

New member

Studio members

Agent

Draft a welcome

Warm, three short lines, mention the first session

Logic

Branch

Plan is Team

Action

Send email

The new member

ActionNot configured

Post a message

Channel not set

Action

Save a row

Members log

{
  "member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
  "source": "sign-up form"
}

The code is part of Oxyn Pro

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.

Get Pro

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.

Terminal
oxyn add workflow

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Sample

Sample data in the Inset frame.

Flows / Member welcome

Trigger

New member

Studio members

Agent

Draft a welcome

Warm, three short lines, mention the first session

Logic

Branch

Plan is Team

Action

Send email

The new member

ActionNot configured

Post a message

Channel not set

Action

Save a row

Members log

{
  "member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
  "source": "sign-up form"
}

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Flat

The same screen in the Flat frame.

Flows / Member welcome

Trigger

New member

Studio members

Agent

Draft a welcome

Warm, three short lines, mention the first session

Logic

Branch

Plan is Team

Action

Send email

The new member

ActionNot configured

Post a message

Channel not set

Action

Save a row

Members log

{
  "member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
  "source": "sign-up form"
}

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons where the data will land.

Flows / Member welcome

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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 code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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

TriggerDone

New member

Studio members

AgentDone

Draft a welcome

Warm, three short lines, mention the first session

LogicRunning

Branch

Plan is Team

ActionQueued

Send email

The new member

ActionQueued

Post a message

Channel not set

ActionQueued

Save a row

Members log

{
  "member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
  "source": "sign-up form"
}

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X1

Oxyn: each step numbered in run order.

Flows / Member welcome

Trigger

New member

Studio members

Agent

Draft a welcome

Warm, three short lines, mention the first session

Logic

Branch

Plan is Team

Action

Send email

The new member

ActionNot configured

Post a message

Channel not set

Action

Save a row

Members log

{
  "member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
  "source": "sign-up form"
}

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X2

Oxyn: compact cards without the setting line.

Flows / Member welcome

Trigger

New member

Studio members

Agent

Draft a welcome

Warm, three short lines, mention the first session

Logic

Branch

Plan is Team

Action

Send email

The new member

ActionNot configured

Post a message

Channel not set

Action

Save a row

Members log

{
  "member": { "name": "Ines Marlow", "plan": "Pro", "email": "ines@example.com" },
  "source": "sign-up form"
}

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

WorkflowScreen

PropTypeDefaultDescription
layoutString"inset"`inset` or `flat`.
stateString"sample"`sample`, `loading` or `empty`.
heightu32640Height px.
nowrequiredClockMs—The clock (drives the test run).
step_numbersboolDefault::default()Oxyn: each step shows its number in run order.
compactboolDefault::default()Oxyn: compact cards without the setting line.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabSidebar, page, then the work area
←or→ on a hairlineResize the sidebar or work area
EscapeClose an open menu; clear search
Arrow keys on a nodeMove it one grid step (Shift: five)
EnterorSpace on a nodeSelect it and open the inspector
Delete on a node or connectionRemove it
Escape on a nodeClear the selection
←or→ in the run dock tabsPayload, Triggers, Errors, Timeline, Runs
Enter on Start test runRun 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 WorkflowScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: WorkflowEl in oxyn_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.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI