Generate AI-curated Spotify playlists from Telegram using OpenRouter GPT
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 12 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenRouter Chat Model and Spotify.
How it runs
Trigger: On Telegram events (message).
- Create a playlist (Spotify): create (playlist)
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; output parser: Structured Output Parser
- Send a text message (Telegram): uses Telegram
- Split Out: splits a list into separate items
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Search tracks by keyword (Spotify): search (track)
- If: checks a condition and branches into true / false
- Add an Item to a playlist (Spotify): work with playlist
- Wait: pauses before continuing
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Spotify
n8n-nodes-base.spotify - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
🎵 AI Spotify Playlist Generator (Telegram → Spotify) instantly create a curated Spotify playlist based on a single song recommendation sent via Telegram. This workflow uses an AI Agent to generate similar tracks, creates a new playlist, sends you the link…