Templates / Telegram to Spotify with OpenAI

Telegram to Spotify with OpenAI

Ready for 3.0

by Alexander Bentlund · 2,833 views · created 2024-11-05 · Personal Productivity, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI and Spotify.

How it runs

Trigger: On Telegram events (message).

  1. OpenAI: uses OpenAI
  2. Merge: merges the data from its input branches
  3. Search track (Spotify): search (track)
  4. Return message to Telegram (Telegram): uses Telegram
  5. If: checks a condition and branches into true / false
  6. Message parser (Edit Fields (Set)): sets 1 field: message
  7. Add song (Spotify): uses Spotify
  8. Not found error message (Edit Fields (Set)): sets or maps fields
  9. Next Song (Spotify): next song
  10. Resume play (Spotify): resume

…plus 2 more steps. See the full node list below.

Services it uses

TelegramOpenAISpotify

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Search music and play to Spotify from Telegram This workflow is a simple demonstration on accessing a message model from Telegram and it makes searching for songs an easy task even if you can't remember the artist or song name. An OpenAI message model tries…

Excerpt from Alexander Bentlund's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.