AI Agents
Control Spotify Playback from Telegram with AI Commands
14 nodes
311
153
Automatic trigger
Workflow Description
Automates music control by allowing users to send natural language commands through Telegram to Spotify. OpenAI processes user intent from messages, then executes corresponding Spotify actions like play, pause, or skip with confirmation feedback.
How it works
- 1.Receive and parse Telegram messages for music control intent
- 2.Process natural language commands through OpenAI to determine action
- 3.Execute corresponding Spotify playback actions (play, pause, skip)
- 4.Send confirmation status back to user via Telegram
Use cases
- Play a specific song on Spotify using simple Telegram text messages
- Control playback without opening the Spotify app directly
- Create dynamic playlists based on conversational requests from Telegram
Requirements
- Active Telegram account with bot integration
- OpenAI API key configured
- Authenticated Spotify account connection
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
311
Downloads
153
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