Dynamic media library with on-demand downloads for Radarr/Sonarr and Plex
Ready for 3.0What this workflow does
This workflow has 81 nodes and runs when an HTTP GET request hits its webhook URL (plus 3 other triggers). It uses only n8n's built-in nodes. It also calls apis.justwatch.com, 0.0.0.0:8181 and 0.0.0.0:5055 over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 3 other triggers).
- Call JustWatch API (HTTP Request): calls apis.justwatch.com (POST)
- Call Trakt API (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Switch: routes items into 3 branches
- If: checks a condition and branches into true / false
- Format JustWatch results (Code): runs custom JavaScript code
- Format JustWatch results (Code): runs custom JavaScript code
- Set fields for collection (Edit Fields (Set)): sets 3 fields: collectionId, objectType, data
- If: checks a condition and branches into true / false
- Radarr movie (HTTP Request): calls an HTTP API
…plus 67 more steps. See the full node list below.
HTTP calls to: apis.justwatch.com, 0.0.0.0:8181, 0.0.0.0:5055
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 (12)
- Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - SSH
n8n-nodes-base.ssh - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - Wait
n8n-nodes-base.wait
From the author
n8n Placeholdarr for Plex (BETA) This flow creates dummy files for every item added in your Arrs (Radarr/Sonarr) with the tag unprocessed-dummy. It’s useful for maintaining a large Plex library without needing the actual movies or shows to be present on your…