Telegram to Spotify with OpenAI
Ready for 3.0What 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).
- OpenAI: uses OpenAI
- Merge: merges the data from its input branches
- Search track (Spotify): search (track)
- Return message to Telegram (Telegram): uses Telegram
- If: checks a condition and branches into true / false
- Message parser (Edit Fields (Set)): sets 1 field: message
- Add song (Spotify): uses Spotify
- Not found error message (Edit Fields (Set)): sets or maps fields
- Next Song (Spotify): next song
- Resume play (Spotify): resume
…plus 2 more steps. See the full node list below.
Services it uses
Other Telegram + OpenAI templates (807) · Other Spotify + OpenAI templates (7)
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)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi - Spotify
n8n-nodes-base.spotify - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram
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…