elevenLabs.onFlowGenerationEvent takes no filters. It returns the generation id, status, event timestamp, and either a signed content URL and MIME type or a failure reason and message.
automations/handle-flow-generation.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Starts an automation when an ElevenLabs flow generation completes or fails.
elevenLabs.onFlowGenerationEvent takes no filters. It returns the generation id, status, event timestamp, and either a signed content URL and MIME type or a failure reason and message.
import { automation, markSignificant } from "automate.ax"
import { elevenLabs } from "automate.ax/elevenlabs"
export default automation("Handle flow generation", () => {
markSignificant(elevenLabs.onFlowGenerationEvent({}))
})