Skip to main content

Create & post viral news AI avatar videos to 9 platforms with Perplexity & HeyGen

Workflow preview

Workflow preview
100%
Create & post viral news AI avatar videos to 9 platforms with Perplexity & HeyGen preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description This fully automated AI Twin Viral News system researches the latest trending news in any niche or industry, then generates talking head AI clone videos WITHOUT having to film or edit y...

Best for

  • Content Creation automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.perplexity, n8n-nodes-base.merge, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sabrina Ramonov πŸ„.

Original n8n.io source

1.1 Workflow description

Title
Create & post viral news AI avatar videos to 9 platforms with Perplexity & HeyGen
Workflow name
Create & post viral news AI avatar videos to 9 platforms with Perplexity & HeyGen

Description

This fully automated AI Twin Viral News system researches the latest trending news in any niche or industry, then generates talking-head AI clone videos WITHOUT having to film or edit yourself. This can easily be tailored to any particular niche, simply by updating the Perplexity research prompty.

It combines ChatGPT, Perplexity, HeyGen, and Blotato to research, create, and auto-post talking-head AI avatar videos to every social media platform, every single day.

Who Is This For?

This is perfect for digital marketing agencies, small business owners, entrepreneurs, content creators, influencers, and social media agencies.

How It Works

1. Trigger

  • Schedule: configured to run once daily at 10am

2. AI Researcher

  • Call Perplexity to research the top 10 latest news in your industry
  • Select news story most likely to go viral
  • Compile detailed factual report on selected news story

3. AI Writer

  • AI writes monologue script, video caption, and short title

4. Create Avatar Video

  • Call HeyGen API (requires paid API plan), specifying your avatar ID and voice ID
  • Create avatar video; optionally pass an image/video background if you have a green screen avatar

5. Get Video

  • Wait awhile, then fetch completed avatar video
  • Upload video to Blotato

6. Publish to Social Media via Blotato

  • Connect your Blotato account
  • Choose your social accounts
  • Either post immediately or schedule for later

Setup & Required Accounts

  • Sign up for Perplexity.ai and set up your API Billing
  • Generate your Perplexity API Key: https://www.perplexity.ai/account/api/keys
  • Sign up for Blotato.com
  • Generate Blotato API Key via Settings > API > Generate API Key (paid feature only)
  • Ensure "Verified Community Nodes" enabled in n8n Admin Panel
  • Install "Blotato" verified community node
  • Create Blotato credential
  • Sign up for HeyGen web plan and API plan
  • Paste your HeyGen API key, HeyGen avatar ID, and HeyGen voice ID
  • Complete the 2 setup steps in BROWN sticky notes in this template

Optional: Background Image/Video Behind Avatar

  • Ensure you have an avatar with background removed (requires higher tier Heygen plan)
  • Open SETUP HEYGEN node and set parameter 'has_background_video' to true
  • Open SETUP HEYGEN node and replace video URL in parameter 'background_video_url'
  • Recommendation: Only enable after the basic workflow is operational, i.e. you can make avatar videos without a background

Tips & Tricks

  • Perplexity API account must have billing funded
  • HeyGen API requires paid plan
  • Make sure you copied your avatar ID correctly (not the group avatar ID)
  • If your script is long, it takes more time for your video to finish
  • While testing:
    • Enable only 1 social platform and deactivate the rest
    • Update AI writer prompt to return a 5-second script instead of 30 seconds to reduce processing time
  • Go to HeyGen and check that your avatar video is being processed
  • After the workflow finishes, check your social media account for the final post
  • If successful, enable another social media node and continue testing

πŸ“„ Documentation

Full Tutorial

Troubleshooting

Check your Blotato API Dashboard to see every request, response, and error. Click on a request to see the details.

Need Help?

In the Blotato web app, click the orange button on the bottom right corner. This opens the Support messenger where I help answer technical questions.

Connect with me: Linkedin | Youtube

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - AI Writer

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 6 - AI Research - Report

Type / Role
n8n-nodes-base.perplexity - perplexity
Config choices
Version 1

Block 7 - AI Research - Top 10

Type / Role
n8n-nodes-base.perplexity - perplexity
Config choices
Version 1

Block 8 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Error Report

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 10 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note13

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note14

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Setup Heygen

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 19 - Create Avatar Video WITH Background Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Create Avatar Video WITHOUT Background Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 21 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 22 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 23 - Get Avatar Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 24 - If Video Done

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create & post viral news AI avatar videos to 9 platforms with Perplexity & HeyGen
Complexity advanced
Nodes 35
Categories Content Creation, AI Chatbot
Author Sabrina Ramonov πŸ„
Published 12 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8544/8544.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create & post viral news AI avatar videos to 9 platforms with Perplexity & HeyGen do?

Description This fully automated AI Twin Viral News system researches the latest trending news in any niche or industry, then generates talking head AI clone videos WITHOUT having to film or edit y...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, AI Chatbot use case.