🎧 Spotify Integration with Lyzr
With Spotify integration, Lyzr enables your AI agents to control music playback, manage playlists, and interact with users’ listening preferences—perfect for entertainment, mood tracking, and contextual personalization.
✨ Key Features
- Play, pause, skip, or resume tracks.
- Access user playlists and liked songs.
- Search for songs, artists, and genres.
- Create or update playlists dynamically.
💼 Example Use Cases
1. Mood-based Playlist Generator
Create or curate playlists based on sentiment detected from conversation.
Prompt: “I’m feeling low today.”
Agent: “Here’s a calming playlist to lift your mood 🎵”
2. Context-aware DJ Bot
An AI DJ that picks songs based on time of day, weather, or your work mode.
Workflow: Lyzr Agent → Weather/Time API → Spotify playlist update
3. Party Mode Playlist Agent
Let users add songs to a shared playlist using natural commands in a group chat.
“Add ‘Levitating by Dua Lipa’ to my weekend party playlist.”
🔑 Permissions Required
- User-read-private
- User-library-read
- Streaming & Playback controls
- Playlist-modify-public/private
🛠 How to Set Up
- Navigate to Tools > Add Spotify Integration.
- Authenticate with your Spotify account (OAuth flow).
- Grant read/write access to playlists and playback.
- Test with:
“Play my morning productivity playlist now.”
Spotify + Lyzr = smarter, more personalized audio experiences.