🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

HeyGen + Google Sheets: AI news videos, logged

Lisa Granqvist Partner Workflow Automation Expert

You find a great AI article, tell yourself you’ll turn it into a quick video, and then it disappears into the “later” pile. Meanwhile, your content calendar keeps asking for consistency you honestly don’t have time to manually produce.

This hits content marketers first, but founders and newsletter operators feel it too. With HeyGen video automation, you can turn trending AI news into short avatar videos on a schedule, then have every finished link neatly logged for review.

Below, you’ll see how the workflow runs hourly, how it writes the script, how it waits for rendering, and how the final URL lands in Google Sheets so nothing gets lost.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: HeyGen + Google Sheets: AI news videos, logged

The Problem: Turning trending news into videos is a grind

Keeping up with AI news is already a job. Turning it into 30–60 second videos is another one. You have to find articles that are actually worth covering, open them, skim for the point, write a script that sounds human, then create the video, wait for rendering, and track the link somewhere for approval or posting. It’s not one hard task. It’s a dozen tiny tasks that break your focus and eat your afternoon. And if you skip a few days, your “video habit” basically resets.

The friction compounds. Here’s where it usually breaks down.

  • You spend about 30 minutes just hunting for four decent articles, and half of them are recycled takes.
  • Scripts get written in a rush, which means more edits and weaker hooks when you record (or generate) the voiceover.
  • Video rendering becomes a bottleneck because you have to remember to check back and grab the finished URL.
  • Links and assets end up scattered across tabs, Slack messages, and notes, so publishing turns into another round of searching.

The Solution: Hourly AI news → HeyGen videos → logged in Sheets

This workflow runs on a schedule and builds a steady pipeline of short AI news videos without you babysitting it. Every hour, it searches trending AI news (using Dumpling AI), pulls the top results, and scrapes the full article text so the script isn’t based on a headline alone. Then it merges the article content and asks GPT-4o (via a LangChain agent inside n8n) to write a casual, conversational script designed for a 30–60 second video. That script is sent to HeyGen to generate an avatar video with your chosen avatar and voice. After that, the workflow waits, checks render status, retries if needed, and only logs the final URL once the video is actually ready.

It starts with an hourly trigger, then moves through “find news” and “extract content.” Next comes script generation, followed by HeyGen video creation and a render-check loop. Finally, the completed video link is written into Google Sheets so you can review, approve, and publish on your own terms.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you want 4 short AI news videos per day. Manually, it’s roughly 10 minutes to find each article, 15 minutes to pull key points and write a script, and another 10 minutes to create the HeyGen video and track the URL. That’s about 35 minutes per video, or a bit over 2 hours a day. With this workflow, you spend maybe 10 minutes total reviewing the finished links in Google Sheets and deciding what to publish, while n8n handles the hourly fetching, scripting, rendering checks, and logging.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Dumpling AI for trending AI news search.
  • HeyGen to generate avatar videos from scripts.
  • OpenAI API Key (get it from your OpenAI API dashboard).
  • Google Sheets to log each finished video link.

Skill level: Intermediate. You’ll be comfortable adding API credentials and editing a couple of request fields like query, avatar_id, and voice_id.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

An hourly schedule kicks things off. The workflow runs every hour so you’re always pulling fresh stories instead of recycling yesterday’s news.

News gets collected, capped, and expanded into individual items. Dumpling AI returns a set of trending links, n8n limits it to the top four, then processes them one-by-one so each article can be scraped cleanly.

Article text is aggregated and turned into a spoken script. The scraped content is merged and sent to a LangChain agent using GPT-4o-mini (you can switch models) to produce a casual script that fits a 30–60 second delivery.

HeyGen renders the avatar video, then n8n checks until it’s done. A Wait node pauses, a status check runs, and an If condition decides whether to log the link or wait and retry. No manual refresh loops on your part.

You can easily modify the Dumpling AI search query to target a different topic (for example “Generative AI”) based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Schedule Trigger

Start by defining when the workflow should run so the pipeline automatically fetches and produces new avatar videos.

  1. Select Scheduled Run Initiator and set your desired schedule in RuleInterval (e.g., hourly or daily).
  2. Confirm the trigger connects directly to News Search Request as the first action.

Step 2: Connect the News Data Source

Configure the news search and article scraping steps that supply content for the script.

  1. Open News Search Request and set URL to https://app.dumplingai.com/api/v1/search-news with Method set to POST.
  2. Set JSON Body to { "query": "AI Agent", "language": "en", "dateRange": "pastHour", "page": "1" }.
  3. Credential Required: Connect your httpHeaderAuth credentials in News Search Request.
  4. In Expand News Items, set Field to Split Out to news to iterate through articles.
  5. In Cap Top Results, set Max Items to 4 to limit processing.
  6. Open Scrape Article Text and set URL to https://app.dumplingai.com/api/v1/scrape with Method set to POST.
  7. Set JSON Body to { "url": "{{ $json.link }}", "cleaned": "true" }.
  8. Credential Required: Connect your httpHeaderAuth credentials in Scrape Article Text.

Tip: If the search results are empty, broaden query or extend dateRange to capture more articles.

Step 3: Set Up Script Composition with AI

Aggregate the scraped content and generate a short, single-line script using the AI agent.

  1. In Aggregate Article Content, keep the Fields to Aggregate for content to combine article text.
  2. Open Compose Video Script and set Text to =Here is the topic:{{ $json.content }} Here is the news article:{{ $('News Search Request').item.json.searchParameters.q }}.
  3. In Compose Video Script, keep the System Message that forces a single-line, conversational script output.
  4. Ensure GPT-4o Mini Model is connected as the language model for Compose Video Script.
  5. Credential Required: Connect your openAiApi credentials in GPT-4o Mini Model (credentials are added on the model node, not the agent).

⚠️ Common Pitfall: If the script output includes line breaks, verify the System Message in Compose Video Script is unchanged and enforces a single-line response.

Step 4: Configure Avatar Video Generation and Render Checks

Send the generated script to the avatar service, pause for rendering, and poll until the video is complete.

  1. In Request Avatar Video, set URL to https://api.heygen.com/v2/video/generate and Method to POST.
  2. Set the JSON Body to use the script output: "input_text": "{{ $json.output }}" and keep "width": 1280, "height": 720.
  3. Credential Required: Connect your httpHeaderAuth credentials in Request Avatar Video.
  4. Keep Pause for Render connected to Check Render Status to wait before polling the render status.
  5. In Check Render Status, set URL to https://api.heygen.com/v1/video_status.get and add the query parameter video_id with value ={{ $json.data.video_id }}.
  6. Credential Required: Connect your httpHeaderAuth credentials in Check Render Status.
  7. In Render Complete Check, set the condition to equals with Left Value ={{ $json.data.status }} and Right Value completed.
  8. In Delay and Retry, keep Amount set to 20 so incomplete renders loop back to Check Render Status.

Tip: If renders take longer than expected, increase the Amount in Delay and Retry to reduce API polling frequency.

Step 5: Configure the Output Destination

Record completed video links in Google Sheets for tracking and sharing.

  1. Open Log Video Link and set Operation to append.
  2. Map the Video link column to ={{ $json.data.video_url }}.
  3. Select the spreadsheet in Document ID and choose Sheet Name Sheet1 (gid 0).
  4. Credential Required: Connect your googleSheetsOAuth2Api credentials in Log Video Link.

Step 6: Test and Activate Your Workflow

Run a complete test to verify the data flow and video output, then enable the workflow for production runs.

  1. Click Execute Workflow and monitor each node from Scheduled Run Initiator through Log Video Link.
  2. Confirm News Search Request returns articles and that Scrape Article Text produces content.
  3. Verify Compose Video Script outputs a single-line script and Request Avatar Video returns a video_id.
  4. Check that Render Complete Check routes to Log Video Link when status is completed and that the sheet receives the video URL.
  5. When the test succeeds, toggle the workflow to Active to enable scheduled production runs.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Google Sheets credentials can expire or need specific permissions. If things break, check the Google connection in n8n’s Credentials manager first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Frequently Asked Questions

How long does it take to set up this HeyGen video automation automation?

About an hour if you already have the API keys and a Google Sheet ready.

Do I need coding skills to automate HeyGen video automation?

No. You’ll mostly paste API keys, connect Google Sheets, and edit a few fields like the search query and HeyGen avatar settings.

Is n8n free to use for this HeyGen video automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Dumpling AI, OpenAI, and HeyGen API usage costs.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this HeyGen video automation workflow for different AI topics and a different avatar?

Yes, and it’s straightforward. Change the query inside the “News Search Request” (Dumpling AI search) to topics like “Generative AI” or “Autonomous Agents,” then update avatar_id and voice_id in the “Request Avatar Video” node to match your brand. You can also swap GPT-4o-mini for a different OpenAI model in the chat model node if you want a different tone. Many teams also adjust the schedule so it runs daily instead of hourly once they find a cadence they like.

Why is my HeyGen connection failing in this workflow?

Usually it’s an expired or incorrect API key in the HTTP Header credential used by the HeyGen request. Double-check the credential attached to the “Request Avatar Video” and “Check Render Status” HTTP nodes, then confirm your HeyGen account has access to the avatar_id and voice_id you’re sending. If it fails only sometimes, you may be hitting rate limits or polling too quickly; increasing the wait time before the status check often stabilizes it.

How many videos can this HeyGen video automation automation handle?

It depends on how often you run it and your plan limits. On n8n Cloud, you’re capped by monthly executions, so hourly runs plus retries add up. If you self-host, there’s no execution cap, but you’re still limited by your server and by HeyGen/OpenAI/Dumpling AI throughput. Practically, most teams start with hourly or every few hours, then tune the schedule once they see how many videos they actually publish.

Is this HeyGen video automation automation better than using Zapier or Make?

For this workflow, n8n is usually a better fit because it handles branching (the render-complete checks and retries) without turning your bill into a surprise, and it’s comfortable with multi-step HTTP request chains. Zapier or Make can still work, but you’ll often end up juggling extra steps for scraping, merging content, and polling HeyGen’s render status. Also, self-hosting is a big deal if you want high volume without paying per task. If you’re trying to keep it to a simple “one link in, one link out” flow, Zapier may feel simpler. Talk to an automation expert if you want help choosing.

Once this is running, you stop “trying to stay consistent” and you just are. The workflow handles the repetitive parts so you can focus on what to say, what to publish, and what to skip.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal