The flow
Starts it 2Model 8Logic 4Service 7
The steps in the order they run, from what starts it.
- 1Receive Script Request WebhookStarts it
- 2Apply Script Writing Memory ContextMemory Buffer WindowModel
- 3LLM Engine for Script RewritingLm Chat Open AiModel
- 4Validate Structured Script OutputOutput Parser StructuredModel
- 5Apply Notification Context MemoryMemory Buffer WindowModel
- 6LLM Engine for Notification GenerationLm Chat Open AiModel
- 7Validate Notification Output JSONOutput Parser StructuredModel
- 8Error Handler TriggerError triggerStarts it
- 9Parse Incoming Script PayloadCodeLogic
- 10Rewrite & Structure Video Script AgentModel
- 11Generate Completion Notifications AgentModel
- 12Slack: Send Error AlertSlackService
- 13Submit Video Generation Request to HeyGenHttp RequestService
- 14Send Video Ready Email NotificationGmailService
- 15Send Video Ready Slack NotificationSlackService
- 16Wait Before Checking Video StatusWaitLogic
- 17Check HeyGen Video Status1Http RequestService
- 18Wait Before Rechecking StatusWaitLogic
- 19Evaluate Video Completion StatusIfLogic
- 20Download Generated HeyGen VideoHttp RequestService
- 21Upload Generated Video to Google DriveGoogle DriveService