Skip to main content

Transform HR PDFs into engaging onboarding videos with AI, HeyGen and Google Drive

Workflow preview

Workflow preview
100%
Transform HR PDFs into engaging onboarding videos with AI, HeyGen and Google Drive 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 Automate your HR onboarding process by transforming complex policy PDFs into friendly, structured onboarding videos using AI and HeyGen. This workflow receives HR policy documen...

Best for

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

Tools used

n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.extractfromfile

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

Title
Transform HR PDFs into engaging onboarding videos with AI, HeyGen and Google Drive
Workflow name
Transform HR PDFs into engaging onboarding videos with AI, HeyGen and Google Drive

πŸ“Š Description

Automate your HR onboarding process by transforming complex policy PDFs into friendly, structured onboarding videos using AI and HeyGen. πŸ“„πŸŽ¬ This workflow receives HR policy documents via webhook, extracts and simplifies the content with GPT-based AI, generates a natural script for a HeyGen avatar, renders the onboarding video, checks its status until completion, and finally uploads the finished video to Google Drive. Perfect for HR teams who want scalable, consistent, and engaging onboarding experiences without manual video production. ✨πŸ‘₯

πŸ” What This Template Does

1️⃣ Receives an HR policy PDF through a webhook for processing. 🌐 2️⃣ Downloads the PDF and extracts readable text from it. πŸ“„ 3️⃣ Uses AI to simplify policy language into structured onboarding guidance. πŸ€– 4️⃣ Converts structured guidance into a friendly onboarding video script. πŸ—£οΈ 5️⃣ Sends the script to HeyGen to generate a video with avatar narration. πŸŽ₯ 6️⃣ Repeatedly checks the HeyGen API until the video is complete. ⏳ 7️⃣ Downloads the completed video automatically. πŸ“₯ 8️⃣ Uploads the final onboarding MP4 file into Google Drive. ☁️ 9️⃣ Returns the video file via webhook for further automation or client-side display. πŸ”

⭐ Key Benefits

βœ… Converts dense HR documents into engaging onboarding videos βœ… Ensures consistency across all onboarding materials βœ… Reduces manual video scripting and editing workload βœ… Provides warm, friendly, employee-ready onboarding guidance βœ… Fully automated pipeline from PDF β†’ AI script β†’ HeyGen video β†’ Drive βœ… Ideal for remote, hybrid, or fast-scaling HR teams

🧩 Features

  • PDF ingestion via secure webhook
  • Text extraction for accurate AI processing
  • Two-stage AI workflow: policy simplification + script creation
  • Structured JSON enforcement for reliable outputs
  • HeyGen video generation with avatar narration
  • Automated status polling loop
  • Google Drive upload with dynamic file naming
  • End-to-end error handling
  • Webhook response with video delivery

πŸ” Requirements

  • Google Drive OAuth2 credentials
  • HeyGen API key
  • OpenAI API key (GPT-4.1-mini or GPT-4o required)
  • Webhook endpoint for PDF uploads
  • Valid avatar ID + voice ID for HeyGen

🎯 Target Audience

  • HR teams onboarding new employees
  • L&D (Learning & Development) teams
  • Companies that want to modernize policy training
  • Fast-growing startups needing scalable onboarding content
  • Agencies creating onboarding videos for clients

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 - Wait 10 Seconds

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

Block 2 - Check HeyGen Video Status

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

Block 3 - Check If Video Completed

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

Block 4 - Download Completed Video

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

Block 5 - Upload Video to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 6 - AI Agent

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

Block 7 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 8 - Simple Memory1

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 9 - Extract from File

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

Block 10 - OpenAI Chat Model

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

Block 11 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 12 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 13 - Generate Script With AI

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

Block 14 - Create HeyGen Video Task1

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

Block 15 - Wait

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

Block 16 - OpenAI Chat Model1

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

Block 17 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 18 - Webhook - Receive Policy PDF

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

Block 19 - Dowload file

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

Block 20 - Download file1

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 21 - Sticky Note

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

Block 22 - Sticky Note1

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

Block 23 - Sticky Note2

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

Block 24 - Sticky Note3

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

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

3. Summary Table

Workflow Transform HR PDFs into engaging onboarding videos with AI, HeyGen and Google Drive
Complexity advanced
Nodes 27
Categories Content Creation, Multimodal AI
Author Rahul Joshi
Published 12 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11735/11735.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 Transform HR PDFs into engaging onboarding videos with AI, HeyGen and Google Drive do?

Description Automate your HR onboarding process by transforming complex policy PDFs into friendly, structured onboarding videos using AI and HeyGen. This workflow receives HR policy documen...

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