Templates / Classify Plex music into smart playlists using Ollama and local LLMs

Classify Plex music into smart playlists using Ollama and local LLMs

Ready for 3.0

by Thomas Wesseling · 6 views · created 2026-08-02 · Content Creation, AI Summarization

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 workflow has 31 nodes and runs on a schedule (every week at 22:00). It uses only n8n's built-in nodes. It also calls my_host_or_ip:32400 and my_ollama_host_or_ip:11434 over HTTP.

How it runs

Trigger: On a schedule (every week at 22:00).

  1. HTTP Request: calls my_host_or_ip:32400
  2. HTTP Request: calls my_host_or_ip:32400
  3. Code: runs custom JavaScript code
  4. [ Clear Store ] (Code): runs custom JavaScript code
  5. Set Offset (Edit Fields (Set)): sets 2 fields: offset, sectionId
  6. HTTP Fetch Plex Lib Data (HTTP Request): calls an HTTP API
  7. Code: runs custom JavaScript code
  8. If: checks a condition and branches into true / false
  9. Return Track List (Code): runs custom JavaScript code
  10. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 20 more steps. See the full node list below.

HTTP calls to: my_host_or_ip:32400, my_ollama_host_or_ip:11434

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

From the author

Quick overview A scheduled workflow that (1) fetches all tracks from a Plex Music library, (2) sends them in batches to a local Ollama LLM for playlist classification, (3) recreates and populates matching Plex playlists. How it works 1. Runs weekly on a…

Excerpt from Thomas Wesseling'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.