Roadie

Play a sound action

Automation · 3 min read ·

Plays a sound effect through the Stage source: one sound, or a random one from a folder. Learn its setup, options and use in Roadie Automation.

Play a sound is the sound.play Automation action. Plays a sound effect through the Stage source: one sound, or a random one from a folder.

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.

  • sound — object; required; editor starts with {"id":"roadie-chime","name":"Roadie chime","url":"/sounds/roadie-chime.wav","volume":70,"durationMs":1900}.
    • id: text; minimum 1 characters; maximum 64 characters; required.
    • source: choice; optional; choices: tenant, global, builtin.
    • name: text; maximum 120 characters; required.
    • url: text; maximum 600 characters; required; also checked by an action-specific rule.
    • volume: number; minimum 0; maximum 100; whole number; required.
    • durationMs: number; minimum 0; maximum 600000; whole number; may be null; required.
  • wait — true or false; required; editor starts with false.
  • What it plays — One sound (the default), Random from a folder or From a folder, by name. The folder choices need the Asset library.
  • Folder (folder) — a folder in My assets. Only that folder plays, not its subfolders. An empty folder skips the step and says so in the run log.
  • No repeats until all have played (noRepeat) — with Random from a folder.
  • Sound name (byName) — with From a folder, by name; accepts fill-ins; new steps start with {user}. Plays the sound whose name matches, ignoring capitals and the file ending: {user} plays kajsa.mp3 for Kajsa. No match skips the step and says so in the run log.
  • Sound volume — the folder sound’s volume.

In a flow

Add Play a sound after the event, command or timer that should cause it. Plays a sound effect through the Stage source: one sound, or a random one from a folder.

For orientation, the editor starts with {"sound":{"id":"roadie-chime","name":"Roadie chime","url":"/sounds/roadie-chime.wav","volume":70,"durationMs":1900},"wait":false} in a blank channel. Complete any placeholder destination, resource or text before enabling the flow; passing the field schema alone does not prove this will run.

In tests default: New Play a sound steps start at Apply. 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.

Browse all actions · Use fill-ins