{
  "name": "Automated Sonarr missing episode finder with quality & language filtering",
  "nodes": [
    {
      "id": "b7575322-a8cd-48b1-8989-59e8c10f3fb3",
      "name": "info",
      "type": "n8n-nodes-base.set",
      "position": [
        -220,
        100
      ]
    },
    {
      "id": "bdd74c08-4891-4c55-81a6-1da3c72e8ef5",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        100
      ]
    },
    {
      "id": "8b898b4a-8a53-48cc-8917-2c406e64c95f",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        440,
        100
      ]
    },
    {
      "id": "117443a3-7a83-4c50-a4af-693c11dd6e3c",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -440,
        100
      ]
    },
    {
      "id": "55253fdd-9f78-428d-8fd4-d5f4b74c78ef",
      "name": "Override and add to download queue",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1100,
        -100
      ]
    },
    {
      "id": "da00208f-c5f7-4276-8c66-af5566e387ad",
      "name": "Interactive search for all episodes in this season",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1100,
        100
      ]
    },
    {
      "id": "df7c8bf5-ecc7-4af7-8668-6c47cc86bdf9",
      "name": "Check for Missing Episodes",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        100
      ]
    },
    {
      "id": "971e172b-1961-41b3-ad0b-0936e7a2c591",
      "name": "Validate Quality and Language Match",
      "type": "n8n-nodes-base.if",
      "position": [
        1320,
        175
      ]
    },
    {
      "id": "7ef44e0f-65a9-4579-9599-de626165d022",
      "name": "Filter Series",
      "type": "n8n-nodes-base.code",
      "position": [
        660,
        100
      ]
    },
    {
      "id": "3bf70dc2-c110-44b8-a9b1-59c3f8ce7e01",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        880,
        100
      ]
    }
  ],
  "connections": {
    "info": {
      "main": [
        [
          {
            "node": "Check for Missing Episodes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Filter Series",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Series": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Override and add to download queue",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Interactive search for all episodes in this season",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for Missing Episodes": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Override and add to download queue": {
      "main": [
        [],
        []
      ]
    },
    "Validate Quality and Language Match": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Interactive search for all episodes in this season": {
      "main": [
        [
          {
            "node": "Validate Quality and Language Match",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}