Skip to content
PixiKit

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
NameTypeDefaultDescription
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.
approveLabelstring"Approve"The button on the approval node.
approvedLabelstring"Approved"The approval node's line once it is approved.
showLogbooleantrueShow the run log beside the canvas (under it on a phone).
logLinesstring[][]The log's line for each node once it is done, in node order; each node's title when missing or empty.
loopbooleantruePlay the run again after a pause.
accentColorstring"#7c3aed"The colour of running nodes, the approval ring and the flying edges.
titlestring"Every run waits for a yes"The heading above the canvas.
descriptionstring"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.
classNamestringNone

Related