AutomationFlowsAI & RAG › Generate AI Videos From Telegram Messages

Generate AI Videos From Telegram Messages

Original n8n title: Generate AI Videos From Telegram Messages with Nano Banana & Veo-3

BySuS @sulieman-said on n8n.io

How to use the provided n8n workflow (step‑by‑step), what matters, what it’s good for, and costs per run.

Event trigger★★★★☆ complexityAI-powered26 nodesTelegram TriggerHTTP RequestTelegramOpenAIAgentOpenAI ChatOutput Parser Structured
AI & RAG Trigger: Event Nodes: 26 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #8189 — we link there as the canonical source.

This workflow follows the Agent → HTTP Request 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 →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "b45ea84d-14ac-4b59-bb49-c15b148fa2c7",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -2528,
        1312
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "778a1aca-ab5b-40b6-8f2a-26a3c5688f21",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -3248,
        728
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "af683b31-52f5-4b6a-9d8b-073b33136ee8",
      "name": "Image Gen (Nano Banana)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1776,
        736
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5348286b-8213-41d0-962d-998f0737f491",
      "name": "Telegram: Send Photo",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -672,
        720
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f54bb79f-6f71-43df-8229-56ef95558f35",
      "name": "Telegram: Send Video",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1632,
        1312
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c1dfa4a0-99e5-45f6-9ba7-065bf87da981",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -3024,
        728
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "adb2cf39-adfd-465d-8aa2-ab02acce0c57",
      "name": "Transcribe a recording",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -2576,
        632
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "2d0a4beb-61be-41b4-9013-e4a8b97430bc",
      "name": "Transcribed Audio",
      "type": "n8n-nodes-base.set",
      "position": [
        -2352,
        632
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c64b8143-194a-44aa-94f9-1ce915cecc94",
      "name": "Text Message",
      "type": "n8n-nodes-base.set",
      "position": [
        -2352,
        824
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "43dd7fe4-fc18-414b-b6a2-09055dcc868e",
      "name": "Download Audio1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -2800,
        632
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "76cfbf6d-d8a1-4021-a628-dfa70a776382",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2128,
        624
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d62f235a-a587-4bd3-8af4-ad6a3f8ee935",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2128,
        832
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7fae697c-bc24-4513-9bbd-9d0cab8414fb",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1984,
        800
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "e0117af9-9d78-4bd3-b946-0bac95b88cac",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1552,
        728
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "34ddc5e0-0108-4e4a-b2b7-e8be3629d9e2",
      "name": "Get Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1328,
        656
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "548d27da-2049-4438-9ec3-0ae840d8be4b",
      "name": "Image created",
      "type": "n8n-nodes-base.if",
      "position": [
        -1104,
        728
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ab874839-5b4a-4d9b-98de-392aaa4b9f5f",
      "name": "Download Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -896,
        832
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d2545c6e-18ac-45d1-8eb7-903e7b70a6b5",
      "name": "Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1856,
        1312
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b39785b1-4599-4286-9adb-16653684393b",
      "name": "Get Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2304,
        1248
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ee07e63f-03a6-403c-b755-74d92237f303",
      "name": "Generate Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2752,
        1312
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "844d7072-9b9e-40e3-b66f-15b47097aef8",
      "name": "Video created",
      "type": "n8n-nodes-base.if",
      "position": [
        -2080,
        1312
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "596756e2-0cc5-49b9-a0f4-dbc8304ed20a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3424,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fa91822f-5393-43a1-9d20-c82ee7c269fa",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3040,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "918d8b10-9184-4a68-bcd1-21aed6c5768c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2192,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e64f9367-4f14-4da6-8864-57525ae04bee",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1840,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ba314a4e-f424-4800-8e1c-8077947d3e11",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2896,
        1152
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Download Audio1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Text Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Image Gen (Nano Banana)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image": {
      "main": [
        [
          {
            "node": "Image created",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Video created",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text Message": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image created": {
      "main": [
        [
          {
            "node": "Download Image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video created": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Image": {
      "main": [
        [
          {
            "node": "Telegram: Send Photo",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Telegram: Send Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Video": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Audio1": {
      "main": [
        [
          {
            "node": "Transcribe a recording",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Transcribed Audio": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe a recording": {
      "main": [
        [
          {
            "node": "Transcribed Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Gen (Nano Banana)": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

How to use the provided n8n workflow (step‑by‑step), what matters, what it’s good for, and costs per run.

Source: https://n8n.io/workflows/8189/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

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.

@Blotato/N8N Nodes Blotato, Google Sheets, OpenAI Chat +9
AI & RAG

RAG CHATBOT Main. Uses telegram, telegramTrigger, lmChatOpenAi, n8n-nodes-mcp. Event-driven trigger; 87 nodes.

Telegram, Telegram Trigger, OpenAI Chat +8
AI & RAG

Digital marketers, content creators, social media managers, and businesses who want to use AI marketing automation for YouTube Shorts without spending hours on production. This AI workflow helps anyon

OpenAI, HTTP Request, OpenAI Chat +7
AI & RAG

Transform your salon/service business with this streamlined Telegram automation system featuring Claude integration, zero-setup database management, and intelligent conversation handling. Claude MCP I

Redis, Agent Tool, Google Calendar +10
AI & RAG

This template is designed for marketers, content creators, and e-commerce brands who want to automate the creation of professional ad videos at scale. It’s ideal for teams looking to generate consiste

Telegram, Telegram Trigger, Google Drive +8