Skip to content

Spotify Actions

Control Spotify directly from your Canoryn agents.

Setup

  1. Open Canoryn Settings → Integrations
  2. Click Connect Spotify
  3. Authorize in your browser

Available Actions

spotify.play

Start or resume playback.

InputTypeDescription
queryString (optional)Song, artist, or playlist to play
uriString (optional)Spotify URI

Example: "Play Lofi beats"

spotify.pause

Pause current playback.

spotify.next

Skip to next track.

spotify.previous

Go to previous track.

spotify.volume

Set volume level.

InputTypeDescription
levelNumber0-100

spotify.get_current

Get currently playing track.

OutputTypeDescription
trackStringTrack name
artistStringArtist name
albumStringAlbum name
is_playingBooleanPlayback state

Blueprint Examples

Mood-Based Music

[Voice: "I'm feeling stressed"]


[AI Classify: mood = "stressed"]


[Spotify Play: "calm relaxing music"]

Focus Mode Integration

[Voice: "Focus mode"]

        ├──▶ [Close Slack]
        ├──▶ [Enable DND]
        └──▶ [Spotify Play: "lo-fi beats"]

Notes

  • Requires Spotify Premium for full control
  • Free accounts can only control local playback