Manual trigger
Event id: automation.manual
Shortcut: manual
Started from Run manually in the UI (or a test run). Loads the workflow from the selected branch, then executes with the supplied inputs.
Inputs
Declare inputs under on.manual.inputs:
on:
manual:
inputs:
environment:
type: choice
options: [staging, production]
default: staging
dry_run:
type: boolean
default: true
Supported input types: string, number, boolean, choice (with options).
At run time you get message, inputs (JSON), and each value as inputs.<name> and bare <name>.
See Manual inputs.