{
  "openruna_format": "flow-graph-v1",
  "title": "0382_Schedule_Spotify_Create_Scheduled",
  "slug": "0382-schedule-spotify-create-scheduled",
  "source_filename": "0382_Schedule_Spotify_Create_Scheduled.json",
  "nodes": [
    {
      "id": "CRON",
      "name": "CRON",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get User's Playlists",
      "name": "Get User's Playlists",
      "integration": "spotify",
      "kind": "action"
    },
    {
      "id": "Switch",
      "name": "Switch",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Get Discover Tracks",
      "name": "Get Discover Tracks",
      "integration": "spotify",
      "kind": "action"
    },
    {
      "id": "Get Archive Tracks",
      "name": "Get Archive Tracks",
      "integration": "spotify",
      "kind": "action"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Check if tracks to add is NOT empty",
      "name": "Check if tracks to add is NOT empty",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Add tracks to Archive playlist",
      "name": "Add tracks to Archive playlist",
      "integration": "spotify",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "CRON",
      "to": "Get User's Playlists"
    },
    {
      "from": "Merge",
      "to": "Check if tracks to add is NOT empty"
    },
    {
      "from": "Switch",
      "to": "Get Discover Tracks",
      "label": "Discover Weekly"
    },
    {
      "from": "Switch",
      "to": "Get Archive Tracks",
      "label": "Discover Weekly Archive"
    },
    {
      "from": "Get Archive Tracks",
      "to": "Merge"
    },
    {
      "from": "Get Discover Tracks",
      "to": "Merge"
    },
    {
      "from": "Get User's Playlists",
      "to": "Switch"
    },
    {
      "from": "Check if tracks to add is NOT empty",
      "to": "Add tracks to Archive playlist"
    }
  ]
}