{
  "name": "Turn YouTube transcripts into newsletter drafts using Dumpling AI + GPT-4o",
  "nodes": [
    {
      "id": "1088af3c-161d-40ff-b69e-32cf609f214f",
      "name": " Manual Trigger: Start Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -80,
        -20
      ]
    },
    {
      "id": "5a8863d7-d13b-471e-900f-acdfa320fa42",
      "name": "Read YouTube Links from Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        140,
        -20
      ]
    },
    {
      "id": "81804ea4-ad1c-4c57-ad40-28645967da32",
      "name": "Loop: Process Each YouTube Link",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        360,
        -20
      ]
    },
    {
      "id": "5ec6ef71-4ca0-4ebc-b878-084337cafc3f",
      "name": " Dumpling AI: Get YouTube Transcript",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        580,
        -20
      ]
    },
    {
      "id": "facdab3c-bbca-4acb-862a-5179708d90e8",
      "name": "GPT-4o: Write Newsletter Draft from Transcript",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        800,
        -20
      ]
    },
    {
      "id": "07b75a54-ceef-4ff7-8187-5fa49ecc84e4",
      "name": "Log Newsletter Draft to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1176,
        55
      ]
    },
    {
      "id": "b7062444-db63-4e20-ae47-adea20a49289",
      "name": " Send Email Notification When Draft is Ready",
      "type": "n8n-nodes-base.gmail",
      "position": [
        580,
        -220
      ]
    },
    {
      "id": "2e8320d4-655b-4dc1-afb7-47ff88c3cb19",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        -340
      ],
      "parameters": {
        "width": 560,
        "height": 580,
        "content": "### 📨 YouTube → Newsletter Automation\n\nThis workflow turns YouTube videos into newsletter drafts using Dumpling AI and GPT-4o.\n\n**Here’s what it does:**\n1. Reads new YouTube video links from Google Sh"
      }
    }
  ],
  "connections": {
    " Manual Trigger: Start Workflow": {
      "main": [
        [
          {
            "node": "Read YouTube Links from Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop: Process Each YouTube Link": {
      "main": [
        [
          {
            "node": " Send Email Notification When Draft is Ready",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": " Dumpling AI: Get YouTube Transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Dumpling AI: Get YouTube Transcript": {
      "main": [
        [
          {
            "node": "GPT-4o: Write Newsletter Draft from Transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Newsletter Draft to Google Sheets": {
      "main": [
        [
          {
            "node": "Loop: Process Each YouTube Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read YouTube Links from Google Sheets": {
      "main": [
        [
          {
            "node": "Loop: Process Each YouTube Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT-4o: Write Newsletter Draft from Transcript": {
      "main": [
        [
          {
            "node": "Log Newsletter Draft to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}