See llms.txt for all machine-readable content.

Back to Templates

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

Last update

Last update 12 hours ago

Categories

Share


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

  1. Runs daily at 9 AM and sets the output mode (portrait/landscape) and background type (screenshot or inline_title).
  2. If set to inline_title, it asks Perplexity for 4 ready-to-use stories (title, script, subtitle) and maps them into HeyGen template variables.
  3. 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.
  4. For the screenshot path, it screenshots each article with Browserless, uploads each image to HeyGen, and combines each story with its uploaded image URL.
  5. It sends the assembled template variables to HeyGen to generate a template-based video (in test mode) with the configured dimensions.
  6. It waits briefly, polls HeyGen until the video status is completed, and formats the final video metadata.
  7. It posts an optional Telegram message with the HeyGen guest video link, downloads the final video file, and uploads it to a Google Drive folder (creating “HeyGen Videos” if needed).

Setup

  1. Add Perplexity API credentials for the Perplexity HTTP Request nodes.
  2. Add HeyGen header-auth credentials and replace the HeyGen template ID(s) and test flag as needed for your account and production use.
  3. Add Browserless query-auth credentials for the Browserless scrape and screenshot requests (required for the screenshot background path).
  4. Add a Google Drive OAuth2 connection and set the target Drive and folder (or update the folder ID used for uploads).
  5. Add Telegram bot credentials and update the chat ID if you want the Telegram notification step enabled.