AI Agents

العب with Spotify from Telegram

14 nodes 226 124 Automatic trigger
Download

Workflow Description

An intelligent automation that allows Telegram users to control Spotify and play music through text messages, using OpenAI to understand and execute commands automatically without manual intervention.

How it works

  1. 1.Receive message from Telegram channel and trigger the workflow
  2. 2.Process the text using OpenAI to understand user intent and analyze the command
  3. 3.Execute the command on Spotify (play, pause, skip, search for a track)
  4. 4.Send confirmation message back to the user via Telegram

Use cases

  • Control music playback without opening Spotify directly
  • Search for a specific song or artist and play it instantly from Telegram

Requirements

  • Active Spotify account and API credentials connected
  • Valid OpenAI API connection with appropriate permissions
  • Telegram bot or channel linked to n8n workflow

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 226
Downloads 124

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