AI Agents

العب with Spotify from Telegram

14 nodes 247 125 Automatic trigger
Download

Workflow Description

Automation that lets users control Spotify directly from Telegram using AI-powered commands processed by OpenAI. Play, pause, and manage your music without leaving the messaging app, making music control seamless and hands-free.

How it works

  1. 1.Receive incoming messages and user commands from Telegram through the trigger mechanism
  2. 2.Process user input with OpenAI to understand intent and extract the specific music action requested
  3. 3.Execute the corresponding Spotify command such as playing a track, pausing, or skipping
  4. 4.Send confirmation feedback to Telegram with details of what action was completed

Use cases

  • Play a specific song or playlist by sending a simple text request via Telegram without opening Spotify
  • Control advanced playback features like pause, skip, or volume adjustment through natural language commands
  • Query current playing information and receive instant details about the track, artist, and album

Requirements

  • Active Telegram account with a properly configured bot that can receive messages
  • Valid OpenAI API key with sufficient permissions to process language requests
  • Authorized Spotify account connection that permits remote playback control and music management

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 247
Downloads 125

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