Templates / AI DJ: Text-to-Spotify playlist generator with Linkup and GPT4

AI DJ: Text-to-Spotify playlist generator with Linkup and GPT4

Ready for 3.0

by Guillaume Duvernay ✓ · 1,029 views · created 2025-09-21 · Content Creation

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 13 nodes and runs when someone submits an n8n form (“Spotify playlist AI generator”). Along the way it connects Spotify, OpenAI Chat Model and HTTP Request. It also calls api.linkup.so over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Spotify playlist AI generator”).

  1. Ideate playlist (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Web query to find tracks); output parser: Structured Output Parser
  2. Create playlist (Spotify): create (playlist)
  3. Get tracks array (Edit Fields (Set)): sets 1 field: Tracks
  4. Split Out: splits a list into separate items
  5. Search the track (Spotify): search (track)
  6. Get track IDs (Edit Fields (Set)): sets 1 field: Track ID
  7. Add track to playlist (Spotify): work with playlist
  8. Get the final playlist (Spotify): get (playlist)
  9. Opening the playlist (n8n Form): shows the next form page

Services it uses

SpotifyOpenAI Chat ModelHTTP Request

HTTP calls to: api.linkup.so

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

From the author

Quick overview Describe a playlist idea and track count in a web form, and an AI agent researches matching songs on the live web via Linkup, curates a tracklist and title, builds the playlist in your Spotify account, then redirects you straight to it. How it…

Excerpt from Guillaume Duvernay'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.