← All agents

Messaging & email · One purpose, multiple implementations

Match Spotify Tracks to YouTube Videos

Adapt the published “Match Spotify Tracks to YouTube Videos” workflow to other implementations while preserving its documented behavior.

The source contains 45 executable nodes and 50 connections. This draft is derived from the n8n export; it needs a human-reviewed purpose, input/output contract, and behavioral tests before a port can claim equivalence.

Open agent files on GitHub ↗

Shared workflow

This initial Mermaid diagram shows observed connections from the n8n source, including model and tool dependencies. Unresolved connections are listed under Evidence. It is a starting point for the shared design; it does not execute the agent or establish correctness.

Rendering the workflow diagram…

Read the Mermaid source
flowchart LR
  n0["Get playlist snapshot"]
  n1["Get playlist snapshot1"]
  n2["If different snapshot"]
  n3["Get all musics"]
  n4["Update to_delete to true"]
  n5["Add music"]
  n6["Compare Datasets"]
  n7["Spotify"]
  n8["No Operation, do nothing"]
  n9["Get all musics not in youtube playlist"]
  n10["Every day at noon"]
  n11["Every day at noon #43; 1mn"]
  n12["Every hour"]
  n13["Wait 1 hour"]
  n14["variables"]
  n15["Search video"]
  n16["Get video duration"]
  n17["Loop Over Items"]
  n18["If video duration #126;#61; music duration"]
  n19["Add music to playlist"]
  n20["Add youtube id to row"]
  n21["Discord"]
  n22["Discord1"]
  n23["Set youtube id to NOTFOUND if no matching"]
  n24["Aggregate"]
  n25["If no result"]
  n26["data"]
  n27["variables2"]
  n28["variables1"]
  n29["Loop Over Items1"]
  n30["data1"]
  n31["Get playlist items"]
  n32["Playlist items to be deleted"]
  n33["Get all musics that should be in playlist"]
  n34["Remove Duplicates"]
  n35["Remove video from playlist"]
  n36["Check for deleted videos"]
  n37["Set youtube_video_id to null"]
  n38["Get all musics to be deleted"]
  n39["Delete music"]
  n40["Every day at midnight"]
  n41["variables3"]
  n42["Reset NOTFOUND id to NULL"]
  n43["variables4"]
  n44["Every month"]
  n26 -->|"main out 0 to in 0"| n29
  n30 -->|"main out 0 to in 0"| n15
  n7 -->|"main out 0 to in 0"| n6
  n5 -->|"main out 0 to in 0"| n26
  n24 -->|"main out 0 to in 0"| n23
  n14 -->|"main out 0 to in 0"| n0
  n12 -->|"main out 0 to in 0"| n14
  n28 -->|"main out 0 to in 0"| n9
  n27 -->|"main out 0 to in 0"| n7
  n27 -->|"main out 0 to in 0"| n3
  n41 -->|"main out 0 to in 0"| n33
  n41 -->|"main out 0 to in 0"| n31
  n41 -->|"main out 0 to in 0"| n38
  n43 -->|"main out 0 to in 0"| n42
  n44 -->|"main out 0 to in 0"| n43
  n13 -->|"main out 0 to in 0"| n1
  n25 -->|"main out 0 to in 0"| n24
  n25 -->|"main out 1 to in 0"| n17
  n15 -->|"main out 0 to in 0"| n25
  n3 -->|"main out 0 to in 1"| n6
  n17 -->|"main out 0 to in 0"| n24
  n17 -->|"main out 1 to in 0"| n16
  n6 -->|"main out 0 to in 0"| n5
  n6 -->|"main out 3 to in 0"| n4
  n29 -->|"main out 1 to in 0"| n30
  n10 -->|"main out 0 to in 0"| n27
  n34 -->|"main out 0 to in 0"| n35
  n31 -->|"main out 0 to in 0"| n32
  n31 -->|"main out 0 to in 1"| n36
  n16 -->|"main out 0 to in 0"| n18
  n19 -->|"main out 0 to in 0"| n20
  n20 -->|"main out 0 to in 0"| n29
  n20 -->|"main out 0 to in 0"| n21
  n40 -->|"main out 0 to in 0"| n41
  n0 -->|"main out 0 to in 0"| n13
  n2 -->|"main out 0 to in 0"| n7
  n2 -->|"main out 0 to in 0"| n3
  n2 -->|"main out 1 to in 0"| n8
  n1 -->|"main out 0 to in 0"| n2
  n11 -->|"main out 0 to in 0"| n28
  n36 -->|"main out 0 to in 0"| n37
  n35 -->|"main out 0 to in 0"| n39
  n38 -->|"main out 0 to in 1"| n32
  n32 -->|"main out 2 to in 0"| n34
  n18 -->|"main out 0 to in 0"| n19
  n18 -->|"main out 1 to in 0"| n17
  n9 -->|"main out 0 to in 0"| n26
  n33 -->|"main out 0 to in 0"| n36
  n23 -->|"main out 0 to in 0"| n29
  n23 -->|"main out 0 to in 0"| n22
Read the specification and unresolved requirements ↗

Implementations

Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.

Plain Python

Planned · no code yet

Read the implementation plan ↗

Pydantic AI

Planned · no code yet

Read the implementation plan ↗

CrewAI Flow

Planned · no code yet

Read the implementation plan ↗

CrewAI Crew

Planned · no code yet

Read the implementation plan ↗

LangGraph

Planned · no code yet

Read the implementation plan ↗

Build or operate with an assistant

Each prompt includes separate build and operating instructions tailored to this agent. They are untested instructions, not working implementations. Check the chosen product’s actual capabilities before using it.

Evidence and remaining work

The bulk collection has publication checks, not live-service testing. Diagrams and prompts are documentation. A port needs reviewed schemas, fixtures, actual execution results, and explicit limits before claiming equivalent behavior.

  • Define input/output schemas and expected outputs.
  • Review source expressions, external actions, and failure behavior.
  • Determine whether model judgment is required or deterministic rules suffice.

Curated by Nik Bear Brown. Preserve each implementation’s original attribution and license. These source templates are separate from the audited Claude directory.