{
  "name": "Automate YouTube thumbnail creation & social publishing with Templated.io & Blotato",
  "nodes": [
    {
      "id": "41092605-3611-4017-828a-3c7bb41a2eb6",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        4016,
        864
      ]
    },
    {
      "id": "dec01d59-d7a5-4a53-9971-e62a276cbbfb",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        4256,
        864
      ]
    },
    {
      "id": "7bda8d47-fc97-4372-a447-c23bc0bd3c8f",
      "name": "Extract Video ID",
      "type": "n8n-nodes-base.code",
      "position": [
        4480,
        864
      ]
    },
    {
      "id": "0cc8b6fe-9fe9-41ac-aa66-4a90e1995f70",
      "name": "Fetch YouTube Info",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4768,
        864
      ]
    },
    {
      "id": "6f6ed14b-0e3c-45e3-8e78-72cc4748db90",
      "name": "Prepare Text Data",
      "type": "n8n-nodes-base.code",
      "position": [
        5040,
        864
      ]
    },
    {
      "id": "f391676c-8826-4a3e-b19a-2e58c7e7c796",
      "name": "Wait for Rendering",
      "type": "n8n-nodes-base.wait",
      "position": [
        4768,
        1152
      ]
    },
    {
      "id": "ca6a5f90-4174-42dc-a4f5-f1c14d4f2f40",
      "name": "Upload to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        4256,
        1440
      ]
    },
    {
      "id": "7ea4143c-b953-4430-908b-e7b13a8ff7eb",
      "name": "Send Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        4768,
        1440
      ]
    },
    {
      "id": "e52e1427-e362-4731-9a4c-92a5e4610687",
      "name": "Send Telegram Notification",
      "type": "n8n-nodes-base.telegram",
      "position": [
        5040,
        1440
      ]
    },
    {
      "id": "b5ee3daa-64ce-4782-837d-142bc5ee3c77",
      "name": "OpenAI Post Generation",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        4016,
        1728
      ]
    },
    {
      "id": "5210d570-ac35-4175-b783-af582160befa",
      "name": "Upload Video to BLOTATO",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        4352,
        1728
      ]
    },
    {
      "id": "9d78b633-b9d3-47a4-bcd7-0e48739cf0eb",
      "name": "Linkedin",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        4768,
        1728
      ]
    },
    {
      "id": "caadaf4e-8b06-41b6-950c-41846f684915",
      "name": "Facebook",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        4560,
        1728
      ]
    },
    {
      "id": "06b1aa18-c78f-4d52-9ddb-6532eae175f4",
      "name": "Twitter (X)",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        5024,
        1728
      ]
    },
    {
      "id": "0b9bc493-3327-429e-88d8-4de803f4c800",
      "name": "OpenAI Post Generation1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        4016,
        1152
      ]
    },
    {
      "id": "17b9ee87-c823-4eab-9f6a-63cd3926ea2e",
      "name": "Download Thumbnail",
      "type": "n8n-nodes-templated.templated",
      "position": [
        5040,
        1152
      ]
    },
    {
      "id": "3b65e073-31be-4bcf-bcf2-f126a3199ca7",
      "name": "Generate Thumbnail via Templated.io",
      "type": "n8n-nodes-templated.templated",
      "position": [
        4480,
        1152
      ]
    },
    {
      "id": "1f2550f0-076a-4f7d-9b88-f84767527a9e",
      "name": "Downloading files",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4032,
        1440
      ]
    },
    {
      "id": "fc02c5c7-c022-47fd-9c1a-44e6b76df0a1",
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4480,
        1440
      ]
    },
    {
      "id": "9e85c26f-b85a-49a0-89b0-97743e5dcdd9",
      "name": "📋 WORKFLOW OVERVIEW",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3120,
        784
      ],
      "parameters": {
        "width": 400,
        "height": 652,
        "content": "# 🚀 Automate YouTube thumbnail creation\n\n### 🎥 Watch This Tutorial\n\n@[youtube](CenAtzPceQU)\n\nThis workflow automates YouTube thumbnail generation and social media distribution. Send a YouTube URL via "
      }
    },
    {
      "id": "f15bdc4e-5493-4de8-b3b7-66d3e0fbbe01",
      "name": "🔧 STEP 1: Configuration",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3536,
        784
      ],
      "parameters": {
        "width": 1680,
        "height": 270,
        "content": "## 📤 STEP 1: 📱 Telegram Trigger: Receives YouTube URLs from users\n\n⚙️ Workflow Configuration: Central hub for all API keys and settings\n\nRequired fields:\n• youtubeApiKey - Get from Google Cloud Consol"
      }
    },
    {
      "id": "84d95f0c-9c9f-4e23-9161-aa3631a6c27b",
      "name": "🎨 STEP 3: Thumbnail Generation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3536,
        1072
      ],
      "parameters": {
        "width": 1680,
        "height": 264,
        "content": "## 📤 STEP 2: 🎨 Generate Thumbnail: Sends POST request to [templated.io](https://templated.io/?utm_campaign=drfiras) \nAPI with video title and description to generate custom thumbnail\n\n⏳ Wait for Rende"
      }
    },
    {
      "id": "57361e93-16f1-4a1b-9369-99952249a7f9",
      "name": "📢 STEP 5: Notifications",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3536,
        1360
      ],
      "parameters": {
        "width": 1680,
        "height": 264,
        "content": "## 📤 STEP 3: 📧 Send Gmail: Sends email notification with:\n• Subject: YouTube Thumbnail Generated + video title\n• HTML body with video details\n• Thumbnail attachment\n• Google Drive link\n\n☁️ Upload to G"
      }
    },
    {
      "id": "844d603f-3246-48da-a899-6e30022df65e",
      "name": "⚙️ INSTALLATION GUIDE",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3120,
        1456
      ],
      "parameters": {
        "width": 402,
        "height": 448,
        "content": "📋 INSTALLATION CHECKLIST\n\n1️⃣ Get YouTube Data API v3 key from Google Cloud Console\n2️⃣ Create [templated.io](https://templated.io/?utm_campaign=drfiras) account and get API key + template ID\n3️⃣ Set "
      }
    },
    {
      "id": "1579f6a0-8326-4c06-b5bf-29c0b1d0fafd",
      "name": "Step 5 - Publishing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3536,
        1648
      ],
      "parameters": {
        "width": 1692,
        "height": 260,
        "content": "## 📤 STEP 4: PUBLISHING\n\n### Install the Blotato [Blotato](https://blotato.com/?ref=firas) Node in n8n (Community Nodes)\n1. In n8n, open **Settings → Community Nodes**.  \n2. Click **Install**, then ad"
      }
    }
  ],
  "connections": {
    "Facebook": {
      "main": [
        []
      ]
    },
    "Linkedin": {
      "main": [
        []
      ]
    },
    "Send Gmail": {
      "main": [
        [
          {
            "node": "Send Telegram Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Twitter (X)": {
      "main": [
        []
      ]
    },
    "Extract Video ID": {
      "main": [
        [
          {
            "node": "Fetch YouTube Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Downloading files": {
      "main": [
        [
          {
            "node": "Upload to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Text Data": {
      "main": [
        [
          {
            "node": "OpenAI Post Generation1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Thumbnail": {
      "main": [
        [
          {
            "node": "Downloading files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch YouTube Info": {
      "main": [
        [
          {
            "node": "Prepare Text Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Rendering": {
      "main": [
        [
          {
            "node": "Download Thumbnail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save to Google Sheets": {
      "main": [
        [
          {
            "node": "Send Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Post Generation": {
      "main": [
        [
          {
            "node": "Upload Video to BLOTATO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Google Drive": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Extract Video ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Post Generation1": {
      "main": [
        [
          {
            "node": "Generate Thumbnail via Templated.io",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to BLOTATO": {
      "main": [
        [
          {
            "node": "Linkedin",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Twitter (X)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Telegram Notification": {
      "main": [
        [
          {
            "node": "OpenAI Post Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Thumbnail via Templated.io": {
      "main": [
        [
          {
            "node": "Wait for Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}