Spotify Workflow

Automated workflow: Spotify Workflow. This workflow integrates 11 different services: stickyNote, httpRequest, filter, splitOut, switch. It contains 38 nodes and follows best practices for error handling and security.

Integrations Used (3)

Workflow Structure (24 nodes)
100%
Mqtt Trigger
MQTT Trigger - Remote Switch
Set
Globals
Switch
Remote Action -> Function Router
Http Request
Spotify API - Get Device Status
Spotify
Spotify Next
Http Request
Spotify API - Volume up 5pct
Spotify
Spotify Prev
Http Request
Spotify API - Get Available Devices
Split Out
Extract Individual Devices
Filter
Select Device by Name to get device_id
Http Request
Spotify API - Activate Target Playback Device
If
Already playing on Target Device?
Spotify
Custom Function 2 - P1
Http Request
Custom Function 1 - P1
Switch
Route to Requested Function
Filter
Filter
Spotify
Custom Function 2 - P2
No Op
Oops. How was this reached?
If
Is Playing?
Spotify
Custom Function 2 - P3
Spotify
Spotify Resume
Spotify
Spotify Pause
Http Request
Spotify API - Volume down 5pct
Spotify
Custom Function 1 - P3
Node Types:
logic
http
transform
default
trigger
Requires credentials

Prerequisites

Required Credentials (2)

Mqtt

Used by: MQTT Trigger - Remote Switch

Docs

Spotify

Used by: Spotify Next, Spotify Resume +12 more

Docs

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~35 min
Score: 58/100
Conditional Logic
4 Integrations

When to Use This Workflow

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "nodes": [
    {
      "id": "169e3a8c-82f5-4527-a187-27b8e5d903c1",
      "name": "Spotify Next",
      "type": "n8n-nodes-base.spotify",
      "position": [
        1300,
        -40
      ],
      "parameters": {
        "operation": "nextSong"
      },
      "credentials": {
        "spotifyOAuth2Api": {
          "id": "4AquI6TQMHILfmvx",
          "name": "Spotify App Credentials"
        }
      },
      "typeVersion": 1,
...

Workflow Details

Nodes
26
Trigger
Event
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Remote IOT Sensor monitoring via MQTT and InfluxDB

Automated workflow: Remote IOT Sensor monitoring via MQTT and InfluxDB. This workflow integrates 5 different services: s...

Mqtt
Http-request
6 nodesEvent

Monthly Spotify Track Archiving and Playlist Classification

Monthly Spotify Track Archiving and Playlist Classification This n8n workflow allows you to automatically archive your m...

Http-request
Lmchatanthropic
Spotify
Outputparserstructured
37 nodesScheduled
Curated

Set Workflow

Automated workflow: Set Workflow. This workflow integrates 16 different services: filter, httpRequest, stickyNote, code,...

Http-request
Spotify
Google-sheets
Schedule
37 nodesScheduled

Set Workflow

Automated workflow: Set Workflow. This workflow integrates 16 different services: filter, httpRequest, stickyNote, code,...

Http-request
Spotify
Google-sheets
Schedule
37 nodesScheduled

API Schema Extractor

Stage 1 - Research for API Documentation - Fetch a list of services pending research from Database (Google Sheet) - Uses...

Http-request
Textsplitterrecursivecharactertextsplitter
Documentdefaultdataloader
Executeworkflow
88 nodesEvent
Curated

Classify new bugs in Linear with OpenAI s GPT-4 and move them to the right team

When does this fire? In our setup we have a general team in Linear where we post new tickets to. Additionally, the bug n...

Linear
Http-request
Slack
Openai
12 nodesEvent
Curated