Interactive Spotify Control via Telegram and AI

somdn_product_page

This n8n workflow enables users to control and inquire about Spotify tracks directly through Telegram messages, augmented by AI assistance. When a message is received on Telegram, the workflow triggers and processes the text using OpenAI’s GPT model to interpret user intent — whether to identify a song and artist or describe a song they can’t recall. If a specific track is mentioned, the workflow searches for it on Spotify. If found, the track is added to the user’s playlist, and playback is made to skip to the new song and resume playing. Additionally, users can request information about the currently playing track, which is fetched from Spotify and communicated back via Telegram. Error handling is incorporated to manage cases where the track isn’t found or other issues occur, providing clear feedback. This setup is practical for music lovers who want a hands-free way to request songs, discover new music, or get details about what’s playing, all through simple Telegram commands enhanced by AI understanding.

Node Count

11 – 20 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.openAi, if, merge, set, spotify, stickyNote, telegram, telegramTrigger

Reviews

There are no reviews yet.

Be the first to review “Interactive Spotify Control via Telegram and AI”

Your email address will not be published. Required fields are marked *