AI Agents

العب with Spotify from Telegram

14 nodes 225 147 Automatic trigger
Download

Workflow Description

Receive commands from Telegram, use OpenAI to understand intent, and control Spotify playback (play, pause, skip) directly from chat. Execute music management without leaving Telegram while maintaining full control over your listening experience.

How it works

  1. 1.Receive message from Telegram user
  2. 2.Process text with OpenAI to identify command intent (play, pause, skip, etc.)
  3. 3.Execute corresponding action on connected Spotify account
  4. 4.Send confirmation status back to Telegram

Use cases

  • Control Spotify playback without opening the app from Telegram
  • Play specific songs or playlists using natural language commands
  • Manage playback, pause, and skip functions from chat interface

Requirements

  • Active Telegram account with configured bot token
  • Spotify account connected to n8n
  • OpenAI API key for natural language processing

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 225
Downloads 147

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 (14)

/

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