Skip to main content
A drawer is a workflow made of buttons and workflow steps. Use a drawer when an action has multiple steps, needs output from an earlier step, or should be triggered as a unit.
buttons drawer create release-flow
buttons drawer release-flow add build publish notify
buttons drawer release-flow connect build to publish
buttons drawer release-flow press env=prod

Mental model

ConceptMeaning
DrawerA reusable workflow.
StepA button, sub-drawer, loop, switch, aggregate, or wait.
InputA value supplied when the drawer is pressed.
OutputJSON produced by a step and made available to later steps.
RefA ${...} expression that reads inputs, step outputs, env, or webhook URLs.
Drawers live under .buttons/drawers/<name>/ and record their own run history under pressed/.

How drawers relate to buttons

Buttons are the units of work. Drawers compose them.
button -> one action
drawer -> many actions wired together