Operations & Systems
Telegram to Spotify Music Recommendations
This workflow integrates Telegram, OpenAI, and Spotify to allow users to ask AI to identify music tracks via Telegram, and then automatically add and play them on Spotify. It handles track searches and provides feedback via Telegram.
Built · ~4.5 hours saved per week
This workflow is for anyone who uses Telegram and Spotify. It is helpful for individuals who want to quickly add and play music on Spotify by sending a message through Telegram.
This workflow connects Telegram and Spotify. It allows you to send a message to Telegram with a song or artist name. It then uses AI to find the song on Spotify, adds it to your queue, and plays the song. It also sends you a message back on Telegram to confirm what is now playing.
1. Set up a Telegram Trigger node to listen for new messages. 2. Connect your OpenAI and Spotify accounts. 3. Deploy the workflow. 4. Send a message to your Telegram bot with the song you want to play.
You need accounts for Telegram, OpenAI, and Spotify. You also need an n8n instance to run the workflow.
You can change the AI model or prompt to better suit your needs. You can also change the Spotify actions, for example, to add to a playlist instead of playing immediately. The messages returned to Telegram can also be customized.
Key Technologies: Telegram,OpenAI (GPT-4o-mini),Spotify,n8n
Automation Value: Automatically adds and plays music on Spotify from a Telegram message. Uses AI to understand song requests, even vague ones. Provides immediate feedback on what is playing. Saves time by not requiring manual searching and playing on Spotify.
Best Practices: Use descriptive names for nodes to understand their purpose easily. Implement error handling (e.g., onError: continueErrorOutput) to manage unexpected issues gracefully. Use Sticky Notes for workflow documentation and explanations. Consolidate multiple output paths using a Merge node before a final action. Utilize AI (OpenAI node) for natural language processing to make user input more flexible.
Tags: Music, Audio/Music/Voice, Telegram, OpenAI, AI Assistant
Integrations: Telegram, OpenAI