{"product_id":"telegram-video-edit-clip-dub-automation-with-n8n","title":"Telegram Video Edit, Clip \u0026 Dub Automation with n8n","description":"\u003ch3\u003eTurn Telegram requests into automated video edits, clips, dubbing, and transcripts—end to end with n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens to your \u003cstrong\u003eTelegram\u003c\/strong\u003e bot messages, interprets what the user wants using \u003cstrong\u003eOpenAI (gpt-4o-mini)\u003c\/strong\u003e, starts the appropriate \u003cstrong\u003eRenderster\u003c\/strong\u003e media job, and then sends the finished result back to Telegram—while logging each job in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives Telegram messages\u003c\/strong\u003e and extracts the chat ID, message text\/caption, file ID (for attachments), and any provided URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnforces an allowlist\u003c\/strong\u003e: if the chat ID is not authorized, it replies with instructions to add the chat ID.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUnderstands the request\u003c\/strong\u003e with OpenAI (gpt-4o-mini), producing a structured action such as \u003cem\u003eauto edit\u003c\/em\u003e, \u003cem\u003eclips\u003c\/em\u003e, \u003cem\u003edub\u003c\/em\u003e, \u003cem\u003etranscript\u003c\/em\u003e, or help.\u003c\/li\u003e\n  \u003cli\u003eIf the request is help—or no video\/link is provided—the workflow sends a Telegram help message. Otherwise, it builds Renderster job options from the parsed request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStarts a Renderster \/media job\u003c\/strong\u003e by either downloading the attached Telegram video and uploading it, or using the provided link.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWaits for completion\u003c\/strong\u003e via webhook callback and periodic status checks, then retrieves final status and results.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDelivers outputs back to Telegram\u003c\/strong\u003e (uploads finished videos up to Telegram’s limit; otherwise sends a light copy or a link) and \u003cstrong\u003elogs job details to Google Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles failures\u003c\/strong\u003e by posting an error message to Telegram if the Renderster job fails.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eLet creators type “clip highlights” or “dub this in Spanish” in Telegram and receive the processed video automatically.\u003c\/li\u003e\n  \u003cli\u003eRoute internal video requests from Telegram to Renderster for consistent editing\/clipping\/transcription.\u003c\/li\u003e\n  \u003cli\u003eProvide a help-driven interface in Telegram when users forget to attach a video or include a link.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: Telegram bot, OpenAI (gpt-4o-mini), Renderster, Google Sheets.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n node approach\u003c\/strong\u003e: \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ewait\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e, \u003ccode\u003etelegram\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRenderster auth\u003c\/strong\u003e: add an HTTP Header Auth credential using header name \u003ccode\u003eX-API-Key\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram setup\u003c\/strong\u003e: create a bot with \u003cstrong\u003e@BotFather\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46217919332531,"sku":"N8N-20829","price":67.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/TgdlGxhtY0r1Vfo3d4FWS_aLSgDS1K.png?v=1791883050","url":"https:\/\/buyflowscripts.com\/products\/telegram-video-edit-clip-dub-automation-with-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}