Back
Button widget Button press. HeyGen Generate a video from a prompt.

Create a HeyGen video when Button widget is pressed

Connect

How this automation works

Generate a HeyGen video instantly from a single Button widget press. When you press the Button widget, this Applet submits your prompt to HeyGen's Video Agent, which scripts and renders a short video. Great for quick announcements, reminders, or location-aware clips triggered by the Button widget and produced by HeyGen.

If
Button widget icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.
ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt
Then
HeyGen icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will submit a text prompt to HeyGen's Video Agent, which scripts the video and picks the avatar and scene automatically; the finished video is delivered by the "A video finished rendering" trigger.
prompt aspect_ratio

Services used in this Applet

Create your own Button widget and HeyGen workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

8 triggers, queries, and actions

A video finished rendering

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a video you generated finishes rendering, carrying the finished video so an applet can post, save, or send it.

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

Video translation finished

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a video translation or dubbing job finishes, carrying the translated video so an applet can publish or store it.

Find a voice

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a matching HeyGen voice, including its ID, so the "Generate an avatar video" action can use it.

Find an avatar

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a matching HeyGen avatar, including its ID, so the "Generate an avatar video" action can use it.

Generate a video from a prompt

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will submit a text prompt to HeyGen's Video Agent, which scripts the video and picks the avatar and scene automatically; the finished video is delivered by the "A video finished rendering" trigger.

Generate an avatar video

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will submit a script to be rendered into a talking-avatar video using a chosen avatar and voice; the finished video is delivered by the "A video finished rendering" trigger.

Translate a video

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will submit a video to be translated and dubbed into a target language with lip-sync; the finished translation is delivered by the "Video translation finished" trigger.

A video finished rendering

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a video you generated finishes rendering, carrying the finished video so an applet can post, save, or send it.

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

Find a voice

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a matching HeyGen voice, including its ID, so the "Generate an avatar video" action can use it.

Find an avatar

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a matching HeyGen avatar, including its ID, so the "Generate an avatar video" action can use it.

Generate a video from a prompt

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will submit a text prompt to HeyGen's Video Agent, which scripts the video and picks the avatar and scene automatically; the finished video is delivered by the "A video finished rendering" trigger.

Generate an avatar video

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will submit a script to be rendered into a talking-avatar video using a chosen avatar and voice; the finished video is delivered by the "A video finished rendering" trigger.

Translate a video

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will submit a video to be translated and dubbed into a target language with lip-sync; the finished translation is delivered by the "Video translation finished" trigger.

Video translation finished

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a video translation or dubbing job finishes, carrying the translated video so an applet can publish or store it.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Button widget and HeyGen

About Button widget

Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.

Explore Button widget

More integrations with Button widget

About HeyGen

HeyGen is an AI video generation platform that turns scripts, photos, presentations, and PDFs into finished videos without a camera, crew, or editing experience. It offers photorealistic AI avatars and digital twins, text-to-speech in many voices, and video translation and dubbing into 175+ languages with natural lip-sync. Visit heygen.com.

Explore HeyGen

More integrations with HeyGen

IFTTT helps all your apps and devices work better together

Get started for free