Roadie

Play or queue a song action

Automation · 2 min read ·

Plays a song on your Spotify or adds it to the queue.

Play or queue a song is the music.play Automation action. Plays a song on your Spotify or adds it to the queue.

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.

  • uri — text; maximum 500 characters; required; editor starts with ``; accepts fill-ins.
  • mode — choice; required; choices: play, queue; editor starts with play.
  • startMs — number; minimum 0; maximum 3600000; whole number; required; editor starts with 0.
  • holdSeconds — number; minimum 0; maximum 600; whole number; required; editor starts with 0.

In a flow

Add Play or queue a song after the event, command or timer that should cause it. Plays a song on your Spotify or adds it to the queue.

For orientation, the editor starts with {"uri":"","mode":"play","startMs":0,"holdSeconds":0} 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 or queue a song 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