{
  "name": "Generate PR Draft For a New Single_Template",
  "tags": [],
  "nodes": [
    {
      "id": "b119e102-a001-46f6-9eee-54ccb00369fb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        -272
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "abfb7121-031d-40c7-b916-fabd6e4ae462",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -256,
        -128
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e0de8153-140c-4bd6-b6c2-7216c9a3b791",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bcaa5041-e3e2-4959-bf06-2e1b395db5ce",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -256
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "eb4a52c8-a887-456b-9402-4fdaa56a5145",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        -208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "55eb0615-f05d-449e-8441-2b2e7e2ce865",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        848,
        112
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d056c196-c13a-4919-ae03-cc9e220087f2",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        -272
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8e550c10-02fd-4a23-ab1a-53e98b1bd96b",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        -272
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "58f194f2-7feb-4250-8f33-c95b0466256d",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2768,
        64
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a3494d66-9e2b-4963-b3a9-853820df761a",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3136,
        -272
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4f21ed37-98e0-4444-9a70-4fe50d06618a",
      "name": "Form Submission Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -208,
        0
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b11f5ea1-03b5-4b0f-a6ba-8ec65ace9765",
      "name": "If Lyrics File Uploaded",
      "type": "n8n-nodes-base.if",
      "position": [
        64,
        0
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d7bd7269-c361-40d1-add9-e6e6a98917dd",
      "name": "Extract Lyrics from Text",
      "type": "n8n-nodes-base.code",
      "position": [
        336,
        -80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d454633a-e991-4c98-b1e3-c51ed985e066",
      "name": "Post to Whisper API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        336,
        80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "404840f9-e35e-48f0-98a9-c66653170db8",
      "name": "Parse Whisper Transcription",
      "type": "n8n-nodes-base.code",
      "position": [
        528,
        80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7c5846a3-034d-454c-bfae-95557cd53381",
      "name": "Verify Audio File Size",
      "type": "n8n-nodes-base.code",
      "position": [
        752,
        -80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "1b24d606-9bf5-4486-a9a0-0264e91dc26c",
      "name": "If Audio Size Acceptable",
      "type": "n8n-nodes-base.if",
      "position": [
        912,
        -80
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ca9ba64b-09fc-441b-b780-f855b4874984",
      "name": "Handle Size Error",
      "type": "n8n-nodes-base.code",
      "position": [
        896,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a21fbe68-fa9b-43cc-8da9-516e0c0accc1",
      "name": "Convert Audio to Base64",
      "type": "n8n-nodes-base.code",
      "position": [
        1120,
        -96
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "51cffd31-ebc6-489c-ba97-3b008685d777",
      "name": "Post to GPT-4o for Analysis",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1344,
        -144
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "dd9181e6-1cf3-4595-a9f4-3911729a5be2",
      "name": "Parse Audio Analysis Results",
      "type": "n8n-nodes-base.code",
      "position": [
        1520,
        -96
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d315925c-4754-42f2-862c-9c86b3d5f59c",
      "name": "If Band Bio Provided",
      "type": "n8n-nodes-base.if",
      "position": [
        1696,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "37b7dd28-9cbd-423a-85fa-db1b0db7e954",
      "name": "Use Existing Band Bio",
      "type": "n8n-nodes-base.code",
      "position": [
        1872,
        -160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "823fae69-b301-4e56-a5bd-2bf80f2c14a9",
      "name": "Post Artist Query Online",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1872,
        -16
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b2dfb399-ab42-4173-8e11-bde61178c5c2",
      "name": "If Research Quality Sufficient",
      "type": "n8n-nodes-base.if",
      "position": [
        2048,
        48
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "88f744f0-1544-4e39-94f7-1880e0a8e52a",
      "name": "Apply Research Results",
      "type": "n8n-nodes-base.code",
      "position": [
        2224,
        -48
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "91323a49-2192-4bad-8066-ef8dd0489ec8",
      "name": "Use Default Band Bio",
      "type": "n8n-nodes-base.code",
      "position": [
        2224,
        112
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "81752111-b6b6-4973-9042-3646614d6eb5",
      "name": "Post for Song Interpretation",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2608,
        -128
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "66a55105-8780-41c6-b17a-cae7cd7d4522",
      "name": "Parse Song Interpretation",
      "type": "n8n-nodes-base.code",
      "position": [
        2752,
        -160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "27386927-a681-44b4-9509-96999c38cf4d",
      "name": "Post Press Release Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2816,
        224
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5724c8c1-d5a8-415b-a623-61888eaa33e0",
      "name": "Parse Press Release Content",
      "type": "n8n-nodes-base.code",
      "position": [
        2960,
        192
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f203e3c8-b369-451f-81db-28e8622eb013",
      "name": "Build Interpretation Request",
      "type": "n8n-nodes-base.code",
      "position": [
        2448,
        -160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "19450c42-b9fd-46c7-b53e-43a62b2357f6",
      "name": "Build Press Release Request",
      "type": "n8n-nodes-base.code",
      "position": [
        2944,
        -160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "dd32bfef-dfae-43ff-adb5-7a79d71ff938",
      "name": "Create Google Docs Document",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        3184,
        -144
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b636bc96-904d-4e20-ade0-31c995f5115c",
      "name": "Insert Text into Google Docs",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        3376,
        -144
      ],
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "active": true,
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "availableInMCP": false,
    "executionOrder": "v1"
  },
  "versionId": "aedd42cc-32ac-4cb5-b736-e33f526a22b6",
  "connections": {
    "Post to Whisper API": {
      "main": [
        [
          {
            "node": "Parse Whisper Transcription",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Band Bio Provided": {
      "main": [
        [
          {
            "node": "Use Existing Band Bio",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Post Artist Query Online",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Use Default Band Bio": {
      "main": [
        [
          {
            "node": "Build Interpretation Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Use Existing Band Bio": {
      "main": [
        [
          {
            "node": "Build Interpretation Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apply Research Results": {
      "main": [
        [
          {
            "node": "Build Interpretation Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Verify Audio File Size": {
      "main": [
        [
          {
            "node": "If Audio Size Acceptable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Audio to Base64": {
      "main": [
        [
          {
            "node": "Post to GPT-4o for Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form Submission Trigger": {
      "main": [
        [
          {
            "node": "If Lyrics File Uploaded",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Lyrics File Uploaded": {
      "main": [
        [
          {
            "node": "Extract Lyrics from Text",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Post to Whisper API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Lyrics from Text": {
      "main": [
        [
          {
            "node": "Verify Audio File Size",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Audio Size Acceptable": {
      "main": [
        [
          {
            "node": "Convert Audio to Base64",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Handle Size Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Artist Query Online": {
      "main": [
        [
          {
            "node": "If Research Quality Sufficient",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Song Interpretation": {
      "main": [
        [
          {
            "node": "Build Press Release Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Press Release Request": {
      "main": [
        [
          {
            "node": "Parse Press Release Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Press Release Request": {
      "main": [
        [
          {
            "node": "Post Press Release Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Google Docs Document": {
      "main": [
        [
          {
            "node": "Insert Text into Google Docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Press Release Content": {
      "main": [
        [
          {
            "node": "Create Google Docs Document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Whisper Transcription": {
      "main": [
        [
          {
            "node": "Verify Audio File Size",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to GPT-4o for Analysis": {
      "main": [
        [
          {
            "node": "Parse Audio Analysis Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Interpretation Request": {
      "main": [
        [
          {
            "node": "Post for Song Interpretation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Insert Text into Google Docs": {
      "main": [
        []
      ]
    },
    "Parse Audio Analysis Results": {
      "main": [
        [
          {
            "node": "If Band Bio Provided",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post for Song Interpretation": {
      "main": [
        [
          {
            "node": "Parse Song Interpretation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Research Quality Sufficient": {
      "main": [
        [
          {
            "node": "Apply Research Results",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Use Default Band Bio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}