AutomationFlowsAI & RAG › AI Chat Agent for Spotify Queue

AI Chat Agent for Spotify Queue

Original n8n title: Spotify Tool

Spotify_tool. Uses chatTrigger, agent, lmChatAzureOpenAi, spotifyTool. Chat trigger; 4 nodes.

Chat trigger trigger★★☆☆☆ complexityAI-powered4 nodesChat TriggerAgentLm Chat Azure Open AiSpotify Tool
AI & RAG Trigger: Chat trigger Nodes: 4 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Spotify_tool",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.3,
      "position": [
        0,
        0
      ],
      "id": "d6bc795f-bcd6-4ea9-b4f6-1a61827d793e",
      "name": "When chat message received"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.2,
      "position": [
        208,
        0
      ],
      "id": "0654674a-28b0-4bca-8306-d2163bc2b416",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "model": "gpt-4o-2",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "typeVersion": 1,
      "position": [
        80,
        208
      ],
      "id": "73f93fac-bc12-4926-b64c-eca85b078924",
      "name": "Azure OpenAI Chat Model",
      "credentials": {
        "azureOpenAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.spotifyTool",
      "typeVersion": 1,
      "position": [
        368,
        208
      ],
      "id": "2d797738-8270-4338-af92-65d1660185ba",
      "name": "Add a song to a queue in Spotify",
      "credentials": {
        "spotifyOAuth2Api": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Add a song to a queue in Spotify": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a9104784-3b35-40ff-96ee-5c22572a8d07",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "hWQ5cmrFklSf7tL6",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Spotify_tool. Uses chatTrigger, agent, lmChatAzureOpenAi, spotifyTool. Chat trigger; 4 nodes.

Source: https://github.com/romellfudi/medium/blob/b295bac6dcf1c1de90c007ba980644c8db5bec82/n8n/Spotify_tool.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

playwright_docker. Uses agent, chatTrigger, lmChatAzureOpenAi, memoryBufferWindow. Chat trigger; 10 nodes.

Agent, Chat Trigger, Lm Chat Azure Open Ai +3
AI & RAG

The aim of the Bakery Data Analytics Workflow is to automate the process of analyzing bakery sales and stock data stored in Google Sheets. It allows bakery owners or managers to interact with an AI as

Chat Trigger, Agent, Memory Buffer Window +2
AI & RAG

Promo Seeker finds fresh, working promo codes and vouchers on the web so your team never misses a deal.

Tool Serp Api, Chat Trigger, Lm Chat Azure Open Ai +3
AI & RAG

This n8n template provides a powerful AI-powered chatbot that acts as your personal Spotify DJ. Simply tell the chatbot what kind of music you're in the mood for, and it will intelligently create a cu

OpenAI Chat, Spotify, Chain Llm +7
AI & RAG

The Project starter bot takes the hassle out of launching projects by automatically creating a well-structured folder system in Dropbox and sending timely notifications through Slack and Gmail. By com

Chat Trigger, Agent, Memory Buffer Window +7