๐ฅ HeyGen II - ๋๋ฅผ ๋ณต์ ํ๋ผ - ์์ด๋์ด๋ถํฐ ๊ฒ์๊น์ง: YouTube, TikTok, Instagram์ ์ํ GPT-5 ๋น๋์ค ์๋ํ - ๋น๋์ค
์ด๊ฒ์Content Creation, Multimodal AI๋ถ์ผ์์๋ํ ์ํฌํ๋ก์ฐ๋ก, 41๊ฐ์ ๋ ธ๋๋ฅผ ํฌํจํฉ๋๋ค.์ฃผ๋ก If, Set, Wait, Merge, Telegram ๋ฑ์ ๋ ธ๋๋ฅผ ์ฌ์ฉํ๋ฉฐ. HeyGen, GPT-5 ๋ฐ ์์ ๊ฒ์๋ฅผ ์ฌ์ฉํ ์์ฑ ์ ๋ ฅ ๋น๋์ค ์ ์ ์๋ํ
- โขTelegram Bot Token
- โขGoogle Drive API ์ธ์ฆ ์ ๋ณด
- โข๋์ API์ ์ธ์ฆ ์ ๋ณด๊ฐ ํ์ํ ์ ์์
- โขGoogle Sheets API ์ธ์ฆ ์ ๋ณด
- โขOpenAI API Key
์ฌ์ฉ๋ ๋ ธ๋ (41)
์นดํ ๊ณ ๋ฆฌ
{
"id": "O6VhKogJl7uQhxoM",
"meta": {
"instanceId": "a2b23892dd6989fda7c1209b381f5850373a7d2b85609624d7c2b7a092671d44",
"templateCredsSetupCompleted": true
},
"name": "๐ฅ HeyGen II - CLONE ME - From Idea to Post: GPT-5 Video Automation for YouTube, TikTok & Instagram - vide",
"tags": [],
"nodes": [
{
"id": "8bacbb69-ca03-4bfe-93e8-ef29cc768c9e",
"name": "ID Avatar",
"type": "n8n-nodes-base.set",
"position": [
-2208,
32
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "2e9ea966-70fc-4477-b859-92c783610c6a",
"name": "id_avatar",
"type": "string",
"value": "={{ $json['ID AVATAR'] }}"
},
{
"id": "ea14b33c-a1cf-4000-bb1b-7bae0bad74ac",
"name": "id_voice",
"type": "string",
"value": "={{ $json['ID VOICE'] }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d6171013-8ef6-43b7-b21e-00331d3bf02e",
"name": "Upload Video to BLOTATO",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
-2368,
752
],
"parameters": {
"mediaUrl": "=https://drive.google.com/uc?export=download&id={{ $json.final_google_drive_url }}",
"resource": "media"
},
"credentials": {
"blotatoApi": {
"id": "NtMnRSKAAN5u9lyc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "4046855d-0cab-471a-b933-58238c77cd03",
"name": "Youtube",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1360,
528
],
"parameters": {
"options": {},
"platform": "youtube",
"accountId": {
"__rl": true,
"mode": "list",
"value": "8047",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/8047",
"cachedResultName": "DR FIRASS (Dr. Firas)"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}",
"postCreateYoutubeOptionTitle": "={{ $('Google Sheets - Read Post Data').item.json.Title }}",
"postCreateYoutubeOptionPrivacyStatus": "private",
"postCreateYoutubeOptionShouldNotifySubscribers": false
},
"credentials": {
"blotatoApi": {
"id": "NtMnRSKAAN5u9lyc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "14e90495-53e5-4d30-a739-f0274ac49237",
"name": "Tiktok",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1936,
352
],
"parameters": {
"options": {},
"platform": "tiktok",
"accountId": {
"__rl": true,
"mode": "list",
"value": "9332",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/9332",
"cachedResultName": "docteur.firas"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "0448a51f-aaa6-4ba2-b039-06ed1ad2cebd",
"name": "๋ณํฉ",
"type": "n8n-nodes-base.merge",
"position": [
-976,
432
],
"parameters": {
"mode": "chooseBranch",
"numberInputs": 9
},
"typeVersion": 3.2
},
{
"id": "9f85e352-a80a-4d7e-95a3-eb44b5e6ece9",
"name": "Linkedin",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1664,
352
],
"parameters": {
"options": {},
"platform": "linkedin",
"accountId": {
"__rl": true,
"mode": "list",
"value": "1446",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/1446",
"cachedResultName": "Samuel Amalric"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "77b1d78e-871d-4c5e-9059-975c00ea8148",
"name": "Facebook",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1360,
352
],
"parameters": {
"options": {},
"platform": "facebook",
"accountId": {
"__rl": true,
"mode": "list",
"value": "1759",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/1759",
"cachedResultName": "Firass Ben"
},
"facebookPageId": {
"__rl": true,
"mode": "list",
"value": "101603614680195",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/1759/subaccounts/101603614680195",
"cachedResultName": "Dr. Firas"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "0697ca5c-ffca-47f4-8580-f19a2fd5dd63",
"name": "Instagram",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1936,
528
],
"parameters": {
"options": {
"instagramMediaType": "reel"
},
"accountId": {
"__rl": true,
"mode": "list",
"value": "7341",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/7341",
"cachedResultName": "doc.firass"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "123225b0-7ace-4304-a7ee-7e116357d471",
"name": "Threads",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1936,
720
],
"parameters": {
"options": {},
"platform": "threads",
"accountId": {
"__rl": true,
"mode": "list",
"value": "2280",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/2280",
"cachedResultName": "doc.firass"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "00c29455-4e5d-46c6-bb58-ff6d59fcbb6e",
"name": "Bluesky",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1664,
720
],
"parameters": {
"options": {},
"platform": "bluesky",
"accountId": {
"__rl": true,
"mode": "list",
"value": "6012",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/6012",
"cachedResultName": "formationinternet.bsky.social"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "9deed3dc-846f-414b-9693-8972f3af4bca",
"name": "Pinterest",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1360,
720
],
"parameters": {
"options": {},
"platform": "pinterest",
"accountId": {
"__rl": true,
"mode": "list",
"value": "363",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/363",
"cachedResultName": "formationinternet2022"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"pinterestBoardId": {
"__rl": true,
"mode": "id",
"value": "1146658823815436667"
},
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "634c8371-34b1-4a39-ba59-51d6a648cb79",
"name": "Twitter (X)",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
-1664,
528
],
"parameters": {
"options": {},
"platform": "twitter",
"accountId": {
"__rl": true,
"mode": "list",
"value": "1289",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/1289",
"cachedResultName": "Docteur_Firas"
},
"postContentText": "={{ $('Google Sheets - Read Post Data').item.json.Caption }}",
"postContentMediaUrls": "={{ $json.url }}"
},
"typeVersion": 2
},
{
"id": "3614fe10-1f54-4462-b9d3-0d8ab4181f22",
"name": "Get Google ๋๋ผ์ด๋ธ ID",
"type": "n8n-nodes-base.set",
"position": [
-2368,
544
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "a1750d20-2f6e-4826-80b8-654d0985120d",
"name": "final_google_drive_url",
"type": "string",
"value": "={{ $json['URL VIDEO FINAL'].match(/https:\\/\\/drive\\.google\\.com\\/file\\/d\\/([A-Za-z0-9_-]+)/i)[1] }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "1eac3d7c-b6ce-4a66-9d48-d22b4dee94d2",
"name": "Google ์คํ๋ ๋์ํธ - Update Status",
"type": "n8n-nodes-base.googleSheets",
"position": [
-752,
352
],
"parameters": {
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "",
"cachedResultName": ""
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "51us92xkOlrvArhV",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "3970a5a3-296f-450a-be06-769599c0aa06",
"name": "OpenAI - Transcribe Video to Text",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-1888,
-528
],
"parameters": {
"options": {
"language": "fr",
"temperature": 0
},
"resource": "audio",
"operation": "transcribe"
},
"credentials": {
"openAiApi": {
"id": "6h3DfVhNPw9I25nO",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "c0d8c807-18ff-4bcf-8793-669546b35a12",
"name": "OpenAI Model GPT-5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1168,
-288
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-5-mini",
"cachedResultName": "gpt-5-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "6h3DfVhNPw9I25nO",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "49a117f1-6c99-47db-bc63-1edbc65fe1e4",
"name": "LangChain - Think ๋๊ตฌ",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-992,
-288
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d5bbb0c4-6420-4309-99f1-b27cb7898a12",
"name": "๋ฉ๋ชจ",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2496,
-624
],
"parameters": {
"width": 1040,
"height": 512,
"content": "# Step 1 โ Capture & Transcribe Voice Input"
},
"typeVersion": 1
},
{
"id": "38608256-9c49-4b67-beef-ecdc705e4bee",
"name": "๋ฉ๋ชจ1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1424,
-624
],
"parameters": {
"width": 912,
"height": 512,
"content": "# Step 2 โ Generate Title & Caption & Script with GPTโ5\n"
},
"typeVersion": 1
},
{
"id": "6c1df7b3-0344-4958-a92f-3df835c025cc",
"name": "๋ฉ๋ชจ2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2480,
-80
],
"parameters": {
"color": 4,
"width": 1968,
"height": 320,
"content": "# Step 3 โ Create AI Avatar Video (HeyGen)"
},
"typeVersion": 1
},
{
"id": "1ca3a432-0926-4e1a-8e5f-b8c107dbc7ea",
"name": "๋ฉ๋ชจ4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2496,
272
],
"parameters": {
"width": 1976,
"height": 664,
"content": "# ๐ Step 4 โ Auto-Publish to 9 Social Platforms"
},
"typeVersion": 1
},
{
"id": "3d01cbe5-d17d-457c-8867-b80ede98526f",
"name": "Telegram ํธ๋ฆฌ๊ฑฐ: Receive Voice Message",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-2416,
-304
],
"webhookId": "04070fca-0211-4cb3-872b-1f65afec5c15",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "Din4PiygHfuSCqkA",
"name": "Telegram account 11"
}
},
"typeVersion": 1.2
},
{
"id": "b6587b49-46b8-4247-9fbe-2f0ed8f5e687",
"name": "Telegram: Download Voice",
"type": "n8n-nodes-base.telegram",
"position": [
-2096,
-304
],
"webhookId": "c7bd7f51-2a7c-4a84-bfc8-39cbb824577d",
"parameters": {
"fileId": "={{ $json.message.voice.file_id }}",
"resource": "file",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "Din4PiygHfuSCqkA",
"name": "Telegram account 11"
}
},
"typeVersion": 1.2
},
{
"id": "3f56954a-85ae-4073-a597-e7ec5b3b0ad0",
"name": "Google ๋๋ผ์ด๋ธ: Upload Voice",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1888,
-304
],
"parameters": {
"name": "={{ $('Telegram Trigger: Receive Voice Message').item.json.message.voice.file_unique_id }}",
"driveId": {
"__rl": true,
"mode": "id",
"value": "="
},
"options": {},
"folderId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "gzeHMd64HAz6HBIe",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "5602473d-1449-47a5-8676-25a38fe7c509",
"name": "Google ์คํ๋ ๋์ํธ: Log Voice Metadata",
"type": "n8n-nodes-base.googleSheets",
"position": [
-1680,
-304
],
"parameters": {
"columns": {
"value": {
"ID VOICE": "={{ $('Telegram Trigger: Receive Voice Message').item.json.message.voice.file_unique_id }}",
"URL VOICE": "={{ $json.webViewLink }}"
},
"schema": [
{
"id": "ID VOICE",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "ID VOICE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL VOICE",
"type": "string",
"display": true,
"required": false,
"displayName": "URL VOICE",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"ID VOICE"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "51us92xkOlrvArhV",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "ede833b5-fdb6-4e89-866b-0e1a3b3e42a5",
"name": "HeyGen: List Avatars",
"type": "n8n-nodes-base.httpRequest",
"position": [
-2400,
-528
],
"parameters": {
"url": "https://api.heygen.com/v2/avatars",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "87iDnrnQeZvqqHoK",
"name": "HeyGen III"
}
},
"typeVersion": 4.2
},
{
"id": "27c4a0d9-7a15-417e-9827-40ebb80348cb",
"name": "Google ์คํ๋ ๋์ํธ: Read Avatar Config",
"type": "n8n-nodes-base.googleSheets",
"position": [
-2400,
32
],
"parameters": {
"sheetName": {
"__rl": true,
"mode": "id",
"value": ""
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "51us92xkOlrvArhV",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "79f9fb76-9e3f-4663-8497-4418fa5a3ab2",
"name": "HeyGen: Generate Avatar Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1792,
32
],
"parameters": {
"url": "https://api.heygen.com/v2/video/generate",
"method": "POST",
"options": {},
"jsonBody": "={\n \"video_inputs\": [\n {\n \"character\": {\n \"type\": \"avatar\",\n \"avatar_id\": \"{{ $('ID Avatar').item.json.id_avatar }}\",\n \"avatar_style\": \"normal\"\n },\n \"voice\": {\n \"type\": \"text\",\n \"input_text\": \"{{ $json.Script }}\",\n \"voice_id\": \"{{ $('ID Avatar').item.json.id_voice }}\"\n }\n }\n ],\n \"dimension\": {\n \"width\": 1280,\n \"height\": 720\n }\n} ",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "87iDnrnQeZvqqHoK",
"name": "HeyGen III"
}
},
"typeVersion": 4.2
},
{
"id": "863d7fed-05d0-4172-adbf-34147b340aed",
"name": "๋๊ธฐ for Rendering",
"type": "n8n-nodes-base.wait",
"position": [
-1568,
32
],
"webhookId": "240ae15e-d5ee-4483-9566-a82927fe2ee7",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "181fcfd9-28b3-465c-a6ad-5a51457aebe0",
"name": "HeyGen: Check Video Status",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1376,
32
],
"parameters": {
"url": "=https://api.heygen.com/v1/video_status.get?video_id={{ $('HeyGen: Generate Avatar Video').item.json.data.video_id }}",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "87iDnrnQeZvqqHoK",
"name": "HeyGen III"
}
},
"typeVersion": 4.2
},
{
"id": "a5df5318-d518-4520-ab25-f7575d5e360a",
"name": "If: Video Completed?",
"type": "n8n-nodes-base.if",
"position": [
-1152,
32
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d5963870-0093-4333-b2a6-39ddd9803a6a",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.status }}",
"rightValue": "completed"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "0bb8684f-b280-4c14-9ea8-892134a14fb9",
"name": "HTTP: Download Final Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
-912,
32
],
"parameters": {
"url": "={{ $json.data.video_url }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "1ea34240-e8fa-411e-8ff2-7c7381c48a34",
"name": "Google ๋๋ผ์ด๋ธ: Upload Final Video",
"type": "n8n-nodes-base.googleDrive",
"position": [
-672,
32
],
"parameters": {
"name": "={{ $('Telegram Trigger: Receive Voice Message').item.json.message.voice.file_unique_id }}",
"driveId": {
"__rl": true,
"mode": "id",
"value": "="
},
"options": {},
"folderId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "gzeHMd64HAz6HBIe",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "cdc8b7f1-cc90-4545-ac0d-65666cfc2fa4",
"name": "Google ์คํ๋ ๋์ํธ: Save Final Video URL",
"type": "n8n-nodes-base.googleSheets",
"position": [
-2368,
352
],
"parameters": {
"columns": {
"value": {
"ID VOICE": "={{ $('Telegram Trigger: Receive Voice Message').item.json.message.voice.file_unique_id }}",
"row_number": 0,
"URL VIDEO FINAL": "={{ $json.webViewLink }}"
},
"schema": [
{
"id": "ID VOICE",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "ID VOICE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL VOICE",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "URL VOICE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Caption",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Caption",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Script",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Script",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL VIDEO FINAL",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "URL VIDEO FINAL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Status",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Status",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "number",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"ID VOICE"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "51us92xkOlrvArhV",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "36bcedc0-301b-4be0-b327-5d6dcc3c07d6",
"name": "Telegram: Send Post Confirmation",
"type": "n8n-nodes-base.telegram",
"position": [
-752,
560
],
"webhookId": "2c841018-28e6-4b12-a22e-2d2477c8e9dc",
"parameters": {
"text": "Posted",
"chatId": "={{ $('Telegram Trigger: Receive Voice Message').item.json.message.chat.id }}",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "Din4PiygHfuSCqkA",
"name": "Telegram account 11"
}
},
"typeVersion": 1.2
},
{
"id": "c1b40ff1-efa4-43dd-b969-5fd962ae8b15",
"name": "๋ฉ๋ชจ3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-464,
-624
],
"parameters": {
"color": 6,
"width": 508,
"height": 1556,
"content": "# ๐ฌ Automate Video Creation from Voice Input with HeyGen & n8n\n\nTurn a simple idea into a **viral video** and auto-publish it across platforms using \n**GPT-5**, **HeyGen**, **Blotato**, **Google Sheets**, and **n8n**. \n\n---\n\n### ๐ฅ Full Tutorial \n[](https://youtu.be/6Pzw_NC2GfY) \n๐ [Click here to watch the full YouTube tutorial](https://youtu.be/6Pzw_NC2GfY)\n\n---\n\n### ๐ Documentation \nAccess detailed setup instructions, API config, platform connection guides, and workflow customization tips:\n\n๐ [Open the full documentation on Notion](https://automatisation.notion.site/Blotato-2473d6550fd980e19983f69611a80a0d?source=copy_link)\n\n---\n\n## โ๏ธ Requirements\n\n1. โ
**Create a [Blotato](https://blotato.com/?ref=firas) account** (Pro plan required for API access) \n2. ๐ **Generate your Blotato API Key** via: `Settings > API > Generate API Key` \n3. ๐ฆ **Enable โVerified Community Nodesโ** in the n8n admin settings \n4. ๐งฉ **Install the Blotato** verified community node in n8n \n5. ๐ **Create a Blotato API credential** inside your n8n credentials tab \n6. ๐ **Duplicate this [Google Sheet template](https://docs.google.com/spreadsheets/d/1hINQ6xYqxYVXcyVUOs69VV9CiarGUshj5eL8wr7yH24/edit?usp=sharing)** \n7. โ๏ธ **Make sure your Google Drive folder is PUBLIC** (anyone with the link can access) \n8. ๐ **Complete the 3 brown sticky note steps** inside the workflow editor\n\n"
},
"typeVersion": 1
},
{
"id": "7cb61d6b-4262-4312-b98c-6121431c58d7",
"name": "Google ์คํ๋ ๋์ํธ - Read Post Data",
"type": "n8n-nodes-base.googleSheets",
"position": [
-2160,
352
],
"parameters": {
"sheetName": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "",
"cachedResultName": ""
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "51us92xkOlrvArhV",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "d8ff3ddd-897b-4c30-8933-aad1b7bc4588",
"name": "AI ์์ด์ ํธ - Generate Title & Caption & Script",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-1072,
-528
],
"parameters": {
"text": "={{ $json.text }}",
"options": {
"systemMessage": "=You will first create a \"script to read\" (maximum 100 words) that directly answers the request contained in the TRANSCRIPTION. The script must stay faithful to the TRANSCRIPTION, no invention, no external info.\n\nThe script must be written with a motivating and inspiring tone, as it will be read in a presentation video shared on social media. It should sound engaging and encourage the audience to take interest.\n\nThen, based on this script, you will create a concise Title and a short Caption. Detect the language from the TRANSCRIPTION and write in that same language. No emojis. No hashtags.\n\nRULES:\n- Script: โค 100 words, clear, faithful, aligned with TRANSCRIPTION.\n- Title: clear, compelling, faithful to the script. Aim โค 70 characters. No clickbait. No emojis/hashtags.\n- Caption: โค 200 characters (characters, not words). Crisp, adds context or a takeaway. No emojis/hashtags.\n- Keep all content aligned with TRANSCRIPTION. Do not add external info.\n\nFINAL OUTPUT (single line JSON):\n{\"script\":\"<SCRIPT TO READ>\", \"title\":\"<TITLE>\", \"caption\":\"<CAPTION>\"}\n\n\nTRANSCRIPTION:\n{{ $json.text }}\n\nUse the Google Sheets tool to save the generated script, title and caption for this video.\n\n\n"
},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "2ba847ed-2361-4f98-a526-9785772e30b7",
"name": "Google ์คํ๋ ๋์ํธ - Update Title & Caption & Script",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
-768,
-288
],
"parameters": {
"columns": {
"value": {
"Title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
"Script": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Script', ``, 'string') }}",
"Caption": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Caption', ``, 'string') }}",
"ID VOICE": "={{ $('Telegram Trigger: Receive Voice Message').item.json.message.voice.file_unique_id }}"
},
"schema": [
{
"id": "ID VOICE",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "ID VOICE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL VOICE",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "URL VOICE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Title",
"type": "string",
"display": true,
"required": false,
"displayName": "Title",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Caption",
"type": "string",
"display": true,
"required": false,
"displayName": "Caption",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Script",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Script",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL VIDEO FINAL",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "URL VIDEO FINAL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Status",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Status",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"ID VOICE"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "51us92xkOlrvArhV",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "86bb1d30-e4fd-4649-84e1-5659a0f35ab7",
"name": "Google ์คํ๋ ๋์ํธ: Read Avatar Config1",
"type": "n8n-nodes-base.googleSheets",
"position": [
-2016,
32
],
"parameters": {
"sheetName": {
"__rl": true,
"mode": "id",
"value": ""
},
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "51us92xkOlrvArhV",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "13853816-2015-4df2-a0e7-b588d28a61be",
"name": "Telegram: Send Final Video",
"type": "n8n-nodes-base.telegram",
"position": [
-752,
752
],
"webhookId": "4013713f-60e1-4bb0-80ad-4867edec7fbc",
"parameters": {
"file": "={{ $('Upload Video to BLOTATO').item.json.url }}",
"chatId": "={{ $('Telegram Trigger: Receive Voice Message').item.json.message.chat.id }}",
"operation": "sendVideo",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "BnYYbppuWHvcFhaj",
"name": "Telegram account 10"
}
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {
"Google Drive: Upload Final Video": [
{
"json": {
"id": "12kAftlpocfZzW4nYy8MEV7cG5LFesaG7",
"kind": "drive#file",
"name": "AgADcRsAAse1UFE",
"size": "12958247",
"owners": [
{
"me": true,
"kind": "drive#user",
"photoLink": "https://lh3.googleusercontent.com/a/ACg8ocKilK_sZ4F6-P8FVP9791ojDfrt5rwCWBKKVIdry8sv5OGENhpm=s64",
"displayName": "DR FIRASS",
"emailAddress": "docteur.firass@gmail.com",
"permissionId": "05956245338481116000"
}
],
"shared": true,
"spaces": [
"drive"
],
"parents": [
"1jSkENv2t7O6CMaSomvqQcgHmtaoPbxqb"
],
"starred": false,
"trashed": false,
"version": "3",
"iconLink": "https://drive-thirdparty.googleusercontent.com/16/type/video/mp4",
"mimeType": "video/mp4",
"ownedByMe": true,
"viewedByMe": false,
"createdTime": "2025-08-23T15:22:19.515Z",
"md5Checksum": "7f79a0d119095e4f26efe65d39ed2c1d",
"permissions": [
{
"id": "anyoneWithLink",
"kind": "drive#permission",
"role": "reader",
"type": "anyone",
"allowFileDiscovery": false
},
{
"id": "05956245338481116000",
"kind": "drive#permission",
"role": "owner",
"type": "user",
"deleted": false,
"displayName": "docteur.firass",
"emailAddress": "docteur.firass@gmail.com",
"pendingOwner": false
}
],
"webViewLink": "https://drive.google.com/file/d/12kAftlpocfZzW4nYy8MEV7cG5LFesaG7/view?usp=drivesdk",
"capabilities": {
"canCopy": true,
"canEdit": true,
"canShare": true,
"canTrash": true,
"canDelete": true,
"canRename": true,
"canComment": true,
"canUntrash": true,
"canDownload": true,
"canReadLabels": false,
"canAddChildren": false,
"canListChildren": false,
"canModifyLabels": false,
"canModifyContent": true,
"canReadRevisions": true,
"canRemoveChildren": false,
"canAcceptOwnership": false,
"canAddMyDriveParent": false,
"canMoveItemOutOfDrive": true,
"canMoveItemWithinDrive": true,
"canRemoveMyDriveParent": true,
"canMoveItemIntoTeamDrive": true,
"canMoveChildrenWithinDrive": false,
"canModifyContentRestriction": true,
"canRemoveContentRestriction": false,
"canEnableInheritedPermissions": true,
"canChangeSecurityUpdateEnabled": false,
"canChangeViewersCanCopyContent": true,
"canDisableInheritedPermissions": false,
"canChangeItemDownloadRestriction": true,
"canModifyOwnerContentRestriction": true,
"canModifyEditorContentRestriction": true,
"canChangeCopyRequiresWriterPermission": true
},
"hasThumbnail": false,
"modifiedByMe": true,
"modifiedTime": "2025-08-23T15:22:20.204Z",
"sha1Checksum": "6e2c54b3142809ec4f6ff64af90b3104234b4a0a",
"fileExtension": "",
"permissionIds": [
"anyoneWithLink",
"05956245338481116000"
],
"headRevisionId": "0B3jjsxUriNbMVkMzUnFQbStyWjFab2tqUW0wUDRhNVk1Y0EwPQ",
"quotaBytesUsed": "12958247",
"sha256Checksum": "59a0143777ed293fe4ff15ab31596c415d4c9c4d5495ca3933a51db7b5637a57",
"webContentLink": "https://drive.google.com/uc?id=12kAftlpocfZzW4nYy8MEV7cG5LFesaG7&export=download",
"isAppAuthorized": true,
"writersCanShare": true,
"modifiedByMeTime": "2025-08-23T15:22:20.204Z",
"originalFilename": "Untitled",
"thumbnailVersion": "0",
"explicitlyTrashed": false,
"fullFileExtension": "",
"lastModifyingUser": {
"me": true,
"kind": "drive#user",
"photoLink": "https://lh3.googleusercontent.com/a/ACg8ocKilK_sZ4F6-P8FVP9791ojDfrt5rwCWBKKVIdry8sv5OGENhpm=s64",
"displayName": "DR FIRASS",
"emailAddress": "docteur.firass@gmail.com",
"permissionId": "05956245338481116000"
},
"linkShareMetadata": {
"securityUpdateEnabled": true,
"securityUpdateEligible": false
},
"downloadRestrictions": {
"itemDownloadRestriction": {
"restrictedForReaders": false,
"restrictedForWriters": false
},
"effectiveDownloadRestrictionWithContext": {
"restrictedForReaders": false,
"restrictedForWriters": false
}
},
"viewersCanCopyContent": true,
"copyRequiresWriterPermission": false,
"inheritedPermissionsDisabled": false
}
}
],
"Telegram Trigger: Receive Voice Message": [
{
"json": {
"message": {
"chat": {
"id": 7458243954,
"type": "private",
"last_name": "N8N",
"first_name": "Dr"
},
"date": 1755961481,
"from": {
"id": 7458243954,
"is_bot": false,
"last_name": "N8N",
"first_name": "Dr",
"language_code": "fr"
},
"voice": {
"file_id": "AwACAgQAAxkBAAMPaKnYidxknMrvTM1GCUMCHAwPCd8AAnEbAALHtVBRDdHqJTKT3042BA",
"duration": 13,
"file_size": 55168,
"mime_type": "audio/ogg",
"file_unique_id": "AgADcRsAAse1UFE"
},
"message_id": 15
},
"update_id": 273126574
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "45fd1797-7f01-47a6-8743-f117c3f4ad2e",
"connections": {
"Merge": {
"main": [
[
{
"node": "Google Sheets - Update Status",
"type": "main",
"index": 0
}
]
]
},
"14e90495-53e5-4d30-a739-f0274ac49237": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"00c29455-4e5d-46c6-bb58-ff6d59fcbb6e": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 7
}
]
]
},
"123225b0-7ace-4304-a7ee-7e116357d471": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 6
}
]
]
},
"4046855d-0cab-471a-b933-58238c77cd03": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 5
}
]
]
},
"77b1d78e-871d-4c5e-9059-975c00ea8148": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"9f85e352-a80a-4d7e-95a3-eb44b5e6ece9": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"8bacbb69-ca03-4bfe-93e8-ef29cc768c9e": {
"main": [
[
{
"node": "Google Sheets: Read Avatar Config1",
"type": "main",
"index": 0
}
]
]
},
"0697ca5c-ffca-47f4-8580-f19a2fd5dd63": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 3
}
]
]
},
"9deed3dc-846f-414b-9693-8972f3af4bca": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 8
}
]
]
},
"634c8371-34b1-4a39-ba59-51d6a648cb79": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 4
}
]
]
},
"c0d8c807-18ff-4bcf-8793-669546b35a12": {
"ai_languageModel": [
[
{
"node": "AI Agent - Generate Title & Caption & Script",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Wait for Rendering": {
"main": [
[
{
"node": "181fcfd9-28b3-465c-a6ad-5a51457aebe0",
"type": "main",
"index": 0
}
]
]
},
"Get Google Drive ID": {
"main": [
[
{
"node": "d6171013-8ef6-43b7-b21e-00331d3bf02e",
"type": "main",
"index": 0
}
]
]
},
"a5df5318-d518-4520-ab25-f7575d5e360a": {
"main": [
[
{
"node": "0bb8684f-b280-4c14-9ea8-892134a14fb9",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait for Rendering",
"type": "main",
"index": 0
}
]
]
},
"LangChain - Think Tool": {
"ai_tool": [
[
{
"node": "AI Agent - Generate Title & Caption & Script",
"type": "ai_tool",
"index": 0
}
]
]
},
"d6171013-8ef6-43b7-b21e-00331d3bf02e": {
"main": [
[
{
"node": "14e90495-53e5-4d30-a739-f0274ac49237",
"type": "main",
"index": 0
},
{
"node": "9f85e352-a80a-4d7e-95a3-eb44b5e6ece9",
"type": "main",
"index": 0
},
{
"node": "77b1d78e-871d-4c5e-9059-975c00ea8148",
"type": "main",
"index": 0
},
{
"node": "0697ca5c-ffca-47f4-8580-f19a2fd5dd63",
"type": "main",
"index": 0
},
{
"node": "634c8371-34b1-4a39-ba59-51d6a648cb79",
"type": "main",
"index": 0
},
{
"node": "4046855d-0cab-471a-b933-58238c77cd03",
"type": "main",
"index": 0
},
{
"node": "123225b0-7ace-4304-a7ee-7e116357d471",
"type": "main",
"index": 0
},
{
"node": "00c29455-4e5d-46c6-bb58-ff6d59fcbb6e",
"type": "main",
"index": 0
},
{
"node": "9deed3dc-846f-414b-9693-8972f3af4bca",
"type": "main",
"index": 0
}
]
]
},
"b6587b49-46b8-4247-9fbe-2f0ed8f5e687": {
"main": [
[
{
"node": "Google Drive: Upload Voice",
"type": "main",
"index": 0
},
{
"node": "3970a5a3-296f-450a-be06-769599c0aa06",
"type": "main",
"index": 0
},
{
"node": "Google Sheets: Read Avatar Config",
"type": "main",
"index": 0
}
]
]
},
"Google Drive: Upload Voice": {
"main": [
[
{
"node": "Google Sheets: Log Voice Metadata",
"type": "main",
"index": 0
}
]
]
},
"0bb8684f-b280-4c14-9ea8-892134a14fb9": {
"main": [
[
{
"node": "Google Drive: Upload Final Video",
"type": "main",
"index": 0
}
]
]
},
"181fcfd9-28b3-465c-a6ad-5a51457aebe0": {
"main": [
[
{
"node": "a5df5318-d518-4520-ab25-f7575d5e360a",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets - Update Status": {
"main": [
[
{
"node": "36bcedc0-301b-4be0-b327-5d6dcc3c07d6",
"type": "main",
"index": 0
}
]
]
},
"79f9fb76-9e3f-4663-8497-4418fa5a3ab2": {
"main": [
[
{
"node": "Wait for Rendering",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets - Read Post Data": {
"main": [
[
{
"node": "Get Google Drive ID",
"type": "main",
"index": 0
}
]
]
},
"Google Drive: Upload Final Video": {
"main": [
[
{
"node": "Google Sheets: Save Final Video URL",
"type": "main",
"index": 0
}
]
]
},
"36bcedc0-301b-4be0-b327-5d6dcc3c07d6": {
"main": [
[
{
"node": "13853816-2015-4df2-a0e7-b588d28a61be",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets: Log Voice Metadata": {
"main": [
[]
]
},
"Google Sheets: Read Avatar Config": {
"main": [
[
{
"node": "8bacbb69-ca03-4bfe-93e8-ef29cc768c9e",
"type": "main",
"index": 0
}
]
]
},
"3970a5a3-296f-450a-be06-769599c0aa06": {
"main": [
[
{
"node": "AI Agent - Generate Title & Caption & Script",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets: Read Avatar Config1": {
"main": [
[
{
"node": "79f9fb76-9e3f-4663-8497-4418fa5a3ab2",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets: Save Final Video URL": {
"main": [
[
{
"node": "Google Sheets - Read Post Data",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger: Receive Voice Message": {
"main": [
[
{
"node": "b6587b49-46b8-4247-9fbe-2f0ed8f5e687",
"type": "main",
"index": 0
}
]
]
},
"AI Agent - Generate Title & Caption & Script": {
"main": [
[]
]
},
"Google Sheets - Update Title & Caption & Script": {
"ai_tool": [
[
{
"node": "AI Agent - Generate Title & Caption & Script",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}์ด ์ํฌํ๋ก์ฐ๋ฅผ ์ด๋ป๊ฒ ์ฌ์ฉํ๋์?
์์ JSON ๊ตฌ์ฑ ์ฝ๋๋ฅผ ๋ณต์ฌํ์ฌ n8n ์ธ์คํด์ค์์ ์ ์ํฌํ๋ก์ฐ๋ฅผ ์์ฑํ๊ณ "JSON์์ ๊ฐ์ ธ์ค๊ธฐ"๋ฅผ ์ ํํ ํ, ๊ตฌ์ฑ์ ๋ถ์ฌ๋ฃ๊ณ ํ์์ ๋ฐ๋ผ ์ธ์ฆ ์ค์ ์ ์์ ํ์ธ์.
์ด ์ํฌํ๋ก์ฐ๋ ์ด๋ค ์๋๋ฆฌ์ค์ ์ ํฉํ๊ฐ์?
๊ณ ๊ธ - ์ฝํ ์ธ ์ ์, ๋ฉํฐ๋ชจ๋ฌ AI
์ ๋ฃ์ธ๊ฐ์?
์ด ์ํฌํ๋ก์ฐ๋ ์์ ํ ๋ฌด๋ฃ์ด๋ฉฐ ์ง์ ๊ฐ์ ธ์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ๋ค๋ง, ์ํฌํ๋ก์ฐ์์ ์ฌ์ฉํ๋ ํ์ฌ ์๋น์ค(์: OpenAI API)๋ ์ฌ์ฉ์ ์ง์ ๋น์ฉ์ ์ง๋ถํด์ผ ํ ์ ์์ต๋๋ค.
๊ด๋ จ ์ํฌํ๋ก์ฐ ์ถ์ฒ
Dr. Firas
@drfirasAutomation expert and certified trainer. I create hands-on courses to master automation with n8n. Contact me to access my exclusive training and start building powerful workflows today. ๐
์ด ์ํฌํ๋ก์ฐ ๊ณต์