{
  "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": []
}