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

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

Ready for 3.0

by Ufuk Ören · 45 views · created 2025-11-30 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs when someone submits an n8n form (“Playlist Maker”). Along the way it connects OpenAI Chat Model. It also calls api.spotify.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Playlist Maker”).

  1. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  2. Get Spotify User ID (HTTP Request): calls api.spotify.com
  3. Split Out: splits a list into separate items
  4. Create Spotify Playlist (HTTP Request): calls an HTTP API (POST)
  5. Search Spotify for Song (HTTP Request): calls an HTTP API
  6. Extract Playlist ID (Edit Fields (Set)): sets 1 field: playlistId
  7. Extract Track URI (Edit Fields (Set)): sets 1 field: trackUri
  8. Merge: merges the data from its input branches
  9. Build URIs Array (Code): runs custom JavaScript code
  10. Add Tracks to Playlist (HTTP Request): calls an HTTP API (POST)

…plus 1 more step. See the full node list below.

Services it uses

OpenAI Chat Model

HTTP calls to: api.spotify.com

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 (10)

From the author

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…

Excerpt from Ufuk Ören's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.