AI Agents

Control Spotify playback with intelligent Telegram commands

14 nodes 227 147 Automatic trigger
Download

Workflow Description

Automation that listens to Telegram messages, analyzes them with AI to understand user intent, and executes Spotify commands instantly. Enables hands-free music control through natural language instructions, perfect for managing playback without opening the app.

How it works

  1. 1.Receive voice or text commands from Telegram users
  2. 2.Process the message with OpenAI to extract intent and song details
  3. 3.Execute the Spotify command and send confirmation status back to Telegram

Use cases

  • Play specific songs or artists directly from Telegram chat
  • Search and stream music using natural language queries
  • Manage playlists and control playback volume through text commands

Requirements

  • Active Telegram account and properly configured bot token
  • OpenAI API key for natural language understanding
  • Spotify account (Free or Premium) with API access permissions

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 227
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