- Support
- Integrations
- Templates
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:
| Field | Type | Details | |
|---|---|---|---|
| HeyGen API Key | secret | Required | ${secrets.HeyGenApiKey} |
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).
| Field | Type | Details | |
|---|---|---|---|
| Template ID | string | Required | |
| Text variables: JSON object of {"variable":"value"} (auto-typed as text) | text | ||
| Advanced: full typed variables JSON (from Get Template) — overrides text_values | text | ||
| Title | string | ||
| Burn in captions | boolean | ||
| Webhook Callback URL | string | Called when the video is ready | |
| Callback ID | string | Echoed 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).
| Field | Type | Details | |
|---|---|---|---|
| Template ID | string | Required |
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).
| Field | Type | Details | |
|---|---|---|---|
| Limit | integer | Max results |
Returns: tool_result, results, count, success, error