Temporal

How Temporal powers workflows at HeyGen

Aug 6, 2026
How Temporal powers workflows at HeyGen
SummaryAI, from the source post

This post details how HeyGen migrated from a legacy internal job system to Temporal for orchestrating their video generation workflows. It explains their modeling of video generation as Temporal Workflows and jobs as Activities, highlighting the benefits of Temporal's state persistence and automatic retries over their previous database-centric approach. The post describes how they handle concurrent scene processing within a single workflow using semaphores and child workflows for operations needing independent failure domains. It also elaborates on their multi-layered fairness approach, combining a custom scheduling layer with Temporal's task priority. Furthermore, it outlines the shared workflow platform they built, including reusable workflow modules and a common interceptor stack for identity propagation, error classification, metrics, and search attributes.

More from the Durable Execution trail