Skip to main content

Respond to inbound leads with personalized videos using Heygen AI and GPT-4

Workflow preview

Workflow preview
100%
Respond to inbound leads with personalized videos using Heygen AI and GPT-4 preview
Open on n8n.io

Important notice

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

1. Workflow Overview

AI Powered Inbound Sales Rep Video Agent – Auto Respond to Leads with Personalized Videos Description: This workflow helps you instantly respond to inbound leads with a hyper personalized video ...

Best for

  • Lead Nurturing automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Automate With Marc.

Original n8n.io source

1.1 Workflow description

Title
Respond to inbound leads with personalized videos using Heygen AI and GPT-4
Workflow name
Respond to inbound leads with personalized videos using Heygen AI and GPT-4

🎥 AI-Powered Inbound Sales Rep Video Agent – Auto-Respond to Leads with Personalized Videos Description:

This workflow helps you instantly respond to inbound leads with a hyper-personalized video and email—fully automated using n8n, Heygen API, and OpenAI.

Watch the step-by-step Tutorial Build here: https://www.youtube.com/@Automatewithmarc

When a visitor submits a form on your website, this AI agent dynamically:

Creates a video script tailored to the lead's input using an AI prompt agent Generates a video using the Heygen API with a branded avatar Crafts a contextual follow-up email embedding the video Sends it to the lead’s inbox with a call-to-action

This is ideal for:

Marketing agencies looking to impress new prospects Sales teams aiming to boost inbound conversions Founders and freelancers building trust through instant video touchpoints

📥 How It Works:

Form Trigger  Captures user inputs like name, email, business URL, and marketing pain points.

AI Video Prompt Agent  Uses LangChain + OpenAI to write a short, personalized script (e.g., “Hey this is Jason from Purple Unicorn Marketing...”).

Video Generation (Heygen API)  Triggers a video using a selected avatar and voice style.

Video Status & Wait Logic  Monitors the video generation status until completed.

Get Final Video URL & Thumbnail  Retrieves the finished video and prepares for embedding.

Email Writer (GPT-4)  Generates an HTML-based outreach email including the lead's info and embedded video thumbnail with a booking link.

Email Delivery (Gmail Node)  Sends the full message to the inbound lead automatically.

⚙️ Tools & Integrations: n8n (self-hosted or cloud)

Heygen API – for video generation

LangChain + OpenAI GPT-4 – for script writing and email creation

Gmail Node – for automated outreach delivery

🔧 Setup Instructions: Heygen API Key  Create a Heygen account and retrieve your API key. Set it up as a credential in n8n (httpHeaderAuth).

OpenAI Key  Add your OpenAI API key under OpenAI credentials.

Gmail OAuth2  Connect your Gmail account using OAuth2 for sending emails.

Customize the Prompt  Modify the system message in the LangChain Agent node to reflect your brand tone or CTA.

Calendly Link  Update the call-to-action links in both the video prompt and email generator nodes with your real booking URL.

💡 Use Cases: Automating welcome sequences for new signups

Personalized video lead responses for agencies

AI-driven inbound sales agent for bootstrapped startups

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 - On form submission

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

Block 2 - HeyGen Post

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

Block 3 - Wait

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

Block 4 - If1

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

Block 5 - Wait1

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

Block 6 - Selfie Video Prompt Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 7 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 8 - Get Video

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

Block 9 - OpenAI

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

Block 10 - Sticky Note

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

Block 11 - Sticky Note1

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

Block 12 - Sticky Note2

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

Block 13 - Sticky Note3

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

Block 14 - Sticky Note4

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

Block 15 - Send Email & Video

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 16 - Sticky Note5

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

3. Summary Table

Workflow Respond to inbound leads with personalized videos using Heygen AI and GPT-4
Complexity advanced
Nodes 16
Categories Lead Nurturing, Multimodal AI
Author Automate With Marc
Published 25 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6404/6404.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 Respond to inbound leads with personalized videos using Heygen AI and GPT-4 do?

AI Powered Inbound Sales Rep Video Agent – Auto Respond to Leads with Personalized Videos Description: This workflow helps you instantly respond to inbound leads with a hyper personalized video ...

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 Lead Nurturing, Multimodal AI use case.