AI Agents
Control Spotify Playback with Smart Telegram Commands
14 nodes
322
141
Automatic trigger
Workflow Description
An automation that receives messages from Telegram, processes them with artificial intelligence to play songs and playlists on Spotify automatically, enabling music control through natural language without opening the app.
How it works
- 1.Receive a text message from a Telegram user requesting music playback
- 2.Process the request with OpenAI to understand user intent and search for the requested song or playlist
- 3.Play the audio track on Spotify and send a confirmation message back to the Telegram user
Use cases
- Control music playlists without opening the Spotify app directly
- Request specific songs using natural language like 'play relaxing study music'
- Enjoy a seamless and quick music experience while working or studying
Requirements
- Active Telegram account and connected Spotify account with API access
- Valid OpenAI API key and proper bot permissions in Telegram
- Stable internet connection and full permissions to control Spotify playback
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Telegram
OpenAI
If
Details
Trigger
Automatic trigger
Nodes
14
Apps
3
Views
322
Downloads
141
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (14)
/
Telegram Trigger
Set
OpenAI - Ask about a track
OpenAI
Search track
If
Add song
If
Next Song
If
Resume play
If
Currently Playing
If
Sticky Note
Sticky Note
Merge
Merge
If
If
Message parser
Set
Not found error message
Set
Return message to Telegram
Set
Define Now Playing
Set