{
  "name": "Repurpose YouTube videos and publish via Blotato with Telegram, Sheets and GPT-4.1-mini",
  "nodes": [
    {
      "id": "819f532a-b957-4689-9ecd-c6c6388ead1f",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        560,
        96
      ]
    },
    {
      "id": "2b3df5ca-3907-49f5-82da-9f8f89b1843a",
      "name": "Parse Telegram Message",
      "type": "n8n-nodes-base.code",
      "position": [
        784,
        96
      ]
    },
    {
      "id": "b571f99b-01e2-45c7-980b-e262a6f1cabb",
      "name": "Append to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1232,
        96
      ]
    },
    {
      "id": "a3e3d97e-1d97-4474-a126-0a5380cfc107",
      "name": "Get Video ID",
      "type": "n8n-nodes-base.code",
      "position": [
        1456,
        96
      ]
    },
    {
      "id": "779f43ba-36ee-4fab-b32e-e22d2f8b4237",
      "name": "RapidAPI Summarizer",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1680,
        96
      ]
    },
    {
      "id": "24abb009-5ff1-47b5-bfca-09d0726e8461",
      "name": "Clean Text",
      "type": "n8n-nodes-base.code",
      "position": [
        1904,
        96
      ]
    },
    {
      "id": "69de9692-72b4-48bc-bf1d-e4b799308d22",
      "name": "Generate Script",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        560,
        352
      ]
    },
    {
      "id": "2bc9719f-a068-4581-99eb-505e73897c17",
      "name": "Generate SEO",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        896,
        352
      ]
    },
    {
      "id": "e7c32990-dccf-47b4-9810-68be4a9a68ad",
      "name": "Send to Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1904,
        352
      ]
    },
    {
      "id": "c5213952-cfff-4eef-9e28-31b7a298f72b",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        1008,
        96
      ]
    },
    {
      "id": "aac04d00-1c36-45bf-9ebb-fc786c5659a1",
      "name": "update Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1680,
        352
      ]
    },
    {
      "id": "a226989b-7e49-41fa-9f70-4ae90da42ef6",
      "name": "Upload Video to BLOTATO",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1456,
        576
      ]
    },
    {
      "id": "f7577bf3-db6a-46cb-8886-ac3ad16d349a",
      "name": "Youtube",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1680,
        576
      ]
    },
    {
      "id": "2b231b15-61c4-472b-a3fd-93f9d5e9225e",
      "name": "Get Google Drive ID",
      "type": "n8n-nodes-base.set",
      "position": [
        1008,
        576
      ]
    },
    {
      "id": "0bbcd16d-0c7b-4614-b630-000142f27ce4",
      "name": "Workflow Configuration II",
      "type": "n8n-nodes-base.set",
      "position": [
        560,
        576
      ]
    },
    {
      "id": "457bff7d-2ba2-40bb-aed2-34b32f1bb7a6",
      "name": "Check Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        784,
        576
      ]
    },
    {
      "id": "a1773b3f-3a7e-4527-ae42-994feb96e7ea",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1232,
        576
      ]
    },
    {
      "id": "784911d5-6c25-47ad-a84c-b499b448f81d",
      "name": "Update Google Sheets II",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1904,
        576
      ]
    },
    {
      "id": "34b198bf-fe14-4229-9d36-6a2823456c7f",
      "name": "Setup & Configuration Guide",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        0
      ],
      "parameters": {
        "width": 600,
        "height": 1144,
        "content": "# Setup & Configuration Guide\n\n@[youtube](szKueQ7Aen8)\n\n\n## Required Services & Credentials\n\n### 1. Telegram Bot Setup\n- Create a bot via [@BotFather](https://t.me/botfather)\n- Get your bot token\n- Ad"
      }
    },
    {
      "id": "49f8d0ab-073f-4c56-a9d8-43ccc5ebbf8a",
      "name": "Transcript Extraction",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        784
      ],
      "parameters": {
        "width": 1552,
        "height": 356,
        "content": "## Video Publishing Pipeline\n\nThis section handles the automated video publishing workflow:\n1. **Check Google Sheets** - Monitors the sheet for rows with status=\"ready\"\n2. **Get Google Drive ID** - Ex"
      }
    },
    {
      "id": "1f16ff65-8e81-427f-bf28-c11bd18cdaf8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1344,
        784
      ],
      "parameters": {
        "width": 736,
        "height": 352,
        "content": "### OpenAI API\n- Sign up at [OpenAI Platform](https://platform.openai.com)\n- Generate API key\n- Add credentials in n8n: **OpenAI API**\n- Credential name: `n8n free OpenAI API credits`\n- Model used: **"
      }
    }
  ],
  "connections": {
    "Youtube": {
      "main": [
        [
          {
            "node": "Update Google Sheets II",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Text": {
      "main": [
        [
          {
            "node": "Generate Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate SEO": {
      "main": [
        [
          {
            "node": "update Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video ID": {
      "main": [
        [
          {
            "node": "RapidAPI Summarizer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Upload Video to BLOTATO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Script": {
      "main": [
        [
          {
            "node": "Generate SEO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Parse Telegram Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Google Sheets": {
      "main": [
        [
          {
            "node": "Get Google Drive ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Google Drive ID": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RapidAPI Summarizer": {
      "main": [
        [
          {
            "node": "Clean Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update Google Sheets": {
      "main": [
        [
          {
            "node": "Send to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Telegram Message": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Append to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append to Google Sheets": {
      "main": [
        [
          {
            "node": "Get Video ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to BLOTATO": {
      "main": [
        [
          {
            "node": "Youtube",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration II": {
      "main": [
        [
          {
            "node": "Check Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}