1. Support
  2. Integrations
  3. Templates
HeyGen 3 nodes

Templates

HeyGen integration · 3 node(s).

00Overview

Generate branded videos from HeyGen Studio templates

Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.

01Connecting Templates

Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:

FieldTypeDetails
HeyGen API KeysecretRequired${secrets.HeyGenApiKey}
Good to know

Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Generate

Generate from Template

heygen/templates/generate · Action

Render a video from a HeyGen template by filling its variables (avatar, scene and branding are baked in).

FieldTypeDetails
Template IDstringRequired
Text variables: JSON object of {"variable":"value"} (auto-typed as text)text
Advanced: full typed variables JSON (from Get Template) — overrides text_valuestext
Titlestring
Burn in captionsboolean
Webhook Callback URLstringCalled when the video is ready
Callback IDstringEchoed back in the webhook

Returns: tool_result, video_id, status, success, error

03Get

Get Template

heygen/templates/get_template · Action

Get a HeyGen template and its variable schema (the fields you fill to generate a video).

FieldTypeDetails
Template IDstringRequired

Returns: tool_result, name, aspect_ratio, variables, template, success, error

04List

List Templates

heygen/templates/list_templates · Action

List available HeyGen Studio templates (avatar + scene + layout you can fill and render).

FieldTypeDetails
LimitintegerMax results

Returns: tool_result, results, count, success, error