Workflow Canvas
A workflow builder that runs itself: an item rides through the steps, waits at an approval gate until a pretend cursor presses Approve, then fans out to every output.
pixikit.com/docs/blocks/demos/workflow-canvas
Customize
Show log
Loop
Accent color
Props
11| Name | Type | Default | Description |
|---|---|---|---|
nodes | (string | WorkflowCanvasNode)[] | ["New item: Starts when something is added", "Draft: Writes the first version", "Review: A person signs off first", "Send: To every channel"] | The cards, top to bottom. A string is "Title: subtitle": the first is the trigger, the last the output and the one before it the approval gate. Pass objects to choose each kind. |
outputs | (string | WorkflowCanvasOutput)[] | ["Email", "Chat", "Web", "Mobile"] | Where the run fans out to from the last node; each ticks green as its chip lands. Pass an object to give one an icon. |
approveLabel | string | "Approve" | The button on the approval node. |
approvedLabel | string | "Approved" | The approval node's line once it is approved. |
showLog | boolean | true | Show the run log beside the canvas (under it on a phone). |
logLines | string[] | [] | The log's line for each node once it is done, in node order; each node's title when missing or empty. |
loop | boolean | true | Play the run again after a pause. |
accentColor | string | "#7c3aed" | The colour of running nodes, the approval ring and the flying edges. |
title | string | "Every run waits for a yes" | The heading above the canvas. |
description | string | "Items move through each step on their own, stop at the approval gate, then go out to every channel at once." | The line under the heading. |
className | string | None |