β¨ 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.