← All N8N workflows
Media & contentHTTP RequestIfManual TriggerEdit FieldsWait

Generate AI Videos with HeyGen in n8n

Configured with HTTP Request, Wait. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking ‘Testworkflow’Manual TriggerWaitWaitWaitTransformOutputEdit FieldsRoutingis CompletedIfWeb / APICreate VideoHTTP RequestTransformConfigEdit FieldsWeb / APIGet Video StatusHTTP Request

Node categories in this workflow

  • Trigger
  • Wait
  • Transform
  • Routing
  • Web / API

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
WaitWaitWaitSee node parameters
OutputTransformEdit FieldsSee node parameters
is CompletedRoutingIfSee node parameters
Create VideoWeb / APIHTTP RequestPOST
ConfigTransformEdit FieldsSee node parameters
Get Video StatusWeb / APIHTTP RequestSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • httpCustomAuth
  • httpHeaderAuth

Workflow notes

Generate AI Videos with HeyGen in n8n

Generate AI Videos with HeyGen in n8n

This workflow allows you to generate AI-powered videos using HeyGen, a platform that provides customizable AI avatars and voices. By integrating HeyGen with n8n, you can create videos by providing a text input, which is then spoken by an AI-generated avatar.

👉🏻 Try HeyGen for free 👈🏻

Setup

Step 1: Create a HeyGen Account & API Key

  1. Sign up for a HeyGen account.
  2. Navigate to your account settings and locate your API Key.
  3. Copy your API key for use in n8n.

⚠️ To use Heygen API you need to purchase API credits

Step 2: Create n8n Credentials

  1. In n8n, create new credentials and select "Custom Auth" as the authentication type.
  2. In the Name provide : X-Api-Key
  3. And in the value paste your API key from Heygen
  4. Update the 2 http node with the right credentials.

Step 3: Choose an Avatar and a Voice

HeyGen provides multiple AI avatars and voice options. You need to choose:

  • An Avatar ID (representing the AI-generated presenter)
  • A Voice ID (which will read your text)

To find available avatars and voices:

  1. Visit the HeyGen API Documentation or check the list in your HeyGen account.
  2. Copy the Avatar ID and Voice ID that you want to use.
☝️ Provide Video Details

☝️ Provide Video Details

  • Avatar ID
  • Voice ID
  • Text
Generate AI Videos with HeyGen in n8n

Generate AI Videos with HeyGen in n8n

Purpose and structure

This folder contains the Generate AI Videos with HeyGen in n8n workflow. Its executable nodes use httpRequest, if, manualTrigger, set, wait. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking ‘Test workflow’

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Manual/0770_Manual_Stickynote_Create_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Check video status

More in Media & content