This workflow follows the Agent → Blotaton8N Nodes Blotato recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"updatedAt": "2025-09-27T10:56:12.000Z",
"createdAt": "2025-09-23T08:29:26.402Z",
"id": "NviyxZS0RbIN2oeK",
"name": "AI Personal Assistant for Google Tasks",
"active": false,
"isArchived": true,
"nodes": [
{
"parameters": {
"content": "# \ud83d\udcd1 STEP 5 \u2014 Auto-Post to All Platforms\n\n",
"height": 832,
"width": 1344,
"color": 4
},
"id": "941b6dee-357d-4212-9f59-977e53cc23e6",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
496,
448
],
"typeVersion": 1
},
{
"parameters": {},
"id": "4a5d5fc8-b4a9-4683-92e1-512b48609291",
"name": "Upload Video to BLOTATO",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
560,
1072
],
"typeVersion": 2
},
{
"parameters": {},
"id": "6c5024ed-b539-46db-896a-37bbac839bde",
"name": "Youtube",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1184,
864
],
"typeVersion": 2
},
{
"parameters": {},
"id": "f878b7ad-b014-410a-9676-2323bd8e6cb6",
"name": "Tiktok",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
816,
688
],
"typeVersion": 2
},
{
"parameters": {
"mode": "chooseBranch",
"numberInputs": 9
},
"id": "7109bb90-aa3c-4394-bb17-9f3782222ad4",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
1472,
768
],
"typeVersion": 3.2
},
{
"parameters": {
"operation": "appendOrUpdate",
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
},
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"columns": {
"value": {
"STATUS": "Published",
"IMAGE NAME": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.photo[2].file_unique_id }}"
},
"schema": [
{
"id": "IMAGE NAME",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "IMAGE NAME",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE URL",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "IMAGE URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE DESCRIPTION",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "IMAGE DESCRIPTION",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "CAPTION",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "CAPTION",
"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": "TITRE VIDEO",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "TITRE VIDEO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "CAPTION VIDEO",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "CAPTION VIDEO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "STATUS",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "STATUS",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"IMAGE NAME"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"id": "d70a0378-530d-45e5-ad7b-e251b127bbf5",
"name": "Update Status to \"DONE\"",
"type": "n8n-nodes-base.googleSheets",
"position": [
1648,
880
],
"typeVersion": 4.5
},
{
"parameters": {},
"id": "44834c5a-4211-44e1-a568-ed94d7c185a7",
"name": "Linkedin",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1008,
688
],
"typeVersion": 2
},
{
"parameters": {},
"id": "7241b13e-6101-4eb8-a488-5930ad322d03",
"name": "Facebook",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1184,
688
],
"typeVersion": 2
},
{
"parameters": {},
"id": "dfe52a79-5550-4294-b24b-1f38e7826afd",
"name": "Instagram",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
816,
864
],
"typeVersion": 2
},
{
"parameters": {},
"id": "19fb2cc4-bf88-4071-9707-756f9bdc7951",
"name": "Threads",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
816,
1072
],
"typeVersion": 2
},
{
"parameters": {},
"id": "89246807-1a54-4615-9ed2-09e7e0970735",
"name": "Bluesky",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1008,
1072
],
"typeVersion": 2
},
{
"parameters": {},
"id": "a56af25b-7d81-4811-9fac-665c196f5b17",
"name": "Pinterest",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1184,
1072
],
"typeVersion": 2
},
{
"parameters": {},
"id": "8b0da768-6673-460b-8761-1194c06fb91c",
"name": "Twitter (X)",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1008,
864
],
"typeVersion": 2
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"id": "a2fd35da-aa97-4d94-a0cd-41ce21d0382c",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
16,
784
],
"typeVersion": 1.2
},
{
"parameters": {},
"id": "eb0a7f9e-624c-48dc-a2aa-07d381ceef9d",
"name": "Think",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
160,
784
],
"typeVersion": 1
},
{
"parameters": {
"jsonSchemaExample": "{\n \"title\": \"string\",\n \"final_prompt\": \"string\"\n}\n"
},
"id": "e462028d-6352-40ed-a0cd-ce81caaf211d",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
304,
784
],
"typeVersion": 1.3
},
{
"parameters": {
"chatId": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.chat.id }}",
"text": "=Url VIDEO : {{ $('Download Video from VEO3').item.json.data.response.resultUrls[0] }}",
"additionalFields": {}
},
"id": "fda66859-fb25-4d6f-b239-530f1edce8c9",
"name": "Send Video URL via Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
544,
576
],
"typeVersion": 1.2
},
{
"parameters": {
"operation": "sendVideo",
"chatId": "={{ $json.result.chat.id }}",
"file": "={{ $('Save Caption Video to Google Sheets').item.json['URL VIDEO FINAL'] }}",
"additionalFields": {}
},
"id": "6d0e3714-5acc-45a6-a806-b526c53e3f8a",
"name": "Send Final Video Preview",
"type": "n8n-nodes-base.telegram",
"position": [
560,
816
],
"typeVersion": 1.2
},
{
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"id": "5cecd6f1-bd99-4d2a-8d84-f6b6e0bdc2c6",
"name": "Telegram Trigger: Receive Video Idea",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-672,
0
],
"typeVersion": 1.2
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "cc2e0500-57b1-4615-82cb-1c950e5f2ec4",
"name": "json_master",
"type": "string",
"value": "={\n \"description\": \"Brief narrative description of the scene, focusing on key visual storytelling and product transformation.\",\n \"style\": \"cinematic | photorealistic | stylized | gritty | elegant\",\n \"camera\": {\n \"type\": \"fixed | dolly | Steadicam | crane combo\",\n \"movement\": \"describe any camera moves like slow push-in, pan, orbit\",\n \"lens\": \"optional lens type or focal length for cinematic effect\"\n },\n \"lighting\": {\n \"type\": \"natural | dramatic | high-contrast\",\n \"sources\": \"key lighting sources (sunset, halogen, ambient glow...)\",\n \"FX\": \"optional VFX elements like fog, reflections, flares\"\n },\n \"environment\": {\n \"location\": \"describe location or room (kitchen, desert, basketball court...)\",\n \"set_pieces\": [\n \"list of key background or prop elements\",\n \"e.g. hardwood floors, chain-link fence, velvet surface\"\n ],\n \"mood\": \"describe the ambient atmosphere (moody, clean, epic...)\"\n },\n \"elements\": [\n \"main physical items involved (product box, accessories, vehicles...)\",\n \"include brand visibility (logos, packaging, texture...)\"\n ],\n \"subject\": {\n \"character\": {\n \"description\": \"optional \u2013 physical description, outfit\",\n \"pose\": \"optional \u2013 position or gesture\",\n \"lip_sync_line\": \"optional \u2013 spoken line if there\u2019s a voiceover\"\n },\n \"product\": {\n \"brand\": \"Brand name\",\n \"model\": \"Product model or name\",\n \"action\": \"description of product transformation or assembly\"\n }\n },\n \"motion\": {\n \"type\": \"e.g. transformation, explosion, vortex\",\n \"details\": \"step-by-step visual flow of how elements move or evolve\"\n },\n \"VFX\": {\n \"transformation\": \"optional \u2013 describe style (neon trails, motion blur...)\",\n \"impact\": \"optional \u2013 e.g. shockwave, glow, distortion\",\n \"particles\": \"optional \u2013 embers, sparks, thread strands...\",\n \"environment\": \"optional \u2013 VFX affecting the scene (ripples, wind...)\"\n },\n \"audio\": {\n \"music\": \"optional \u2013 cinematic score, trap beat, ambient tone\",\n \"sfx\": [\n \"list of sound effects (zip, pop, woosh...)\"\n ],\n \"ambience\": \"optional \u2013 background soundscape (traffic, wind...)\",\n \"voiceover\": {\n \"delivery\": \"tone and style (confident, whisper, deep...)\",\n \"line\": \"text spoken if applicable\"\n }\n },\n \"ending\": \"Final shot description \u2013 what is seen or felt at the end (freeze frame, logo pulse, glow...)\",\n \"text\": \"none | overlay | tagline | logo pulse at end only\",\n \"format\": \"16:9 | 4k | vertical\",\n \"keywords\": [\n \"brand\",\n \"scene style\",\n \"motion type\",\n \"camera style\",\n \"sound mood\",\n \"target theme\"\n ]\n}\n"
}
]
},
"options": {}
},
"id": "543f7540-a8fe-4ee6-8e2b-4adc7c34be9e",
"name": "Set Master Prompt",
"type": "n8n-nodes-base.set",
"position": [
-224,
560
],
"typeVersion": 3.4
},
{
"parameters": {
"promptType": "define",
"text": "=Create a UGC-style video prompt using both the reference image and the user description. \n\n**Inputs** \n- User description (optional): \n `{{ $('Telegram Trigger: Receive Video Idea').item.json.message.caption }}` \n- Reference image analysis (stay strictly faithful to what\u2019s visible): \n `{{ $('Google Sheets: Update Image Description').item.json['IMAGE DESCRIPTION'] }}` \n\n**Rules** \n- Keep the style casual, authentic, and realistic. Avoid studio-like or cinematic language. \n- Default model: `veo3_fast` (unless otherwise specified). \n- Output only **one JSON object** with the key: `video_prompt`. \n",
"hasOutputParser": true,
"options": {
"systemMessage": "=system_prompt:\n ## SYSTEM PROMPT: Structured Video Ad Prompt Generator\n A - Ask:\n Generate a structured video ad prompt for cinematic generation, strictly based on the master schema provided in: {{ $json.json_master }}.\n The final result must be a JSON object with exactly two top-level keys: `title` and `final_prompt`.\n\n G - Guidance:\n role: Creative Director\n output_count: 1\n character_limit: None\n constraints:\n - The output must be valid JSON.\n - The `title` field should contain a short, descriptive and unique title (max 15 words).\n - The `final_prompt` field must contain a **single-line JSON string** that follows the exact structure of {{ $json.json_master }} with all fields preserved.\n - Do not include any explanations, markdown, or extra text \u2014 only the JSON object.\n - Escape all inner quotes in the `final_prompt` string so it is valid as a stringified JSON inside another JSON.\n tool_usage:\n - Ensure consistent alignment across all fields (camera, lighting, motion, etc.).\n - Maintain full structure even for optional fields (use \"none\", \"\", or [] as needed).\n\n N - Notation:\n format: JSON\n expected_output:\n {\n \"title\": \"A unique short title for the scene\",\n \"final_prompt\": \"{...stringified JSON of the full prompt...}\"\n }\n\n"
}
},
"id": "30038be6-b342-4da7-a5d5-c4e9a8239d55",
"name": "AI Agent: Generate Video Script",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
96,
560
],
"typeVersion": 2
},
{
"parameters": {
"method": "POST",
"url": "https://api.kie.ai/api/v1/veo/generate",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "={\n \"prompt\": {{ $json.prompt }},\n \"model\": \"{{ $('Google Sheets: Read Video Parameters (CONFIG)').item.json.model }}\",\n \"aspectRatio\": \"{{ $json.aspectRatio }}\",\n \"imageUrls\": [\n \"{{ $('Download Edited Image').item.json.images[0].url }}\"\n ]\n}",
"options": {}
},
"id": "3dfd4060-69e2-4a6d-b711-0d13d951f27f",
"name": "Generate Video with VEO3",
"type": "n8n-nodes-base.httpRequest",
"position": [
-624,
1072
],
"typeVersion": 4.2
},
{
"parameters": {
"amount": 20
},
"id": "e4231213-4759-48fa-87ff-9b28bfca8f34",
"name": "Wait for VEO3 Rendering",
"type": "n8n-nodes-base.wait",
"position": [
-416,
1072
],
"typeVersion": 1.1
},
{
"parameters": {
"url": "https://api.kie.ai/api/v1/veo/record-info",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "taskId",
"value": "={{ $('Generate Video with VEO3').item.json.data.taskId }}"
}
]
},
"options": {}
},
"id": "213b6f79-ff4b-4397-b349-9394faff474e",
"name": "Download Video from VEO3",
"type": "n8n-nodes-base.httpRequest",
"position": [
-208,
1072
],
"typeVersion": 4.2
},
{
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "GPT-4O"
},
"messages": {
"values": [
{
"content": "=You are rewriting a TikTok video script, caption, and overlay \u2014\nnot inventing a new one. You must follow this format and obey\nthese rules strictly.\n---\n### CONTEXT:\nHere is the content idea to use:{{ $('Telegram Trigger: Receive Video Idea').item.json.message.caption }}\n\nand the Title is : {{ $('AI Agent: Generate Video Script').item.json.output.title }}\n\n\nWrite the caption text using the topic.\n\n---\n- MUST be under 200 characters (yes \"Characters\" not wordcount)\nthis is an absolute MUST, no more than 200 characters!!! \n\n### FINAL OUTPUT FORMAT (no markdown formatting):\n\nDO NOT return any explanations. Only return the Caption Text\n"
}
]
},
"options": {}
},
"id": "f87bf3fe-2c09-4d8d-bcc3-bb15102ebdb4",
"name": "Rewrite Caption with GPT-4o",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-48,
1072
],
"typeVersion": 1.8
},
{
"parameters": {
"operation": "appendOrUpdate",
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
},
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"columns": {
"value": {
"STATUS": "CREATE",
"IMAGE NAME": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.photo[2].file_unique_id }}",
"TITRE VIDEO": "={{ $('AI Agent: Generate Video Script').item.json.output.title }}",
"CAPTION VIDEO": "={{ $json.message.content }}",
"URL VIDEO FINAL": "={{ $('Download Video from VEO3').item.json.data.response.resultUrls[0] }}"
},
"schema": [
{
"id": "IMAGE NAME",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "IMAGE NAME",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE URL",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "IMAGE URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE DESCRIPTION",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "IMAGE DESCRIPTION",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "CAPTION",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "CAPTION",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL VIDEO FINAL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL VIDEO FINAL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TITRE VIDEO",
"type": "string",
"display": true,
"required": false,
"displayName": "TITRE VIDEO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "CAPTION VIDEO",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "CAPTION VIDEO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "STATUS",
"type": "string",
"display": true,
"required": false,
"displayName": "STATUS",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"IMAGE NAME"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"id": "534d978e-2c8a-4743-82b4-6410c200251f",
"name": "Save Caption Video to Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
256,
1072
],
"typeVersion": 4.6
},
{
"parameters": {
"jsCode": "const structuredPrompt = $input.first().json.output.final_prompt;\nreturn {\n json: {\n prompt: JSON.stringify(structuredPrompt), // this escapes it correctly!\n model: \"veo3_fast\",\n aspectRatio: \"16:9\"\n }\n};\n"
},
"id": "7c8c6a37-d944-45a8-b9d3-fd39492c2ea4",
"name": "Format Prompt",
"type": "n8n-nodes-base.code",
"position": [
-624,
768
],
"typeVersion": 2
},
{
"parameters": {
"content": "# \ud83d\udcd1 STEP 3 \u2014 Generate Video Ad Script",
"height": 460,
"width": 1180
},
"id": "6dfc9077-c6c6-44c4-bf82-89fa131effb5",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-736,
448
],
"typeVersion": 1
},
{
"parameters": {
"content": "# \ud83d\udcd1 STEP 4 \u2014 Generate Video with VEO3",
"height": 320,
"width": 1180
},
"id": "877f7bd2-9319-4868-b54a-23eee441bee0",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-736,
960
],
"typeVersion": 1
},
{
"parameters": {
"content": "# \ud83d\udcd1 STEP 1 \u2014 Collect Idea & Image",
"height": 592,
"width": 1184
},
"id": "4d0d564e-b581-4715-86a3-034c3ec8d22b",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-736,
-192
],
"typeVersion": 1
},
{
"parameters": {
"content": "# \ud83d\udcd1 STEP 2 \u2014 Create Image with NanoBanana\n",
"height": 592,
"width": 1328
},
"id": "95e2a88c-470d-46e2-8f82-d11fa215b452",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
496,
-192
],
"typeVersion": 1
},
{
"parameters": {
"resource": "file",
"fileId": "={{ $json.message.photo[2].file_id }}",
"additionalFields": {}
},
"id": "bd59b414-c80b-4e6b-b0e8-c93a484d0727",
"name": "Telegram: Get Image File",
"type": "n8n-nodes-base.telegram",
"position": [
-240,
-128
],
"typeVersion": 1.2
},
{
"parameters": {
"name": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.photo[2].file_unique_id }}",
"driveId": {
"__rl": true,
"mode": "id",
"value": "="
},
"folderId": {
"__rl": true,
"mode": "id",
"value": "="
},
"options": {}
},
"id": "c4e308a8-07ab-49cc-a245-88c4b24d5bb9",
"name": "Google Drive: Upload Image",
"type": "n8n-nodes-base.googleDrive",
"position": [
-224,
64
],
"typeVersion": 3
},
{
"parameters": {
"operation": "appendOrUpdate",
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
},
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"columns": {
"value": {
"STATUS": "EN COURS",
"CAPTION": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.caption }}",
"IMAGE URL": "={{ $json.webContentLink }}",
"IMAGE NAME": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.photo[2].file_unique_id }}"
},
"schema": [
{
"id": "IMAGE NAME",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "IMAGE NAME",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE URL",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "IMAGE URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE DESCRIPTION",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "IMAGE DESCRIPTION",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "CAPTION",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "CAPTION",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "STATUS",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "STATUS",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"IMAGE NAME"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"id": "02ea0510-47c8-4866-aa5b-34b14de63a5a",
"name": "Google Sheets: Log Image & Caption",
"type": "n8n-nodes-base.googleSheets",
"position": [
-224,
240
],
"typeVersion": 4.7
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "af62651a-3fc8-419d-908b-6514f6f4bcb3",
"name": "YOUR_BOT_TOKEN",
"type": "string",
"value": ""
}
]
},
"options": {}
},
"id": "a9cb8fb2-84c7-42db-8059-c63bb2a55442",
"name": "Set: Bot Token (Placeholder)",
"type": "n8n-nodes-base.set",
"position": [
16,
0
],
"typeVersion": 3.4
},
{
"parameters": {
"url": "=https://api.telegram.org/bot{{ $json.YOUR_BOT_TOKEN }}/getFile?file_id={{ $('Telegram Trigger: Receive Video Idea').item.json.message.photo[3].file_id }}",
"options": {}
},
"id": "fbb67afe-44fc-40db-b19a-8996299eee05",
"name": "Telegram API: Get File URL",
"type": "n8n-nodes-base.httpRequest",
"position": [
208,
0
],
"typeVersion": 4.2
},
{
"parameters": {
"resource": "image",
"operation": "analyze",
"modelId": {
"__rl": true,
"mode": "list",
"value": "chatgpt-4o-latest",
"cachedResultName": "CHATGPT-4O-LATEST"
},
"text": "=You are an image analysis assistant.\n\nYour task is to analyze the given image and output results **only in YAML format**. Do not add explanations, comments, or extra text outside YAML.\n\nRules:\n\n- If the image depicts a **product**, return:\n \n ```yaml\n brand_name: (brand if visible or inferable)\n color_scheme:\n - hex: (hex code of each prominent color)\n name: (descriptive name of the color)\n font_style: (serif/sans-serif, bold/thin, etc.)\n visual_description: (1\u20132 sentences summarizing what is seen, ignoring the background)\n \n ```\n \n- If the image depicts a **character**, return:\n \n ```yaml\n character_name: (name if visible or inferable, else \"unknown\")\n color_scheme:\n - hex: (hex code of each prominent color on the character)\n name: (descriptive name of the color)\n outfit_style: (clothing style, accessories, or notable features)\n visual_description: (1\u20132 sentences summarizing what the character looks like, ignoring the background)\n \n ```\n \n- If the image depicts **both**, return **both sections** in YAML.\n\nOnly output valid YAML. No explanations.",
"imageUrls": "=https://api.telegram.org/file/bot{{ $('Set: Bot Token (Placeholder)').item.json.YOUR_BOT_TOKEN }}/{{ $json.result.file_path }}",
"options": {}
},
"id": "4dba172b-3933-4b4f-8052-20d8ca57e0c1",
"name": "OpenAI Vision: Analyze Reference Image",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
624,
0
],
"typeVersion": 1.8
},
{
"parameters": {
"operation": "appendOrUpdate",
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
},
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"columns": {
"value": {
"IMAGE NAME": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.photo[2].file_unique_id }}",
"IMAGE DESCRIPTION": "={{ $json.content }}"
},
"schema": [
{
"id": "IMAGE NAME",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "IMAGE NAME",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE URL",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "IMAGE URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE DESCRIPTION",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "IMAGE DESCRIPTION",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "CAPTION",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "CAPTION",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "STATUS",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "STATUS",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"IMAGE NAME"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"id": "5b4eaf7d-f7f2-48ca-8296-a8bdc3bdb052",
"name": "Google Sheets: Update Image Description",
"type": "n8n-nodes-base.googleSheets",
"position": [
864,
0
],
"typeVersion": 4.7
},
{
"parameters": {
"jsonSchemaExample": "{\n\t\"image_prompt\": \"string\"\n}"
},
"id": "0b4416dd-8ff4-4d64-8dde-74c17c5f0414",
"name": "LLM: Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1248,
240
],
"typeVersion": 1.3
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"id": "75a541a9-dcda-4240-919f-eb312bc1dc72",
"name": "LLM: OpenAI Chat",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1040,
240
],
"typeVersion": 1.2
},
{
"parameters": {
"promptType": "define",
"text": "=Your task is to create an image prompt following the system guidelines. \nEnsure that the reference image is represented as **accurately as possible**, including all text elements. \n\nUse the following inputs: \n\n- **User\u2019s description:** \n{{ $json.CAPTION }}\n\n- **Reference image description:** \n{{ $json['IMAGE DESCRIPTION'] }}\n",
"hasOutputParser": true,
"options": {
"systemMessage": "=ROLE: UGC Image Prompt Builder \n\nGOAL: \nGenerate one concise, natural, and realistic image prompt (\u2264120 words) from a given product or reference image. The prompt must simulate authentic UGC (user-generated content) photography. \n\nRULES: \n- Always output **one JSON object only** with the key: \n - `image_prompt`: (string with full description) \n- Do **not** add commentary, metadata, or extra keys. JSON only. \n\nSTYLE GUIDELINES: \n- Tone: casual, unstaged, lifelike, handheld snapshot. \n- Camera cues: include at least 2\u20133 (e.g., phone snapshot, handheld framing, off-center composition, natural indoor light, soft shadows, slight motion blur, auto exposure, unpolished look, mild grain). \n- Realism: embrace imperfections (wrinkles, stray hairs, skin texture, clutter, smudges). \n- Packaging/Text: preserve exactly as visible. Never invent claims, numbers, or badges. \n- Diversity: if people appear but are unspecified, vary gender/ethnicity naturally; default age range = 21\u201338. \n- Setting: default to real-world everyday spaces (home, street, store, gym, office). \n\nSAFETY: \n- No copyrighted character names. \n- No dialogue or scripts. Only describe scenes. \n\nOUTPUT CONTRACT: \n- JSON only, no prose outside. \n- Max 120 words in `image_prompt`. \n- Must cover: subject, action, mood, setting, style/camera, colors, and text accuracy. \n\nCHECKLIST BEFORE OUTPUT: \n- Natural handheld tone? \n- At least 2 camera cues included? \n- Product text preserved exactly? \n- Only JSON returned? \n\n--- \n\n### Example \n\nGood Example : \n```json\n{ \"image_prompt\": \"a young adult casually holding a skincare tube near a bathroom mirror; action: dabs small amount on the back of the hand; mood: easy morning; setting: small apartment bathroom with towel on rack and toothbrush cup; style/camera: phone snapshot, handheld framing, off-center composition, natural window light, slight motion blur, mild grain; colors: soft whites and mint label; text accuracy: keep every word on the tube exactly as visible, no added claims\" }\n"
}
},
"id": "ce37b5fc-f148-4d62-b6c1-2e64952dab6f",
"name": "Generate Image Prompt",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1088,
0
],
"typeVersion": 2.2
},
{
"parameters": {
"method": "POST",
"url": "https://queue.fal.run/fal-ai/nano-banana/edit",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n\t\"prompt\": \"{{ $json.output.image_prompt.replace(/\\\"/g, '\\\\\\\"').replace(/\\n/g, '\\\\n') }}\",\n\"image_urls\": [\"{{ $('Google Drive: Upload Image').item.json.webContentLink }}\"]\n\n}\n\n",
"options": {}
},
"id": "a0562513-9b7d-4e55-9044-8ab4518c423e",
"name": "NanoBanana: Create Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
1424,
0
],
"typeVersion": 4.2
},
{
"parameters": {
"amount": 20
},
"id": "9bfa2b5b-a064-4035-945b-588b0d38d364",
"name": "Wait for Image Edit",
"type": "n8n-nodes-base.wait",
"position": [
1632,
0
],
"typeVersion": 1.1
},
{
"parameters": {
"url": "={{ $json.response_url }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {}
},
"id": "1398e7cf-44ad-4ec4-bd90-5b7675ac5124",
"name": "Download Edited Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
1632,
224
],
"typeVersion": 4.2
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "id",
"value": "="
},
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"options": {}
},
"id": "f17bbef3-32fb-472f-9708-6b9babdf2619",
"name": "Google Sheets: Read Video Parameters (CONFIG)",
"type": "n8n-nodes-base.googleSheets",
"position": [
-432,
560
],
"typeVersion": 4.6
},
{
"parameters": {
"chatId": "={{ $('Telegram Trigger: Receive Video Idea').item.json.message.chat.id }}",
"text": "Published",
"additionalFields": {}
},
"id": "520815eb-6545-4123-a345-019be45f4e25",
"name": "Telegram: Send notification",
"type": "n8n-nodes-base.telegram",
"position": [
1648,
1088
],
"typeVersion": 1.2
}
],
"connections": {
"Merge": {
"main": [
[
{
"node": "Update Status to \"DONE\"",
"type": "main",
"index": 0
}
]
]
},
"Update Status to \"DONE\"": {
"main": [
[
{
"node": "Telegram: Send notification",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent: Generate Video Script",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Think": {
"ai_tool": [
[
{
"node": "AI Agent: Generate Video Script",
"type": "ai_tool",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent: Generate Video Script",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Send Video URL via Telegram": {
"main": [
[
{
"node": "Send Final Video Preview",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger: Receive Video Idea": {
"main": [
[
{
"node": "Set: Bot Token (Placeholder)",
"type": "main",
"index": 0
},
{
"node": "Telegram: Get Image File",
"type": "main",
"index": 0
}
]
]
},
"Set Master Prompt": {
"main": [
[
{
"node": "AI Agent: Generate Video Script",
"type": "main",
"index": 0
}
]
]
},
"AI Agent: Generate Video Script": {
"main": [
[
{
"node": "Format Prompt",
"type": "main",
"index": 0
}
]
]
},
"Generate Video with VEO3": {
"main": [
[
{
"node": "Wait for VEO3 Rendering",
"type": "main",
"index": 0
}
]
]
},
"Wait for VEO3 Rendering": {
"main": [
[
{
"node": "Download Video from VEO3",
"type": "main",
"index": 0
}
]
]
},
"Download Video from VEO3": {
"main": [
[
{
"node": "Rewrite Caption with GPT-4o",
"type": "main",
"index": 0
}
]
]
},
"Rewrite Caption with GPT-4o": {
"main": [
[
{
"node": "Save Caption Video to Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"Save Caption Video to Google Sheets": {
"main": [
[
{
"node": "Send Video URL via Telegram",
"type": "main",
"index": 0
}
]
]
},
"Format Prompt": {
"main": [
[
{
"node": "Generate Video with VEO3",
"type": "main",
"index": 0
}
]
]
},
"Telegram: Get Image File": {
"main": [
[
{
"node": "Google Drive: Upload Image",
"type": "main",
"index": 0
}
]
]
},
"Google Drive: Upload Image": {
"main": [
[
{
"node": "Google Sheets: Log Image & Caption",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets: Log Image & Caption": {
"main": [
[
{
"node": "Set: Bot Token (Placeholder)",
"type": "main",
"index": 0
}
]
]
},
"Set: Bot Token (Placeholder)": {
"main": [
[
{
"node": "Telegram API: Get File URL",
"type": "main",
"index": 0
}
]
]
},
"Telegram API: Get File URL": {
"main": [
[
{
"node": "OpenAI Vision: Analyze Reference Image",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Vision: Analyze Reference Image": {
"main": [
[
{
"node": "Google Sheets: Update Image Description",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets: Update Image Description": {
"main": [
[
{
"node": "Generate Image Prompt",
"type": "main",
"index": 0
}
]
]
},
"LLM: Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Generate Image Prompt",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"LLM: OpenAI Chat": {
"ai_languageModel": [
[
{
"node": "Generate Image Prompt",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Generate Image Prompt": {
"main": [
[
{
"node": "NanoBanana: Create Image",
"type": "main",
"index": 0
}
]
]
},
"NanoBanana: Create Image": {
"main": [
[
{
"node": "Wait for Image Edit",
"type": "main",
"index": 0
}
]
]
},
"Wait for Image Edit": {
"main": [
[
{
"node": "Download Edited Image",
"type": "main",
"index": 0
}
]
]
},
"Download Edited Image": {
"main": [
[
{
"node": "Google Sheets: Read Video Parameters (CONFIG)",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets: Read Video Parameters (CONFIG)": {
"main": [
[
{
"node": "Set Master Prompt",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"meta": null,
"versionId": "794a2375-fdf3-4f9c-8e74-373c62fe0090",
"activeVersionId": null,
"triggerCount": 0,
"shared": [
{
"updatedAt": "2025-09-23T08:29:26.414Z",
"createdAt": "2025-09-23T08:29:26.414Z",
"role": "workflow:owner",
"workflowId": "NviyxZS0RbIN2oeK",
"projectId": "HHopAZ4lOFgjhBzT"
}
],
"activeVersion": null,
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Personal Assistant for Google Tasks. Uses @blotato/n8n-nodes-blotato, googleSheets, lmChatOpenAi, toolThink. Event-driven trigger; 46 nodes.
Source: https://github.com/abde0112/n8n_bkv2/blob/main/ai-personal-assistant-for-google-tasks-NviyxZS0RbIN2oeK.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
🎯 Create viral TikToks, Shorts, Reels, podcasts, and ASMR videos in minutes — all on autopilot.
BoomerBobBot.TP. Uses agent, telegramTrigger, telegram, memoryBufferWindow. Event-driven trigger; 95 nodes.
Generate AI viral videos with NanoBanana & VEO3, shared on socials via Blotato 2. Uses @blotato/n8n-nodes-blotato, googleSheets, lmChatOpenAi, toolThink. Event-driven trigger; 94 nodes.
Arvifund - Supabase (Fixed v5). Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 91 nodes.
Arvifund - Supabase. Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 90 nodes.