Skip to Content
sdeck docs

Automations

Workflows, and what starts them.

Workflows

A workflow is a chain of steps. Build it as a list or as a graph; both show the same workflow.

StepWhat it does
ActionRuns any plugin's action
Run workflowRuns another workflow
NavigateChanges the page of the deck it runs on, or of another
ScriptRuns JavaScript
UndoTakes back the last action that can be undone
Delay, Wait untilWaits a while, or until something is true
If / else, Loop, ParallelBranches, repeats, or does several things at once
Try / fallback, StopGoes on after something failed, or ends the workflow
Set variable, Emit event, LogStores a value, tells other workflows, or writes to the log

Fields take expressions and {{live values}}. The result of a step can be kept in a variable for the steps after it.

What starts them

  • A button: run the workflow from a key, a hold or a double press.
  • A trigger: every few seconds, at a time of day, when a condition becomes true, when a variable changes, or on an event. Plugins add more, such as a new follower or the next song.
  • Hotkeys & MIDI: a keyboard shortcut, a MIDI note or control, or an OSC message.

What happened is in the steps as event: {{event.name}}.

Seeing what it did

Activity lists every run with each of its steps, how long they took and what failed. Click beside a step to set a breakpoint: the run pauses there, and you go on step by step.

On this page