
HeyGen x n8n
HeyGen and n8n make video production just another step in any workflow, triggered by a CRM event, a form submission, a schedule, or an AI agent, without needing to write a custom integration or open a video editor.
Your workflows, now creating video
Video production usually sits completely outside your automation stack. Data flows through n8n, and then someone has to manually take that output and turn it into a video. That manual handover becomes the bottleneck.
With the HeyGen node, that step disappears. Add a HeyGen node anywhere in your n8n workflow. Pass it a script typed directly, pulled from a previous node, or generated by an AI node, along with your avatar and voice settings. The node calls the HeyGen API, checks for completion, and outputs the rendered video URL to the next step: a Slack message, a Google Drive upload, or wherever it needs to go.
Open the Nodes panel and search for HeyGen
Sign in to your n8n instance, open any workflow in the editor, and click + in the top right to open the Nodes panel. Search for HeyGen and select the verified HeyGen node to add it to your canvas.
Complete instance owner credential setup
Verified nodes need a one-time setup by an n8n instance owner. The owner adds your HeyGen API key — available at heygen.com/settings/api — to the instance credential store. Once it is saved, the node is available to all users without any further configuration.
Configure the node with your avatar, script, and voice
In the HeyGen node settings, select your avatar ID and voice from your HeyGen account library, choose a language, and connect the script input either by typing it directly or mapping it from a previous node’s output, such as an OpenAI or Google Sheets node.
Add a Wait node, then route the video output
HeyGen videos take a short while to render. Add a Wait node after HeyGen to check for completion status, then route the video_url output further downstream to any of n8n's 1,000+ connected apps.
HeyGen node inputs and outputs
Every input to the HeyGen node can be typed directly or mapped dynamically from any upstream node, whether it is a spreadsheet row, an AI response, a form field, or a webhook payload.
avatar_id
The ID of the avatar to use. You can find avatar IDs in your HeyGen account library or through the Get Avatars node operation.
script
The text the avatar will speak. You can type it inline or map it from an upstream node (for example, an OpenAI output, a Sheets cell, or a webhook body field).
voice_id
The voice that the avatar uses. Retrieve available voice IDs using the Get Voices operation, or refer to a saved voice from your account.
language
Language code for the narration (for example, en, es, ja). Defaults to English. Supports 175+ languages and dialects.
dimension
Output aspect ratio. Use landscape, portrait, or square depending on the destination platform.
background
A hex colour or image URL to use as the video background. Map this from a branding node or a Sheets cell to vary the backgrounds for each video.
What teams automate using HeyGen in n8n
Any workflow that generates a script from a CRM trigger, a form, a schedule, or an AI agent can now create a video at the end of it.
Automated news and content
Pull from an RSS feed or newsletter, pass the content to an OpenAI node to write a script, generate a HeyGen avatar video, and post to TikTok, Instagram Reels, or YouTube Shorts completely hands-free, on a set schedule.
Personalised outreach videos at scale
Trigger a workflow from a CRM event or new lead, use an AI node to write a personalised script for each prospect, generate a HeyGen avatar video, and send it via email or LinkedIn without any manual recording.
Automated briefings and reports
Pull metrics from Google Sheets, a database, or an analytics tool, draft a summary with an AI node, render a HeyGen briefing video, and post it to Slack or email stakeholders every week, without needing to touch a camera.
Training and onboarding material
Trigger a workflow when a new user signs up or a team member joins, generate a personalised onboarding video with HeyGen, and deliver it to their inbox, scaling L&D output without using additional L&D team bandwidth.
Multilingual content workflows
Translate a script using a language node, pass each variant to a HeyGen node with the matching voice, and produce localised avatar videos for every market in the same workflow run, without having to re-record anything.
Start creating videos with AI
See how businesses like yours scale up content creation and drive growth with the most innovative AI video solution.


