Skip to content
AI Agents

Control Spotify Playback with Smart Telegram Commands

13 nodes 610 192 Automatic trigger
Download

Loading workflow…

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. 1.Receive a text message from a Telegram user requesting music playback
  2. 2.Process the request with OpenAI to understand user intent and search for the requested song or playlist
  3. 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 Merge Set

Details

Trigger Automatic trigger
Nodes 13
Apps 5
Views 610
Downloads 192

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