AutomationFlowsAI & RAG › Music

Music

music. Uses executeWorkflowTrigger, agent, lmChatOpenAi, mcpClientTool. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexityAI-powered4 nodesExecute Workflow TriggerAgentOpenAI ChatMcp Client Tool
AI & RAG Trigger: Event Nodes: 4 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow follows the Agent → Execute Workflow 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": "music",
  "nodes": [
    {
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "question"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1.1,
      "position": [
        -32,
        -96
      ],
      "id": "b69a2a97-e186-41b5-bfb1-98fed21bdb96",
      "name": "When Executed by Another Workflow"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "={{ $json.question }}",
        "options": {
          "systemMessage": "You are a spotify music controller with all the tools available to search for music, curate playlists, and playback media.  Your job is to use these tools to the best of your ability to satisfy the user's request.\n\n"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.1,
      "position": [
        192,
        -96
      ],
      "id": "0abdf40f-95cc-461b-93ab-f223f1b9ae02",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        224,
        128
      ],
      "id": "ebca2662-2aac-4b38-8240-2374acbc9e85",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "endpointUrl": "http://office.0x5f.sh:30765/mcp",
        "serverTransport": "httpStreamable"
      },
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "typeVersion": 1.1,
      "position": [
        352,
        128
      ],
      "id": "a91dbf56-2f0b-43d5-afb7-2d2eac329ccd",
      "name": "MCP Client"
    }
  ],
  "connections": {
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "90a16d7c-f7c6-49fa-8884-99e03c909057",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "vGJmNhR1Lh3za0Ti",
  "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

music. Uses executeWorkflowTrigger, agent, lmChatOpenAi, mcpClientTool. Event-driven trigger; 4 nodes.

Source: https://github.com/reklis/ovos-n8n-jarvis-persona/blob/33fc762ada5e4f88ce1b53d5ae607d9d52c3aae0/workflows/music.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

search. Uses executeWorkflowTrigger, agent, lmChatOpenAi, mcpClientTool. Event-driven trigger; 4 nodes.

Execute Workflow Trigger, Agent, OpenAI Chat +1
AI & RAG

movies. Uses executeWorkflowTrigger, agent, lmChatOpenAi, mcpClientTool. Event-driven trigger; 4 nodes.

Execute Workflow Trigger, Agent, OpenAI Chat +1
AI & RAG

Splitout Redis. Uses executeWorkflowTrigger, n8n, redis, splitOut. Event-driven trigger; 46 nodes.

Execute Workflow Trigger, n8n, Redis +7
AI & RAG

3770. Uses executeWorkflowTrigger, n8n, redis, agent. Event-driven trigger; 46 nodes.

Execute Workflow Trigger, n8n, Redis +7
AI & RAG

Designing agent tools for outcome rather than utility has been a long recommended practice of mine and it applies well when it comes to building MCP servers; In gist, agents to be making the least amo

Execute Workflow Trigger, n8n, Redis +7