Skip to main content

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

Workflow preview

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.

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 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