Skip to content
HeyGen logoHeyGen logo

HeyGen Integrations

AI Content Generation

Build HeyGen automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across HeyGen and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
6
available app actions
32
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

HeyGen MCP server: connect HeyGen to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with HeyGen and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my HeyGen account and help me build a Zap with HeyGen: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build HeyGen automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection heygen

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to HeyGen and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use HeyGen and other apps.

Use a premade HeyGen automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the HeyGen triggers and actions your agent can build with right away.

  • New Video Event (Custom)

    Triggers when a new video event happens. You can customize which event(s) will trigger.

  • New Video Event (All Events)

    Triggers when a new video event happens. (Note: this trigger includes all the video events).

  • New Avatar Video Event (Fail)

    Triggers when a HeyGen video fails processing.

  • New Avatar Video Event (Success)

    Triggers when an avatar video is successfully generated.

  • New Video Translate Event (Fail)

    Triggers when a video translation fails.

  • New Video Translate Event (Success)

    Triggers when a video is successfully translated.

  • Add Sound Effect to Photo Avatar

    Generates a background sound effect for a motion photo avatar. The look must be a completed motion avatar.

  • Create Avatar

    Creates an avatar from video footage (digital twin), a photo, or a text prompt.

Your agent picks the right HeyGen action from what you ask. Connect Zapier once and it can use 38 HeyGen tools, each with typed inputs. Zapier handles HeyGen’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up HeyGen MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for HeyGen.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect HeyGen. It calls discover_zapier_actions to find the HeyGen actions, then enable_zapier_action to add them.
  3. Approve the HeyGen sign-in when prompted. If HeyGen isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use HeyGen in 36 AI tools with Zapier MCP

38 HeyGen MCP tools

ToolMCP nameWhat it does
New Video Event (Custom)heygen_new_video_event_custom

Trigger · Read-only. Triggers when a new video event happens. You can customize which event(s) will trigger.

Required: event_type (Event Type)

New Video Event (All Events)heygen_new_video_event_all_events

Trigger · Read-only. Triggers when a new video event happens. (Note: this trigger includes all the video events).

New Avatar Video Event (Fail)heygen_new_avatar_video_event_fail

Trigger · Read-only. Triggers when a HeyGen video fails processing.

New Avatar Video Event (Success)heygen_new_avatar_video_event_success

Trigger · Read-only. Triggers when an avatar video is successfully generated.

New Video Translate Event (Fail)heygen_new_video_translate_event_fail

Trigger · Read-only. Triggers when a video translation fails.

New Video Translate Event (Success)heygen_new_video_translate_event_success

Trigger · Read-only. Triggers when a video is successfully translated.

Add Sound Effect to Photo Avatarheygen_add_sound_effect_to_photo_avatar

Action · Writes data. Generates a background sound effect for a motion photo avatar. The look must be a completed motion avatar.

Required: photo_avatar_id (Photo Avatar ID)

Create Avatarheygen_create_avatar

Action · Writes data. Creates an avatar from video footage (digital twin), a photo, or a text prompt.

Required: type

Create Avatar Consentheygen_create_avatar_consent

Action · Writes data. Starts consent for a private avatar group and returns a URL to open in a browser.

Required: group_id (Group ID), reroute_url (Reroute URL)

Create Lipsyncheygen_create_lipsync

Action · Writes data. Replaces audio on an existing video and re-animates the speaker's lips to match. Poll with Get Lipsync until status is completed.

Required: video_url (Video URL), audio_url (Audio URL)

Optional: title, mode, enable_caption (Enable Captions), start_time (Start Time (seconds)), end_time (End Time (seconds)), folder_id (Folder ID), callback_handle (Callback handle)

Create Video Translation Proofreadheygen_create_video_translation_proofread

Action · Writes data. Starts a proofread session where editable subtitles are extracted before final render.

Required: video_url (Video URL), output_language (Output Languages)

Optional: title

Create an Avatar Video (Generate)heygen_create_an_avatar_video_generate

Action · Writes data. Generate a video featuring one or multiple scenes with avatars, talking photos, and various audio and background options. This action combines multiple scenes into a cohesive video.

Required: scenes

Optional: test (Test Mode), caption (Add Caption), title (Video Title), callback_handle (Callback handle), callback_id (Callback ID (legacy)), dimension (Video Dimensions), folder_id (Folder ID)

Create a Video From Video Agentheygen_create_a_video_from_video_agent

Action · Writes data. Starts a HeyGen Video Agent session from a text prompt. Poll session status or use webhooks for the final video.

Required: prompt

Optional: mode (Session mode), duration_sec (Duration (seconds)), orientation, avatar_id (Avatar ID), style_id (Style)

Create an Avatar Video (Scene)heygen_create_an_avatar_video_scene

Action · Writes data. Creates a single scene configuration for an avatar video.

Required: character_type (Character Type), voice_type (Voice Type)

Optional: avatar_id (Avatar ID), avatar_scale (Avatar Scale), avatar_style (Avatar Style), avatar_offset_x (Avatar Horizontal Offset), avatar_offset_y (Avatar Vertical Offset), avatar_matting (Avatar Matting), avatar_circle_background_color (Avatar Circle Background Color), talking_photo_id (Talking Photo ID), talking_photo_scale (Talking Photo Scale), talking_photo_style (Talking Photo Style), talking_photo_offset_x (Talking Photo Horizontal Offset), talking_photo_offset_y (Talking Photo Vertical Offset), talking_photo_talking_style (Talking Photo Talking Style), talking_photo_expression (Talking Photo Expression), talking_photo_super_resolution (Talking Photo Super Resolution), talking_photo_matting (Talking Photo Matting), talking_photo_circle_background_color (Talking Photo Circle/Square Background Color), voice_id (Voice ID), locale, input_text (Input Text), voice_speed (Voice Speed), voice_pitch (Voice Pitch), voice_emotion (Voice Emotion), audio_url (Audio URL), audio_asset_id (Audio Asset ID), silence_duration (Silence Duration), background_type (Background Type), background_color (Background Color), background_image_url (Background Image URL), background_image_asset_id (Background Image Asset ID), background_image_fit (Background Image Fit), background_video_url (Background Video URL), background_video_asset_id (Background Video Asset ID), background_video_play_style (Background Video Play Style), background_video_fit (Background Video Fit)

Create a Video (V3)heygen_create_a_video_v3

Action · Writes data. Creates a video from an avatar or image. For complex multi-scene timelines, use Create an Avatar Video (Generate) instead.

Required: type

Optional: avatar_id (Avatar look ID), image_url (Image URL), image_asset_reference (Image asset reference), voice_id (Voice ID), script, audio_url (Audio URL), title

Create a WebM Avatar Videoheygen_create_a_webm_avatar_video

Action · Writes data. Generates a WebM video with transparent background and an avatar speaking the input text.

Optional: avatar_pose_id (Avatar Pose ID), avatar_style (Avatar Style), input_text (Input Text), voice_id (Voice ID), input_audio (Input Audio URL), dimension (Video Dimensions)

Delete a Videoheygen_delete_a_video

Action · Writes data. Permanently deletes a video and its files. This cannot be undone.

Required: video_id (Video ID)

Design Voicesheygen_design_voices

Action · Writes data. Returns up to 3 voices matching a natural language description. Use seed for different batches.

Required: prompt

Optional: seed

Create a Video From Templateheygen_create_a_video_from_template

Action · Writes data. Generate customized videos from templates. Templates offer a rich, versatile content format for your workflow, allowing you to customize text, images, videos, audios, voices, and avatars.

Required: template_id (Choose a Template), caption, test

Optional: title, tpl_variable_name (Template variables — variable name), tpl_variable_type (Template variables — variable type), tpl_variable_value (Template variables — value), default_voice_id (Default Voice ID), dimension (Video Dimensions), callback_handle (Callback handle), callback_id (Callback ID (legacy)), callback_url (Callback URL), include_gif (Include GIF), enable_sharing (Enable Sharing), folder_id (Folder ID), brand_voice_id (Brand Voice ID), fps, keep_text_vertically_centered (Keep Text Vertically Centered), scene_ids (Scene IDs), reorder_music (Reorder Music)

Generate Speechheygen_generate_speech

Action · Writes data. Synthesizes speech from text using a HeyGen voice. Use List Voices to pick a compatible voice.

Required: text, voice_id (Voice ID)

Optional: speed

Generate Video From Proofreadheygen_generate_video_from_proofread

Action · Writes data. Starts final translated video generation from an approved proofread session.

Required: proofread_reference (Proofread reference)

Optional: captions (Burn In Captions)

Get Avatar Groupheygen_get_avatar_group

Action · Writes data. Returns details for one avatar group, including name, previews, looks count, and training status.

Required: group_id (Group ID)

Get Avatar Lookheygen_get_avatar_look

Action · Writes data. Returns details for one avatar look, including previews and training status.

Required: look_id (Look ID)

Get Lipsyncheygen_get_lipsync

Action · Writes data. Polls lipsync job status. Use after Create Lipsync until status is completed or failed.

Required: lipsync_job (Lipsync Job)

Get Photo Avatar Training Statusheygen_get_photo_avatar_training_status

Action · Writes data. Checks training status for a photo avatar group. Status values include processing, completed, failed, and pending_consent.

Required: group_id (Avatar Group ID)

Get Video Agent Sessionheygen_get_video_agent_session

Action · Writes data. Reads Video Agent session status, video ID, and recent messages.

Required: session_id (Session ID)

List Avatar Groupsheygen_list_avatar_groups

Action · Writes data. Returns a paginated list of avatar groups. Each group can include one or more looks.

Optional: ownership, limit, token (Page Token)

List Avatar Looksheygen_list_avatar_looks

Action · Writes data. Returns a paginated list of avatar looks. Filter by group, type, or ownership.

Optional: group_id (Group ID), avatar_type (Avatar Type), ownership, limit, token (Page Token)

List Videosheygen_list_videos

Action · Writes data. Returns a paginated list of videos in your account. Filter by folder or title.

Optional: limit, token (Page Token), folder_id (Folder ID), title (Title contains)

List Voicesheygen_list_voices

Action · Writes data. Returns a paginated list of voices. Filter by type, engine, language, or gender.

Optional: type (Voice Type), engine, language, gender, limit, token (Page Token)

Retrieve Shareable Link for a Videoheygen_retrieve_shareable_link_for_a_video

Action · Writes data. Get a public shareable link for a HeyGen video that can be easily distributed and viewed by others.

Required: video_id (Video ID)

Retrieve a Translated Video Statusheygen_retrieve_a_translated_video_status

Action · Writes data. Gets the status and details of a video translation job.

Required: video_translate_id (Video Translate ID)

Retrieve a Video Statusheygen_retrieve_a_video_status

Action · Writes data. Gets the status and details of a specific video.

Required: video_id (Video ID)

Send Video Agent Messageheygen_send_video_agent_message

Action · Writes data. Sends a follow-up or revision message to a chat-mode Video Agent session.

Required: session_id (Session ID), message

Translate a Videoheygen_translate_a_video

Action · Writes data. Creates a video translation job with target languages, voice cloning, and lip-sync.

Required: video_url (Video URL), output_language (Output Languages)

Optional: title (Video Title), mode, translate_audio_only (Translate Audio Only), speaker_num (Number of Speakers), folder_id (Folder ID), brand_voice_id (Brand Glossary), callback_handle (Callback handle), callback_id (Callback ID)

Update Avatar Lookheygen_update_avatar_look

Action · Writes data. Renames a photo avatar or digital twin look.

Required: look_id (Look ID), name (New Name)

Upload an Assetheygen_upload_an_asset

Action · Writes data. Uploads an image, video, audio, PDF, or SRT subtitle file.

Required: file

Upscale Photo Avatarheygen_upscale_photo_avatar

Action · Writes data. Upscales a motion photo avatar look. The look must be a completed motion avatar that has not already been upscaled.

Required: photo_avatar_id (Photo Avatar ID)

HeyGen API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call HeyGen. You connect your account once, and your code references that connection instead of a raw token.

add_photo_avatar_sound_effect (Add Sound Effect to Photo Avatar) requires photo_avatar_id. Every HeyGen action and its inputs are listed under HeyGen triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection heygen
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "heygen", owner: "me" });

const { data } = await zapier.runAction({
  app: "heygen",
  actionType: "write",
  action: "add_photo_avatar_sound_effect",
  connection: connection.id,
  inputs: {
    photo_avatar_id: "", // Photo Avatar ID
  },
});
Zapier SDK CLI
npx zapier-sdk run-action heygen write add_photo_avatar_sound_effect \
  --inputs '{"photo_avatar_id":""}'

Frequently asked questions about automating with HeyGen

How do I connect HeyGen to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect HeyGen. Claude finds the HeyGen actions and adds them. If HeyGen needs a sign-in, you approve it once.

Can I use the HeyGen API without managing API keys?

With the Zapier SDK you connect your HeyGen account to Zapier once, and your code runs actions through that connection. Zapier handles HeyGen’s login, so you never paste an API key into your code.

What can an AI agent do with HeyGen?

Through Zapier MCP, your agent can use 38 HeyGen tools, such as New Video Event (Custom), New Video Event (All Events), and New Avatar Video Event (Fail). 6 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build HeyGen automations. It covers how HeyGen connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About HeyGen

Meet HeyGen - The best AI video generation platform for your team.

Related categories: AI Content Generation