Switch a trigger on or off action
Automation · 2 min read ·
Turns another trigger on or off. Learn its setup, options and use in Roadie Automation.
Switch a trigger on or off is the automation.trigger_switch Automation action. Turns another trigger on or off.
Availability: Choose this action in a flow when its feature and required connections are available to your channel. Before you start: Create or open an Automation flow with a trigger.
Options and starting values
The values below are what the editor starts with for a channel with no matching resources selected. They are starting values, not a guarantee that the step can run as shown. Required resource choices and trigger fields may change the starting values.
kind— choice; required; choices:command,redeem,event,timer,webhook; editor starts withtimer.triggerId— text; minimum 1 characters; maximum 100 characters; required; editor starts with ``.mode— choice; required; choices:on,off,toggle; editor starts withoff.
Before saving: Complete the required choices or values; the blank-channel starting state does not pass validation.
In a flow
Add Switch a trigger on or off after the event, command or timer that should cause it. Turns another trigger on or off.
For orientation, the editor starts with {"kind":"timer","triggerId":"","mode":"off"} in a blank channel. Choose the missing resources or values before saving; this is not a ready-to-run configuration.
In tests default: New Switch a trigger on or off steps start at Skip. The trigger editor’s Run test currently applies every action regardless of this per-step default. Use a harmless flow when learning the Test panel; a test can make real changes.
Values for later steps
This action does not declare a named output for later steps.
If the step fails
The run log records the failed step and its reason. The step’s Stop the run if it fails setting decides whether later steps run. Missing connections, permissions, or required choices can prevent this step from completing.