Skip to content
AI Agents

Control Spotify Playback from Telegram with AI Commands

13 nodes 566 198 Automatic trigger
Download

Loading workflow…

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. 1.Receive and parse Telegram messages for music control intent
  2. 2.Process natural language commands through OpenAI to determine action
  3. 3.Execute corresponding Spotify playback actions (play, pause, skip)
  4. 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 Merge Set

Details

Trigger Automatic trigger
Nodes 13
Apps 5
Views 566
Downloads 198

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (13)

/

Telegram Trigger

Set

#1

OpenAI - Ask about a track

OpenAI

#2

Search track

If

#3

Add song

If

#4

Next Song

If

#5

Resume play

If

#6

Currently Playing

If

#7

Sticky Note

Sticky Note

#8

Merge

Merge

#9

If

If

#10

Message parser

Set

#11

Not found error message

Set

#12

Return message to Telegram

Set

#13

Define Now Playing

Set

#14
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime