See llms.txt for all machine-readable content.

Spotify and Telegram integration

Save yourself the work of writing custom integrations for Spotify and Telegram and use n8n instead. Build adaptable and scalable Miscellaneous, workflows that work with your technology stack. All within a building experience you will love.

How to connect Spotify and Telegram

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Spotify and Telegram integration: Create a new workflow and add the first step

Telegram to Spotify with OpenAI

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 to figure out the song and sends it to an active Spotify device**. Use case Imagine an office where you play music in the background and the employees can control the music without having to login to the playing account. How it works You describe the song in Telegram. Telegram bot sends the text to n8n. An OpenAI message model tries to find the song. Spotify gets the search query string. First match is then added to queue. -- If there is no match a message is sent to Telegram and the process ends. We change to the next track in the list. We make sure the song starts playing by trying to resume. We fetch the currently playing track. We return "now playing" information to Telegram: Song Name - Artist Name - Album Name. Error handling Every Spotify step has it's on error handler under settings where we output the error. Message parser receives the error and sends it to Telegram. Requirements Active workflow* OpenAI API key Telegram bot Spotify account and Oauth2 API Spotify active on a device** .* The Telegram trigger is activated only if this workflow is active. You can however TEST the workflow in the editor by clicking "Test step" and then it waits for the Telegram event. When event is received, just step through all steps or just clicking "Test step" on the "Fetch Now Playing" node. .** You must have a Spotify device active when trying to communicate with a device. Open Spotify and play something - not it is active.

Build your own Spotify and Telegram integration

Create custom Spotify and Telegram workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Spotify supported actions

Telegram supported actions

Spotify and Telegram integration details

Spotify

Spotify

Spotify is a digital music service that allows you to listen to millions of songs streaming on different devices. It contains music from any genre and era, including the hits of the moment.

Telegram

Telegram

Telegram is one of the fastest and most secured messaging apps on the market, connecting people via unique distributed network of data centers around the globe. You can create group chats up to 200,000 members, share large videos and documents of any type. It is completely free, and offers many unique features and options.

FAQ about Spotify integrations

Need help setting up your Spotify and Telegram integration?

Discover our latest community's recommendations and join the discussions about Spotify and Telegram integration.

  • Trigi Digital

    Telegram Node Error connect ETIMEDOUT

    Trigi Digital

    Describe the problem/error/question I haved 2 n8n installation with same web server and config (Nothing different from firewall etc): n8n version 1.42.1 > No problem n8n version 1.46.0 > Upgrade from 1.44.1 and this is…

    Open topic
  • lg-n9n

    Error Due to Telegram API limitations, you can use just one Telegram trigger for each bot at a time

    lg-n9n

    Hello, i am hosting n8n local on a VPS. I am working on a workflow that starts with a telegram trigger. At first i created multiple telegram triggers until i got the following error Due to Telegram API limitations, you…

    Open topic
  • kingcatlite

    Telegram bot how to - (im still new)

    kingcatlite

    Hi there, this tool is very exciting and im currently having fun trying it out, especially about the possibility for it to make telegram integration and chatbot so i manage to make a simple telegram chatbot that can ans…

    Open topic
  • Sanders Röhling Immobilien

    Telegram AI Agent creates infinite loop by reacting to its own messages

    Sanders Röhling Immobilien

    I am building a Telegram AI agent in n8n to automatically communicate with tenants. The agent decides whether it can answer directly or needs to escalate the message to a team lead. My current workflow structure is: Te…

    Open topic
  • Sanders Röhling Immobilien

    Help: AI Agent with two Telegram tools either returns “Bad request” or sends no message at all

    Sanders Röhling Immobilien

    Hi everyone, I’m currently building a Telegram chatbot in n8n using the AI Agent node. The goal is to create a tenant support bot for property management. The planned logic is the following: The bot receives a messa…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Spotify with Telegram

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship