🎬 Create AI-generated Spotify playlists with GPT-5 and email the link

⚡ 42 views · 🎬 Content Creation & Video

Description

How it works: When a user submits a form with event details, the workflow sends this information to OpenAI’s GPT-5 model, which generates a curated list of 18–32 songs tailored to the occasion and audience. The workflow then searches Spotify for each recommended song, creates a new playlist on the user’s Spotify account, adds all the tracks, and sends the user an email with a direct link to listen.

Key Features:

Step-by-step: Form Submission Trigger: User submits event details (occasion, guests, preferences, and email) through the web form.

AI Playlist Generation: OpenAI’s GPT-5 generates a curated list of 18–32 songs based on the provided event context.

Spotify Integration: The workflow searches Spotify for each song, creates a new playlist, and adds all found tracks to the user’s account.

Email Notification: User receives an email with the playlist name and a direct Spotify link to listen immediately.

API Keys Required

Response Generation The AI model receives event details and generates a structured JSON response containing a playlist name, 18–32 song recommendations with artist credits, and HTML-formatted content for website integration, all in the user’s language.

🔗 Nodes Used

Send Email, HTTP Request, AI Agent, OpenAI Chat Model, Structured Output Parser, n8n Form Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup