Skip to content
FlowHubFluxonLab
C
Google Drivefree

Create daily vaping news avatar videos with Perplexity, Browserless, HeyGen, Telegram and Google Drive

by Naveen Choudharyadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeGoogle DriveGoogle DriveHTTP RequestHTTP RequestTelegramTelegram
Share Post Share
CoParse News StoriesParse News Stor…CoBuild HeyGen Template VariablesBuild HeyGen Te…CoFormat Final Video DataFormat Final Vi…Send Telegram NotificationSend Telegram N…Upload Video to Google DriveUpload Video to…CoMerge Story Data with Image URLMerge Story Dat…ScDaily 9AM TriggerDaily 9AM Trigg…SeConfigure Mode & BackgroundConfigure Mode …SwRoute by Background TypeRoute by Backgr…HRPerplexity: Fetch 4 Structured StoriesPerplexity: Fet…CoParse Stories → Template VariablesParse Stories →…HRGenerate Video (Inline Title)Generate Video …HRPerplexity: Fetch Top 10 StoriesPerplexity: Fet…SIValidate Stories LoopValidate Storie…CoCheck Valid Story CountCheck Valid Sto…IfNeed More Valid Stories?Need More Valid…HRScrape Article (Validity Check)Scrape Article …IfIs Article Accessible (200)?Is Article Acce…CoAdd to Valid StoriesAdd to Valid St…CoPrepare Final Valid StoriesPrepare Final V…SIProcess Stories for ScreenshotsProcess Stories…HRBrowserless: Take Article ScreenshotBrowserless: Ta…HRUpload Screenshot to HeyGenUpload Screensh…HRGenerate Video (Screenshot)Generate Video …WaWait 45s – Initial ProcessingWait 45s – Init…HRPoll Video StatusPoll Video Stat…IfIs Video Completed?Is Video Comple…WaWait 30s Before RetryWait 30s Before…Search "HeyGen Videos" FolderSearch "HeyGen …IfDoes Folder Exist?Does Folder Exi…HRDownload Final VideoDownload Final …Create "HeyGen Videos" FolderCreate "HeyGen …12345678910111213141516171819202122232425262728293031323334353637
1/5
STEPS · 37
Runs on a schedule

Quick Overview This workflow runs daily at 9 AM, uses Perplexity to compile vaping industry news, optionally captures article screenshots via Browserless, and generates a HeyGen avatar video from a template. It then polls for completion, sends a Telegram notification, and archives the final video to Google Drive. How it works Runs daily at 9 AM and sets the output mode (portrait/landscape) and background type (screenshot or inline_title). If set to inline_title, it asks Perplexity for 4 ready-to-use stories (title, script, subtitle) and maps them into HeyGen template variables. If set to screenshot, it asks Perplexity for up to 10 stories, validates article accessibility with Browserless scraping until it collects 4 reachable URLs, and prepares the final story list. For the screenshot path, it screenshots each article with Browserless, uploads each image to HeyGen, and combines each story with its uploaded image URL. It sends the assembled template variables to HeyGen to generate a template-based video (in test mode) with the configured dimensions. It waits briefly, polls HeyGen until the video status is completed, and formats the final video metadata.

Tags

n8nreference-onlygoogle-drivetelegram
Connects
CCodegoogledriveGoogle DriveWHTTP RequesttelegramTelegram
CategoryGoogle Drive
Triggermanual
Complexityadvanced
Nodes32
AddedJul 16, 2026

Related workflows

See all Google Drive
CgoogledrivesheetsW
free

Recognize invoices / receipts from Google Drive and put them into Google Sheets

This workflow allows you to recognize a folder with receipts or invoices (make sure your files are in .pdf, .png, or .jpg format). The workflow can be triggered via the "Test workflow" button, and it also monitors the folder for new files, automatically recognizing them. Video Demo https://youtu.be/mGPt7fqGQD8 1. n8n import glitch After import, the trigger node "When clicking 'Test workflow'" might be disconnected. You need to connect it via 2 arrows to "Google Sheets1" and "Google Drive" nodes. So, the workflow has 2 triggers - via button, and via Google Sheets "new file" event - both of these triggers should be connected to 2 nodes. Here is how it should look like: https://ocr.oakpdf.com/n8n_fix.png 2. Set up RapidAPI HTTP auth key Create new "HTTP header" n8n credential and paste your RapidAPI key from https://rapidapi.com/restyler/api/receipt-and-invoice-ocr-api into it. https://ocr.oakpdf.com/n8n_api_key.png Make sure "HTTP Request" node uses this credential. 3. Set up your Google Auth You need a Google connection to work with your Google Sheets and Google Drive accounts: https://docs.n8n.io/integrations/builtin/credentials/google/oauth-generic/#finish-your-n8n-credential 4. S

by Anthony
googledriveW
free

Backup n8n workflows to Google Drive

Temporary solution using the undocumented REST API for backups using Google drive. Please note that there are issues with this workflow. It does not support versioning, so please know that it will create multiple copies of the workflows so if you run this daily it will make the folder grow quickly. Once I figure out how to version in Gdrive I'll update it here.

by Angel Menendez
Cgoogledrive
free

Send specific PDF attachments from Gmail to Google Drive using OpenAI

This workflow reads PDF textual content and sends the text to OpenAI. Attachments of interest will then be uploaded to a specified Google Drive folder. For example, you may wish to send invoices received from an email to an inbox folder in Google Drive for later processing. This workflow has been designed to easily change the search term to match your needs. See the workflow for more details. Prerequisites OpenAI credentials. Google credentials. How it works Triggers off on the On email received node. Iterates over the attachments in the email. Uses the OpenAI node to filter out the attachments that do not match the search term set in the Configure node. You could match on various PDF files (i.e. invoice, receipt, or contract). If the PDF attachment matches the search term, the workflow uses the Google Drive node to upload the PDF attachment to a specific Google Drive folder.

by n8n Team