This workflow corresponds to n8n.io template #11895 — we link there as the canonical source.
This workflow follows the Error Trigger → HTTP Request recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "rh0sLrwjSaalwzdu",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Generate AI avatar videos from scripts using ElevenLabs and HeyGen to Google Drive",
"tags": [],
"nodes": [
{
"id": "3073c8f6-4a73-4cc9-bd63-6068f426e6ea",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
608,
-384
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a6a5a90f-0044-4a56-a28a-8348d9111b73",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
608,
176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3f667635-af02-4cad-b164-2a6a3b65a091",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3a0269c6-2de4-41ca-a390-39f4fbea16fd",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1984,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "27590696-d776-44a3-91ef-cde2afa0fe3c",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2896,
160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "42d5bde8-2ab7-4303-ba52-3e73e29e179f",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
3808,
336
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1487b226-371a-4903-85ae-5be02eab5541",
"name": "Wait 5 Seconds",
"type": "n8n-nodes-base.wait",
"position": [
2048,
320
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "1ec50d88-0457-46e6-b83d-54f6bd5cf436",
"name": "Check If Completed",
"type": "n8n-nodes-base.if",
"position": [
2496,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "485bdebf-64ef-4878-99d1-43649c39f8c2",
"name": "Download Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
2944,
320
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "f409340d-9947-4010-a23e-7d7bbc289d6e",
"name": "Upload to Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
3168,
320
],
"parameters": {},
"typeVersion": 3
},
{
"id": "c220380a-0a92-46b7-9ccc-78ea50dbaec7",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3616,
320
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "9c8c97f6-81bb-474b-be28-94505f5f8371",
"name": "Download from Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
3392,
320
],
"parameters": {},
"typeVersion": 3
},
{
"id": "e21a37e9-14d2-4350-a38e-24e0165b03a1",
"name": "Generate Audio with ElevenLabs",
"type": "n8n-nodes-base.httpRequest",
"position": [
1152,
320
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "22460e44-11a3-4d04-999d-3811c8e1d27b",
"name": "Upload Audio to HeyGen",
"type": "n8n-nodes-base.httpRequest",
"position": [
1376,
320
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "550908e4-1103-433c-a448-337af765fc8f",
"name": "Create Avatar Video with Audio",
"type": "n8n-nodes-base.httpRequest",
"position": [
1600,
320
],
"parameters": {},
"typeVersion": 4.3
},
{
"id": "fb44b1b6-72c3-4a48-8e45-76004b48a896",
"name": "Extract Video ID",
"type": "n8n-nodes-base.set",
"position": [
1824,
320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "56c4b566-4ccb-4619-a746-aa68d960cdef",
"name": "Poll Video Status",
"type": "n8n-nodes-base.httpRequest",
"position": [
2272,
240
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "deb4a706-e7ff-4c95-b3f6-33095ca7be7f",
"name": "Extract Video Details",
"type": "n8n-nodes-base.set",
"position": [
2720,
320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f4bda44e-4597-4593-a0ff-02e00cc40416",
"name": "Parse Request Parameters",
"type": "n8n-nodes-base.set",
"position": [
928,
320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "54660167-2c01-4670-8a56-fd433a3bd6c3",
"name": "Webhook - Receive Request",
"type": "n8n-nodes-base.webhook",
"position": [
704,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "dd5ac983-bb1d-4f8b-a678-40abdc01de69",
"name": "Error Handler Trigger",
"type": "n8n-nodes-base.errorTrigger",
"position": [
704,
976
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d2b4d74f-bb18-4a1e-aaeb-0c50bca58947",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
608,
816
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "641becbb-794b-48ac-bf83-c3e0bceaf271",
"name": "Send a message",
"type": "n8n-nodes-base.slack",
"position": [
1008,
976
],
"parameters": {},
"typeVersion": 2.3
}
],
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "b5ba3add-3320-45bf-9d23-a43ed97f9921",
"connections": {
"Download Video": {
"main": [
[
{
"node": "Upload to Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Wait 5 Seconds": {
"main": [
[
{
"node": "Poll Video Status",
"type": "main",
"index": 0
}
]
]
},
"Extract Video ID": {
"main": [
[
{
"node": "Wait 5 Seconds",
"type": "main",
"index": 0
}
]
]
},
"Poll Video Status": {
"main": [
[
{
"node": "Check If Completed",
"type": "main",
"index": 0
}
]
]
},
"Check If Completed": {
"main": [
[
{
"node": "Extract Video Details",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait 5 Seconds",
"type": "main",
"index": 0
}
]
]
},
"Download from Drive": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Error Handler Trigger": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
},
"Extract Video Details": {
"main": [
[
{
"node": "Download Video",
"type": "main",
"index": 0
}
]
]
},
"Upload Audio to HeyGen": {
"main": [
[
{
"node": "Create Avatar Video with Audio",
"type": "main",
"index": 0
}
]
]
},
"Upload to Google Drive": {
"main": [
[
{
"node": "Download from Drive",
"type": "main",
"index": 0
}
]
]
},
"Parse Request Parameters": {
"main": [
[
{
"node": "Generate Audio with ElevenLabs",
"type": "main",
"index": 0
}
]
]
},
"Webhook - Receive Request": {
"main": [
[
{
"node": "Parse Request Parameters",
"type": "main",
"index": 0
}
]
]
},
"Create Avatar Video with Audio": {
"main": [
[
{
"node": "Extract Video ID",
"type": "main",
"index": 0
}
]
]
},
"Generate Audio with ElevenLabs": {
"main": [
[
{
"node": "Upload Audio to HeyGen",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Automate end-to-end AI video creation by transforming text scripts into professional avatar videos with natural voiceovers. 🎬🤖 This workflow receives a script via webhook, generates realistic audio using ElevenLabs, creates an AI avatar video through HeyGen, continuously polls…
Source: https://n8n.io/workflows/11895/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow is an AI-assisted clean plate and object removal pipeline built for modern VFX production environments. It transforms a single plate image and removal brief into multiple high-quality cl
This workflow is an AI-driven FX concept generation pipeline that transforms a single VFX brief into multiple high-quality simulation-ready video concepts. It automates ideation, rendering, storage, a
This workflow is an AI-powered style look transfer and quality control pipeline designed for VFX and editorial production. It transforms a new shot brief and a hero reference image into multiple style
Invoice Data Extraction. Uses httpRequest, slack, googleSheets, errorTrigger. Webhook trigger; 16 nodes.
App Screenshot Generator - Multi-Device App Store. Uses n8n-nodes-sudomock, httpRequest, compression, googleDrive. Webhook trigger; 15 nodes.