Array of node objects, each representing a point in the call routing process. Each node object may include properties like id, type, and data for custom configurations.
Array of edge objects, connecting the nodes defined in the nodes array. Each edge object can specify the source and target nodes, along with additional routing logic.
{ "_id": "676b8e123456789012345678", "workspaceId": "6764d172953253138a3a70f4", "folderId": null, "isGlobal": false, "isPreConfigured": false, "preConfiguredWorkspaceId": null, "name": "Customer Support Flow", "direction": "inbound", "description": "Handles inbound support calls", "agent": "676b8e123456789012345679", "promptType": "simple", "welcomeMessage": "user_initiated", "customWelcomeMessage": "", "flowData": { "nodes": [ { "id": "node1", "type": "start", "data": { "prompt": "Welcome to our support line. How can I help you?" } } ], "edges": [] }, "prompt": "Keep the conversation short and friendly.", "currentPromptId": "676b8e123456789012345680", "promptVersions": [ { "_id": "676b8e123456789012345680", "name": "Prompt Version - 1/15/2025, 3:00:00 PM", "prompt": "Keep the conversation short and friendly.", "metadata": { "notes": "" }, "createdAt": "2025-01-15T15:00:00.000Z", "updatedAt": "2025-01-15T15:00:00.000Z" } ], "gemini_prompt": "Keep the conversation short and friendly.", "startNodeId": null, "isActive": true, "agentWebhookUrl": "", "inboundWebhookUrl": "", "dynamicVariableCollections": [], "locations": [], "webhooks": [], "settings": { "welcomeMessage": "user_initiated", "customWelcomeMessage": "", "enableHumanLikeVoiceAndTone": false, "welcomeMessageDelay": 0, "webhooks": { "agent": "", "inbound": "" }, "customerLocation": "new york", "transfers": [], "knowledgeBases": [], "utilizePriorCallsContext": false, "callSettings": { "trilletVoiceGuard": true, "reminderMessages": [] }, "security": { "hipaaCompliance": false, "publicAccess": false } }, "createdAt": "2025-01-15T15:00:00.000Z", "updatedAt": "2025-01-15T15:00:00.000Z"}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Trillet AI","colors":{"primary":"#0062E9","light":"#27A3FD","dark":"#0062E9"},"logo":{"light":"https://mintcdn.com/trilletai/EdcrcTJCQ9witVNd/logo/Trillet-logo-light.png?fit=max\u0026auto=format\u0026n=EdcrcTJCQ9witVNd\u0026q=85\u0026s=07a28a94606d5b153efce99ab90540fe","dark":"https://mintcdn.com/trilletai/4w-maff9zXfYJwwQ/logo/Trillet-logo-dark.svg?fit=max\u0026auto=format\u0026n=4w-maff9zXfYJwwQ\u0026q=85\u0026s=f229f955d63c6b1d05383924f2215385","href":"https://docs.trillet.ai/"},"favicon":"https://mintcdn.com/trilletai/4w-maff9zXfYJwwQ/favicon.svg?fit=max\u0026auto=format\u0026n=4w-maff9zXfYJwwQ\u0026q=85\u0026s=ce49c1133a36856421c21ace5d2665f5","api":{"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.trillet.ai"}},"appearance":{"default":"light","strict":false},"background":{"decoration":"windows","color":{"light":"#f5f8ff","dark":"#000718"}},"navbar":{"links":[{"href":"https://discord.com/invite/4qbWtkbT93","label":"Join Community"}],"primary":{"type":"button","label":"Get Started!","href":"https://app.trillet.ai"}},"footer":{"socials":{"discord":"https://discord.com/invite/4qbWtkbT93","github":"https://github.com/TrilletAI","linkedin":"https://linkedin.com/company/trillet-ai"}},"search":{"prompt":"Expedite Development - Search Trillet..."},"seo":{"indexing":"all"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trilletai","hasAudioNarration":false,"actualSubdomain":"trilletai","customDomains":[],"gitSource":{"type":"github","owner":"verlat-pty-ltd","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6abeb7683ee38fd3dde389cd","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference V1","count":76},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Conversations","count":8},{"language":"default","tag":"Batch Calls","count":7},{"language":"default","tag":"Calls","count":7},{"language":"default","tag":"Folder Management","count":7},{"language":"default","tag":"Knowledge Base","count":7},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Message Flows","count":6},{"language":"default","tag":"Workspaces","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"v1/api-reference/endpoints/flows/call-flows/create","slug":"/v1/api-reference/endpoints/flows/call-flows/create","pageMetadata":{"title":"Create Call Flow","api":"POST /v1/api/call-flows","description":"Create a new call flow with full settings.","href":"/v1/api-reference/endpoints/flows/call-flows/create","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new call flow with full settings.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`API key used for authenticating requests to the API.`})}),`\n`,_jsx(ParamField,{header:`x-workspace-id`,type:`string`,required:true,id:`param-x-workspace-id`,children:_jsx(_components.p,{children:`Workspace identifier for the API.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`A friendly name for this call flow (e.g., “Customer Support Flow”).`})}),`\n`,_jsx(ParamField,{body:`direction`,type:`string`,required:true,id:`param-direction`,children:_jsx(_components.p,{children:`Direction of the flow. Possible values: “outbound”, “bidirectional”.`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Description of the call flow (e.g. “Handles inbound support calls”).`})}),`\n`,_jsx(ParamField,{body:`agent`,type:`string`,id:`param-agent`,children:_jsx(_components.p,{children:`ID of the agent to associate with this flow. If provided, the system looks for a pending phone number for that agent and activates it.`})}),`\n`,_jsx(ParamField,{body:`promptType`,default:`simple`,type:`string`,required:true,id:`param-prompt-type`,children:_jsx(_components.p,{children:`Only “simple” type of prompt configuration is allowed now.`})}),`\n`,_jsx(ParamField,{body:`folderId`,type:`string`,id:`param-folder-id`,children:_jsx(_components.p,{children:`ID of the folder to organize this call flow.`})}),`\n`,_jsx(ParamField,{body:`isGlobal`,type:`boolean`,id:`param-is-global`,children:_jsx(_components.p,{children:`Whether this is a global call flow. Only specific workspaces can create global flows.`})}),`\n`,_jsx(ParamField,{body:`isPreConfigured`,type:`boolean`,id:`param-is-pre-configured`,children:_jsx(_components.p,{children:`Whether this call flow is pre-configured. Defaults to false.`})}),`\n`,_jsx(ParamField,{body:`preConfiguredWorkspaceId`,type:`string`,id:`param-pre-configured-workspace-id`,children:_jsx(_components.p,{children:`Workspace ID for pre-configured flows.`})}),`\n`,_jsx(ParamField,{body:`welcomeMessage`,type:`string`,id:`param-welcome-message`,children:_jsx(_components.p,{children:`Welcome message type. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”. Defaults to “user_initiated”.`})}),`\n`,_jsx(ParamField,{body:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message`,children:_jsx(_components.p,{children:`Custom welcome message text when welcomeMessage is set to “ai_custom” only.`})}),`\n`,_jsxs(ParamField,{body:`flowData`,type:`object`,id:`param-flow-data`,children:[_jsx(_components.p,{children:`Flow-based configuration using a node/edge approach for complex call routing.`}),_jsxs(Expandable,{title:`flowData`,children:[_jsx(ParamField,{body:`nodes`,type:`array`,id:`param-nodes`,children:_jsxs(_components.p,{children:[`Array of node objects, each representing a point in the call routing process. Each node object may include properties like `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`type`}),`, and `,_jsx(_components.code,{children:`data`}),` for custom configurations.`]})}),_jsx(ParamField,{body:`edges`,type:`array`,id:`param-edges`,children:_jsxs(_components.p,{children:[`Array of edge objects, connecting the nodes defined in the `,_jsx(_components.code,{children:`nodes`}),` array. Each edge object can specify the source and target nodes, along with additional routing logic.`]})})]})]}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`A system or initial prompt for the flow. This will be used to create the first prompt version.`})}),`\n`,_jsx(ParamField,{body:`isActive`,type:`boolean`,id:`param-is-active`,children:_jsx(_components.p,{children:`Whether the flow is currently active. Defaults to true.`})}),`\n`,_jsx(ParamField,{body:`agentWebhookUrl`,type:`string`,id:`param-agent-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for agent-related events.`})}),`\n`,_jsx(ParamField,{body:`inboundWebhookUrl`,type:`string`,id:`param-inbound-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for inbound call events.`})}),`\n`,_jsxs(ParamField,{body:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections`,children:[_jsx(_components.p,{children:`Array of dynamic variable collections for the call flow.`}),_jsxs(Expandable,{title:`dynamicVariableCollections`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the variable collection.`})}),_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the variable collection.`})}),_jsxs(ParamField,{body:`variables`,type:`array`,id:`param-variables`,children:[_jsx(_components.p,{children:`Array of key-value pairs for variables.`}),_jsx(ParamField,{body:`key`,type:`string`,id:`param-key`,children:_jsx(_components.p,{children:`Variable key name.`})}),_jsx(ParamField,{body:`value`,type:`string`,id:`param-value`,children:_jsx(_components.p,{children:`Variable value.`})})]}),_jsx(ParamField,{body:`isDefault`,type:`boolean`,id:`param-is-default`,children:_jsx(_components.p,{children:`Whether this is the default variable collection. Defaults to false.`})})]})]}),`\n`,_jsxs(ParamField,{body:`webhooks`,type:`array`,id:`param-webhooks`,children:[_jsx(_components.p,{children:`Array of webhook configurations for the call flow.`}),_jsxs(Expandable,{title:`webhooks`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`Name of the webhook.`})}),_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`Webhook URL endpoint.`})}),_jsx(ParamField,{body:`method`,type:`string`,id:`param-method`,children:_jsx(_components.p,{children:`HTTP method. Possible values: “GET”, “POST”, “PUT”, “DELETE”. Defaults to “POST”.`})}),_jsx(ParamField,{body:`headers`,type:`object`,id:`param-headers`,children:_jsx(_components.p,{children:`Key-value pairs for HTTP headers.`})}),_jsx(ParamField,{body:`body`,type:`string`,id:`param-body`,children:_jsx(_components.p,{children:`Request body content.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Description of the webhook purpose.`})}),_jsxs(ParamField,{body:`variablesforcallflow`,type:`array`,id:`param-variablesforcallflow`,children:[_jsx(_components.p,{children:`Variables available for call flow.`}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-3`,children:_jsx(_components.p,{children:`Variable name.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-2`,children:_jsx(_components.p,{children:`Variable description.`})})]}),_jsxs(ParamField,{body:`responseVariables`,type:`array`,id:`param-response-variables`,children:[_jsx(_components.p,{children:`Variables extracted from webhook responses.`}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-4`,children:_jsx(_components.p,{children:`Response variable name.`})}),_jsx(ParamField,{body:`path`,type:`string`,id:`param-path`,children:_jsx(_components.p,{children:`JSON path to extract the variable value.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-3`,children:_jsx(_components.p,{children:`Response variable description.`})})]}),_jsx(ParamField,{body:`isTesting`,type:`boolean`,id:`param-is-testing`,children:_jsx(_components.p,{children:`Whether the webhook is in testing mode.`})}),_jsx(ParamField,{body:`textToSpeak`,type:`string`,id:`param-text-to-speak`,children:_jsx(_components.p,{children:`Text to be spoken when webhook is triggered.`})}),_jsx(ParamField,{body:`testResponse`,type:`string`,id:`param-test-response`,children:_jsx(_components.p,{children:`Mock response for testing purposes.`})})]})]}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Main configuration object for the call flow.`}),_jsxs(Expandable,{title:`settings`,children:[_jsx(ParamField,{body:`welcomeMessage`,type:`string`,id:`param-welcome-message-1`,children:_jsx(_components.p,{children:`Welcome message type. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”.`})}),_jsx(ParamField,{body:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message-1`,children:_jsx(_components.p,{children:`Custom welcome message text.`})}),_jsx(ParamField,{body:`enableHumanLikeVoiceAndTone`,type:`boolean`,id:`param-enable-human-like-voice-and-tone`,children:_jsx(_components.p,{children:`Enable human-like voice and tone. Defaults to false.`})}),_jsx(ParamField,{body:`welcomeMessageDelay`,type:`number`,id:`param-welcome-message-delay`,children:_jsx(_components.p,{children:`Delay in seconds before welcome message. Defaults to 0.`})}),_jsxs(ParamField,{body:`webhooks`,type:`object`,id:`param-webhooks-1`,children:[_jsx(_components.p,{children:`Webhook URLs for different events.`}),_jsx(ParamField,{body:`agent`,type:`string`,id:`param-agent-1`,children:_jsx(_components.p,{children:`Agent webhook URL.`})}),_jsx(ParamField,{body:`inbound`,type:`string`,id:`param-inbound`,children:_jsx(_components.p,{children:`Inbound webhook URL.`})})]}),_jsx(ParamField,{body:`customerLocation`,type:`string`,id:`param-customer-location`,children:_jsx(_components.p,{children:`Customer location for the call flow. Defaults to “new york”.`})}),_jsx(ParamField,{body:`transfers`,type:`array`,id:`param-transfers`,children:_jsx(_components.p,{children:`Array of transfer configurations.`})}),_jsx(ParamField,{body:`knowledgeBases`,type:`array`,id:`param-knowledge-bases`,children:_jsx(_components.p,{children:`Array of knowledge base IDs to associate with this call flow.`})}),_jsx(ParamField,{body:`utilizePriorCallsContext`,type:`boolean`,id:`param-utilize-prior-calls-context`,children:_jsx(_components.p,{children:`Whether to utilize context from prior calls. Defaults to false.`})}),_jsxs(ParamField,{body:`callSettings`,type:`object`,id:`param-call-settings`,children:[_jsx(_components.p,{children:`Call-specific settings.`}),_jsx(ParamField,{body:`trilletVoiceGuard`,type:`boolean`,id:`param-trillet-voice-guard`,children:_jsx(_components.p,{children:`Enable Trillet voice guard. Defaults to true.`})}),_jsx(ParamField,{body:`reminderMessages`,type:`array`,id:`param-reminder-messages`,children:_jsx(_components.p,{children:`Array of reminder message strings.`})})]}),_jsxs(ParamField,{body:`security`,type:`object`,id:`param-security`,children:[_jsx(_components.p,{children:`Security configuration settings.`}),_jsx(ParamField,{body:`securityOptOut`,type:`boolean`,id:`param-security-opt-out`,children:_jsx(_components.p,{children:`Whether to opt out of security features (affects HIPAA compliance).`})}),_jsx(ParamField,{body:`publicAccess`,type:`boolean`,id:`param-public-access`,children:_jsx(_components.p,{children:`Whether to allow public access to the call flow.`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The unique identifier for the newly created call flow.`})}),`\n`,_jsx(ResponseField,{name:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`The identifier of the workspace where the call flow has been created.`})}),`\n`,_jsx(ResponseField,{name:`folderId`,type:`string`,id:`param-folder-id-1`,children:_jsx(_components.p,{children:`The identifier of the folder where the call flow is organized.`})}),`\n`,_jsx(ResponseField,{name:`isGlobal`,type:`boolean`,id:`param-is-global-1`,children:_jsx(_components.p,{children:`Whether this is a global call flow.`})}),`\n`,_jsx(ResponseField,{name:`isPreConfigured`,type:`boolean`,id:`param-is-pre-configured-1`,children:_jsx(_components.p,{children:`Whether this call flow is pre-configured.`})}),`\n`,_jsx(ResponseField,{name:`preConfiguredWorkspaceId`,type:`string`,id:`param-pre-configured-workspace-id-1`,children:_jsx(_components.p,{children:`Workspace ID for pre-configured flows.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-5`,children:_jsx(_components.p,{children:`The name given to the call flow.`})}),`\n`,_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction-1`,children:_jsx(_components.p,{children:`The direction configuration of the call flow; can be “inbound”, “outbound”, or “bidirectional”.`})}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-4`,children:_jsx(_components.p,{children:`A description of what the call flow is designed to handle.`})}),`\n`,_jsx(ResponseField,{name:`agent`,type:`string`,id:`param-agent-2`,children:_jsx(_components.p,{children:`The identifier of the agent associated with this call flow.`})}),`\n`,_jsx(ResponseField,{name:`promptType`,default:`simple`,type:`string`,id:`param-prompt-type-1`,children:_jsx(_components.p,{children:`Only “simple” prompt types allowed now.`})}),`\n`,_jsx(ResponseField,{name:`welcomeMessage`,type:`string`,id:`param-welcome-message-2`,children:_jsx(_components.p,{children:`Welcome message type configuration.`})}),`\n`,_jsx(ResponseField,{name:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message-2`,children:_jsx(_components.p,{children:`Custom welcome message text if configured.`})}),`\n`,_jsxs(ResponseField,{name:`flowData`,type:`object`,id:`param-flow-data-1`,children:[_jsx(_components.p,{children:`The configuration of nodes and edges that define the call routing logic within the flow.`}),_jsx(ResponseField,{name:`nodes`,type:`array`,id:`param-nodes-1`,children:_jsx(_components.p,{children:`Detailed configuration of the nodes within the call flow.`})}),_jsx(ResponseField,{name:`edges`,type:`array`,id:`param-edges-1`,children:_jsx(_components.p,{children:`Configurations of the edges connecting nodes within the call flow.`})})]}),`\n`,_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt-1`,children:_jsx(_components.p,{children:`The initial or system prompt used in the call flow.`})}),`\n`,_jsx(ResponseField,{name:`currentPromptId`,type:`string`,id:`param-current-prompt-id`,children:_jsx(_components.p,{children:`ID of the current active prompt version.`})}),`\n`,_jsxs(ResponseField,{name:`promptVersions`,type:`array`,id:`param-prompt-versions`,children:[_jsx(_components.p,{children:`Array of prompt versions with their metadata.`}),_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`Unique identifier for the prompt version.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-6`,children:_jsx(_components.p,{children:`Name of the prompt version.`})}),_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt-2`,children:_jsx(_components.p,{children:`Prompt content for this version.`})}),_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Additional metadata including notes.`})})]}),`\n`,_jsx(ResponseField,{name:`gemini_prompt`,type:`string`,id:`param-gemini-prompt`,children:_jsx(_components.p,{children:`Sanitized version of the prompt for Gemini processing.`})}),`\n`,_jsx(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active-1`,children:_jsx(_components.p,{children:`Indicates whether the call flow is currently active or inactive.`})}),`\n`,_jsx(ResponseField,{name:`agentWebhookUrl`,type:`string`,id:`param-agent-webhook-url-1`,children:_jsx(_components.p,{children:`Webhook URL for agent-related events.`})}),`\n`,_jsx(ResponseField,{name:`inboundWebhookUrl`,type:`string`,id:`param-inbound-webhook-url-1`,children:_jsx(_components.p,{children:`Webhook URL for inbound call events.`})}),`\n`,_jsx(ResponseField,{name:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections-1`,children:_jsx(_components.p,{children:`Array of dynamic variable collections configured for the call flow.`})}),`\n`,_jsx(ResponseField,{name:`locations`,type:`array`,id:`param-locations`,children:_jsx(_components.p,{children:`Array of location objects for visual flow positioning.`})}),`\n`,_jsx(ResponseField,{name:`webhooks`,type:`array`,id:`param-webhooks-2`,children:_jsx(_components.p,{children:`Array of configured webhooks with their complete configuration.`})}),`\n`,_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`Configuration settings for various aspects of the call flow, including welcome messages, webhooks, knowledge bases, call settings, and security.`}),_jsxs(ResponseField,{name:`security`,type:`object`,id:`param-security-1`,children:[_jsx(_components.p,{children:`Security settings with processed values.`}),_jsx(ResponseField,{name:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance`,children:_jsx(_components.p,{children:`HIPAA compliance status (processed from securityOptOut).`})}),_jsx(ResponseField,{name:`publicAccess`,type:`boolean`,id:`param-public-access-1`,children:_jsx(_components.p,{children:`Public access configuration.`})})]})]}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was last updated.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Call Flow","api":"POST /v1/api/call-flows","description":"Create a new call flow with full settings.","href":"/v1/api-reference/endpoints/flows/call-flows/create","hidden":false}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`API key used for authenticating requests to the API.`})}),`\n`,_jsx(ParamField,{header:`x-workspace-id`,type:`string`,required:true,id:`param-x-workspace-id`,children:_jsx(_components.p,{children:`Workspace identifier for the API.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`A friendly name for this call flow (e.g., “Customer Support Flow”).`})}),`\n`,_jsx(ParamField,{body:`direction`,type:`string`,required:true,id:`param-direction`,children:_jsx(_components.p,{children:`Direction of the flow. Possible values: “outbound”, “bidirectional”.`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Description of the call flow (e.g. “Handles inbound support calls”).`})}),`\n`,_jsx(ParamField,{body:`agent`,type:`string`,id:`param-agent`,children:_jsx(_components.p,{children:`ID of the agent to associate with this flow. If provided, the system looks for a pending phone number for that agent and activates it.`})}),`\n`,_jsx(ParamField,{body:`promptType`,default:`simple`,type:`string`,required:true,id:`param-prompt-type`,children:_jsx(_components.p,{children:`Only “simple” type of prompt configuration is allowed now.`})}),`\n`,_jsx(ParamField,{body:`folderId`,type:`string`,id:`param-folder-id`,children:_jsx(_components.p,{children:`ID of the folder to organize this call flow.`})}),`\n`,_jsx(ParamField,{body:`isGlobal`,type:`boolean`,id:`param-is-global`,children:_jsx(_components.p,{children:`Whether this is a global call flow. Only specific workspaces can create global flows.`})}),`\n`,_jsx(ParamField,{body:`isPreConfigured`,type:`boolean`,id:`param-is-pre-configured`,children:_jsx(_components.p,{children:`Whether this call flow is pre-configured. Defaults to false.`})}),`\n`,_jsx(ParamField,{body:`preConfiguredWorkspaceId`,type:`string`,id:`param-pre-configured-workspace-id`,children:_jsx(_components.p,{children:`Workspace ID for pre-configured flows.`})}),`\n`,_jsx(ParamField,{body:`welcomeMessage`,type:`string`,id:`param-welcome-message`,children:_jsx(_components.p,{children:`Welcome message type. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”. Defaults to “user_initiated”.`})}),`\n`,_jsx(ParamField,{body:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message`,children:_jsx(_components.p,{children:`Custom welcome message text when welcomeMessage is set to “ai_custom” only.`})}),`\n`,_jsxs(ParamField,{body:`flowData`,type:`object`,id:`param-flow-data`,children:[_jsx(_components.p,{children:`Flow-based configuration using a node/edge approach for complex call routing.`}),_jsxs(Expandable,{title:`flowData`,children:[_jsx(ParamField,{body:`nodes`,type:`array`,id:`param-nodes`,children:_jsxs(_components.p,{children:[`Array of node objects, each representing a point in the call routing process. Each node object may include properties like `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`type`}),`, and `,_jsx(_components.code,{children:`data`}),` for custom configurations.`]})}),_jsx(ParamField,{body:`edges`,type:`array`,id:`param-edges`,children:_jsxs(_components.p,{children:[`Array of edge objects, connecting the nodes defined in the `,_jsx(_components.code,{children:`nodes`}),` array. Each edge object can specify the source and target nodes, along with additional routing logic.`]})})]})]}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`A system or initial prompt for the flow. This will be used to create the first prompt version.`})}),`\n`,_jsx(ParamField,{body:`isActive`,type:`boolean`,id:`param-is-active`,children:_jsx(_components.p,{children:`Whether the flow is currently active. Defaults to true.`})}),`\n`,_jsx(ParamField,{body:`agentWebhookUrl`,type:`string`,id:`param-agent-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for agent-related events.`})}),`\n`,_jsx(ParamField,{body:`inboundWebhookUrl`,type:`string`,id:`param-inbound-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for inbound call events.`})}),`\n`,_jsxs(ParamField,{body:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections`,children:[_jsx(_components.p,{children:`Array of dynamic variable collections for the call flow.`}),_jsxs(Expandable,{title:`dynamicVariableCollections`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the variable collection.`})}),_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the variable collection.`})}),_jsxs(ParamField,{body:`variables`,type:`array`,id:`param-variables`,children:[_jsx(_components.p,{children:`Array of key-value pairs for variables.`}),_jsx(ParamField,{body:`key`,type:`string`,id:`param-key`,children:_jsx(_components.p,{children:`Variable key name.`})}),_jsx(ParamField,{body:`value`,type:`string`,id:`param-value`,children:_jsx(_components.p,{children:`Variable value.`})})]}),_jsx(ParamField,{body:`isDefault`,type:`boolean`,id:`param-is-default`,children:_jsx(_components.p,{children:`Whether this is the default variable collection. Defaults to false.`})})]})]}),`\n`,_jsxs(ParamField,{body:`webhooks`,type:`array`,id:`param-webhooks`,children:[_jsx(_components.p,{children:`Array of webhook configurations for the call flow.`}),_jsxs(Expandable,{title:`webhooks`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`Name of the webhook.`})}),_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`Webhook URL endpoint.`})}),_jsx(ParamField,{body:`method`,type:`string`,id:`param-method`,children:_jsx(_components.p,{children:`HTTP method. Possible values: “GET”, “POST”, “PUT”, “DELETE”. Defaults to “POST”.`})}),_jsx(ParamField,{body:`headers`,type:`object`,id:`param-headers`,children:_jsx(_components.p,{children:`Key-value pairs for HTTP headers.`})}),_jsx(ParamField,{body:`body`,type:`string`,id:`param-body`,children:_jsx(_components.p,{children:`Request body content.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Description of the webhook purpose.`})}),_jsxs(ParamField,{body:`variablesforcallflow`,type:`array`,id:`param-variablesforcallflow`,children:[_jsx(_components.p,{children:`Variables available for call flow.`}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-3`,children:_jsx(_components.p,{children:`Variable name.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-2`,children:_jsx(_components.p,{children:`Variable description.`})})]}),_jsxs(ParamField,{body:`responseVariables`,type:`array`,id:`param-response-variables`,children:[_jsx(_components.p,{children:`Variables extracted from webhook responses.`}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-4`,children:_jsx(_components.p,{children:`Response variable name.`})}),_jsx(ParamField,{body:`path`,type:`string`,id:`param-path`,children:_jsx(_components.p,{children:`JSON path to extract the variable value.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-3`,children:_jsx(_components.p,{children:`Response variable description.`})})]}),_jsx(ParamField,{body:`isTesting`,type:`boolean`,id:`param-is-testing`,children:_jsx(_components.p,{children:`Whether the webhook is in testing mode.`})}),_jsx(ParamField,{body:`textToSpeak`,type:`string`,id:`param-text-to-speak`,children:_jsx(_components.p,{children:`Text to be spoken when webhook is triggered.`})}),_jsx(ParamField,{body:`testResponse`,type:`string`,id:`param-test-response`,children:_jsx(_components.p,{children:`Mock response for testing purposes.`})})]})]}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Main configuration object for the call flow.`}),_jsxs(Expandable,{title:`settings`,children:[_jsx(ParamField,{body:`welcomeMessage`,type:`string`,id:`param-welcome-message-1`,children:_jsx(_components.p,{children:`Welcome message type. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”.`})}),_jsx(ParamField,{body:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message-1`,children:_jsx(_components.p,{children:`Custom welcome message text.`})}),_jsx(ParamField,{body:`enableHumanLikeVoiceAndTone`,type:`boolean`,id:`param-enable-human-like-voice-and-tone`,children:_jsx(_components.p,{children:`Enable human-like voice and tone. Defaults to false.`})}),_jsx(ParamField,{body:`welcomeMessageDelay`,type:`number`,id:`param-welcome-message-delay`,children:_jsx(_components.p,{children:`Delay in seconds before welcome message. Defaults to 0.`})}),_jsxs(ParamField,{body:`webhooks`,type:`object`,id:`param-webhooks-1`,children:[_jsx(_components.p,{children:`Webhook URLs for different events.`}),_jsx(ParamField,{body:`agent`,type:`string`,id:`param-agent-1`,children:_jsx(_components.p,{children:`Agent webhook URL.`})}),_jsx(ParamField,{body:`inbound`,type:`string`,id:`param-inbound`,children:_jsx(_components.p,{children:`Inbound webhook URL.`})})]}),_jsx(ParamField,{body:`customerLocation`,type:`string`,id:`param-customer-location`,children:_jsx(_components.p,{children:`Customer location for the call flow. Defaults to “new york”.`})}),_jsx(ParamField,{body:`transfers`,type:`array`,id:`param-transfers`,children:_jsx(_components.p,{children:`Array of transfer configurations.`})}),_jsx(ParamField,{body:`knowledgeBases`,type:`array`,id:`param-knowledge-bases`,children:_jsx(_components.p,{children:`Array of knowledge base IDs to associate with this call flow.`})}),_jsx(ParamField,{body:`utilizePriorCallsContext`,type:`boolean`,id:`param-utilize-prior-calls-context`,children:_jsx(_components.p,{children:`Whether to utilize context from prior calls. Defaults to false.`})}),_jsxs(ParamField,{body:`callSettings`,type:`object`,id:`param-call-settings`,children:[_jsx(_components.p,{children:`Call-specific settings.`}),_jsx(ParamField,{body:`trilletVoiceGuard`,type:`boolean`,id:`param-trillet-voice-guard`,children:_jsx(_components.p,{children:`Enable Trillet voice guard. Defaults to true.`})}),_jsx(ParamField,{body:`reminderMessages`,type:`array`,id:`param-reminder-messages`,children:_jsx(_components.p,{children:`Array of reminder message strings.`})})]}),_jsxs(ParamField,{body:`security`,type:`object`,id:`param-security`,children:[_jsx(_components.p,{children:`Security configuration settings.`}),_jsx(ParamField,{body:`securityOptOut`,type:`boolean`,id:`param-security-opt-out`,children:_jsx(_components.p,{children:`Whether to opt out of security features (affects HIPAA compliance).`})}),_jsx(ParamField,{body:`publicAccess`,type:`boolean`,id:`param-public-access`,children:_jsx(_components.p,{children:`Whether to allow public access to the call flow.`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The unique identifier for the newly created call flow.`})}),`\n`,_jsx(ResponseField,{name:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`The identifier of the workspace where the call flow has been created.`})}),`\n`,_jsx(ResponseField,{name:`folderId`,type:`string`,id:`param-folder-id-1`,children:_jsx(_components.p,{children:`The identifier of the folder where the call flow is organized.`})}),`\n`,_jsx(ResponseField,{name:`isGlobal`,type:`boolean`,id:`param-is-global-1`,children:_jsx(_components.p,{children:`Whether this is a global call flow.`})}),`\n`,_jsx(ResponseField,{name:`isPreConfigured`,type:`boolean`,id:`param-is-pre-configured-1`,children:_jsx(_components.p,{children:`Whether this call flow is pre-configured.`})}),`\n`,_jsx(ResponseField,{name:`preConfiguredWorkspaceId`,type:`string`,id:`param-pre-configured-workspace-id-1`,children:_jsx(_components.p,{children:`Workspace ID for pre-configured flows.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-5`,children:_jsx(_components.p,{children:`The name given to the call flow.`})}),`\n`,_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction-1`,children:_jsx(_components.p,{children:`The direction configuration of the call flow; can be “inbound”, “outbound”, or “bidirectional”.`})}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-4`,children:_jsx(_components.p,{children:`A description of what the call flow is designed to handle.`})}),`\n`,_jsx(ResponseField,{name:`agent`,type:`string`,id:`param-agent-2`,children:_jsx(_components.p,{children:`The identifier of the agent associated with this call flow.`})}),`\n`,_jsx(ResponseField,{name:`promptType`,default:`simple`,type:`string`,id:`param-prompt-type-1`,children:_jsx(_components.p,{children:`Only “simple” prompt types allowed now.`})}),`\n`,_jsx(ResponseField,{name:`welcomeMessage`,type:`string`,id:`param-welcome-message-2`,children:_jsx(_components.p,{children:`Welcome message type configuration.`})}),`\n`,_jsx(ResponseField,{name:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message-2`,children:_jsx(_components.p,{children:`Custom welcome message text if configured.`})}),`\n`,_jsxs(ResponseField,{name:`flowData`,type:`object`,id:`param-flow-data-1`,children:[_jsx(_components.p,{children:`The configuration of nodes and edges that define the call routing logic within the flow.`}),_jsx(ResponseField,{name:`nodes`,type:`array`,id:`param-nodes-1`,children:_jsx(_components.p,{children:`Detailed configuration of the nodes within the call flow.`})}),_jsx(ResponseField,{name:`edges`,type:`array`,id:`param-edges-1`,children:_jsx(_components.p,{children:`Configurations of the edges connecting nodes within the call flow.`})})]}),`\n`,_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt-1`,children:_jsx(_components.p,{children:`The initial or system prompt used in the call flow.`})}),`\n`,_jsx(ResponseField,{name:`currentPromptId`,type:`string`,id:`param-current-prompt-id`,children:_jsx(_components.p,{children:`ID of the current active prompt version.`})}),`\n`,_jsxs(ResponseField,{name:`promptVersions`,type:`array`,id:`param-prompt-versions`,children:[_jsx(_components.p,{children:`Array of prompt versions with their metadata.`}),_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`Unique identifier for the prompt version.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-6`,children:_jsx(_components.p,{children:`Name of the prompt version.`})}),_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt-2`,children:_jsx(_components.p,{children:`Prompt content for this version.`})}),_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Additional metadata including notes.`})})]}),`\n`,_jsx(ResponseField,{name:`gemini_prompt`,type:`string`,id:`param-gemini-prompt`,children:_jsx(_components.p,{children:`Sanitized version of the prompt for Gemini processing.`})}),`\n`,_jsx(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active-1`,children:_jsx(_components.p,{children:`Indicates whether the call flow is currently active or inactive.`})}),`\n`,_jsx(ResponseField,{name:`agentWebhookUrl`,type:`string`,id:`param-agent-webhook-url-1`,children:_jsx(_components.p,{children:`Webhook URL for agent-related events.`})}),`\n`,_jsx(ResponseField,{name:`inboundWebhookUrl`,type:`string`,id:`param-inbound-webhook-url-1`,children:_jsx(_components.p,{children:`Webhook URL for inbound call events.`})}),`\n`,_jsx(ResponseField,{name:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections-1`,children:_jsx(_components.p,{children:`Array of dynamic variable collections configured for the call flow.`})}),`\n`,_jsx(ResponseField,{name:`locations`,type:`array`,id:`param-locations`,children:_jsx(_components.p,{children:`Array of location objects for visual flow positioning.`})}),`\n`,_jsx(ResponseField,{name:`webhooks`,type:`array`,id:`param-webhooks-2`,children:_jsx(_components.p,{children:`Array of configured webhooks with their complete configuration.`})}),`\n`,_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`Configuration settings for various aspects of the call flow, including welcome messages, webhooks, knowledge bases, call settings, and security.`}),_jsxs(ResponseField,{name:`security`,type:`object`,id:`param-security-1`,children:[_jsx(_components.p,{children:`Security settings with processed values.`}),_jsx(ResponseField,{name:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance`,children:_jsx(_components.p,{children:`HIPAA compliance status (processed from securityOptOut).`})}),_jsx(ResponseField,{name:`publicAccess`,type:`boolean`,id:`param-public-access-1`,children:_jsx(_components.p,{children:`Public access configuration.`})})]})]}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was last updated.`})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`73`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`73`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6764d172953253138a3a70f4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"folderId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isGlobal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isPreConfigured\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preConfiguredWorkspaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer Support Flow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Handles inbound support calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345679\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"simple\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"welcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_initiated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customWelcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"flowData\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nodes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"node1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Welcome to our support line. How can I help you?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"edges\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Keep the conversation short and friendly.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currentPromptId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345680\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptVersions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345680\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Prompt Version - 1/15/2025, 3:00:00 PM\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Keep the conversation short and friendly.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"notes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gemini_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Keep the conversation short and friendly.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"startNodeId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isActive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentWebhookUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"inboundWebhookUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dynamicVariableCollections\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"locations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webhooks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"welcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_initiated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customWelcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enableHumanLikeVoiceAndTone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"welcomeMessageDelay\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webhooks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"inbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customerLocation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"new york\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transfers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"knowledgeBases\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"utilizePriorCallsContext\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callSettings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trilletVoiceGuard\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reminderMessages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"security\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hipaaCompliance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"publicAccess\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Call Flow","api":"POST /v1/api/call-flows","description":"Create a new call flow with full settings.","href":"/v1/api-reference/endpoints/flows/call-flows/create","hidden":false}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"73\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345678\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workspaceId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6764d172953253138a3a70f4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"folderId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isGlobal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isPreConfigured\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"preConfiguredWorkspaceId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Customer Support Flow\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"direction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Handles inbound support calls\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345679\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"promptType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"simple\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"welcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_initiated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customWelcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"flowData\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nodes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"node1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"start\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Welcome to our support line. How can I help you?\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"edges\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Keep the conversation short and friendly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currentPromptId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345680\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"promptVersions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345680\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Prompt Version - 1/15/2025, 3:00:00 PM\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Keep the conversation short and friendly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"notes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"gemini_prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Keep the conversation short and friendly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"startNodeId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isActive\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentWebhookUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"inboundWebhookUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dynamicVariableCollections\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"locations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"webhooks\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"settings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"welcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_initiated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customWelcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"enableHumanLikeVoiceAndTone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"welcomeMessageDelay\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"webhooks\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customerLocation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"new york\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transfers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"knowledgeBases\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"utilizePriorCallsContext\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callSettings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trilletVoiceGuard\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reminderMessages\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"security\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hipaaCompliance\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"publicAccess\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create Call Flow","path":"/v1/api/call-flows","servers":[{"url":"https://api.trillet.ai"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"x-api-key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"x-api-key":{"schema":[{"type":"string","description":"API key used for authenticating requests to the API.","required":true}]},"x-workspace-id":{"schema":[{"type":"string","description":"Workspace identifier for the API.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"A friendly name for this call flow (e.g., “Customer Support Flow”).","required":true}],"direction":[{"type":"string","description":"Direction of the flow. Possible values: “outbound”, “bidirectional”.","required":true}],"description":[{"type":"string","description":"Description of the call flow (e.g. “Handles inbound support calls”)."}],"agent":[{"type":"string","description":"ID of the agent to associate with this flow. If provided, the system looks for a pending phone number for that agent and activates it."}],"promptType":[{"type":"string","description":"Only “simple” type of prompt configuration is allowed now.","required":true}],"folderId":[{"type":"string","description":"ID of the folder to organize this call flow."}],"isGlobal":[{"type":"boolean","description":"Whether this is a global call flow. Only specific workspaces can create global flows."}],"isPreConfigured":[{"type":"boolean","description":"Whether this call flow is pre-configured. Defaults to false."}],"preConfiguredWorkspaceId":[{"type":"string","description":"Workspace ID for pre-configured flows."}],"welcomeMessage":[{"type":"string","description":"Welcome message type. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”. Defaults to “user_initiated”."}],"customWelcomeMessage":[{"type":"string","description":"Custom welcome message text when welcomeMessage is set to “ai_custom” only."}],"flowData":[{"type":"object","properties":{"nodes":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of node objects, each representing a point in the call routing process. Each node object may include properties like `id` , `type` , and `data` for custom configurations."}],"edges":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of edge objects, connecting the nodes defined in the `nodes` array. Each edge object can specify the source and target nodes, along with additional routing logic."}]},"description":"Flow-based configuration using a node/edge approach for complex call routing."}],"prompt":[{"type":"string","description":"A system or initial prompt for the flow. This will be used to create the first prompt version."}],"isActive":[{"type":"boolean","description":"Whether the flow is currently active. Defaults to true."}],"agentWebhookUrl":[{"type":"string","description":"Webhook URL for agent-related events."}],"inboundWebhookUrl":[{"type":"string","description":"Webhook URL for inbound call events."}],"dynamicVariableCollections":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the variable collection.","required":true}],"name":[{"type":"string","description":"Name of the variable collection.","required":true}],"variables":[{"type":"array","items":[{"type":"object","properties":{"key":[{"type":"string","description":"Variable key name."}],"value":[{"type":"string","description":"Variable value."}]}}],"description":"Array of key-value pairs for variables."}],"isDefault":[{"type":"boolean","description":"Whether this is the default variable collection. Defaults to false."}]}}],"description":"Array of dynamic variable collections for the call flow."}],"webhooks":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"Name of the webhook.","required":true}],"url":[{"type":"string","description":"Webhook URL endpoint.","required":true}],"method":[{"type":"string","description":"HTTP method. Possible values: “GET”, “POST”, “PUT”, “DELETE”. Defaults to “POST”."}],"headers":[{"type":"object","properties":{},"description":"Key-value pairs for HTTP headers."}],"body":[{"type":"string","description":"Request body content."}],"description":[{"type":"string","description":"Description of the webhook purpose."}],"variablesforcallflow":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"Variable name."}],"description":[{"type":"string","description":"Variable description."}]}}],"description":"Variables available for call flow."}],"responseVariables":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"Response variable name."}],"path":[{"type":"string","description":"JSON path to extract the variable value."}],"description":[{"type":"string","description":"Response variable description."}]}}],"description":"Variables extracted from webhook responses."}],"isTesting":[{"type":"boolean","description":"Whether the webhook is in testing mode."}],"textToSpeak":[{"type":"string","description":"Text to be spoken when webhook is triggered."}],"testResponse":[{"type":"string","description":"Mock response for testing purposes."}]}}],"description":"Array of webhook configurations for the call flow."}],"settings":[{"type":"object","properties":{"welcomeMessage":[{"type":"string","description":"Welcome message type. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”."}],"customWelcomeMessage":[{"type":"string","description":"Custom welcome message text."}],"enableHumanLikeVoiceAndTone":[{"type":"boolean","description":"Enable human-like voice and tone. Defaults to false."}],"welcomeMessageDelay":[{"type":"number","description":"Delay in seconds before welcome message. Defaults to 0."}],"webhooks":[{"type":"object","properties":{"agent":[{"type":"string","description":"Agent webhook URL."}],"inbound":[{"type":"string","description":"Inbound webhook URL."}]},"description":"Webhook URLs for different events."}],"customerLocation":[{"type":"string","description":"Customer location for the call flow. Defaults to “new york”."}],"transfers":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of transfer configurations."}],"knowledgeBases":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of knowledge base IDs to associate with this call flow."}],"utilizePriorCallsContext":[{"type":"boolean","description":"Whether to utilize context from prior calls. Defaults to false."}],"callSettings":[{"type":"object","properties":{"trilletVoiceGuard":[{"type":"boolean","description":"Enable Trillet voice guard. Defaults to true."}],"reminderMessages":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of reminder message strings."}]},"description":"Call-specific settings."}],"security":[{"type":"object","properties":{"securityOptOut":[{"type":"boolean","description":"Whether to opt out of security features (affects HIPAA compliance)."}],"publicAccess":[{"type":"boolean","description":"Whether to allow public access to the call flow."}]},"description":"Security configuration settings."}]},"description":"Main configuration object for the call flow."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","direction":"\u003cstring>","description":"\u003cstring>","agent":"\u003cstring>","promptType":"\u003cstring>","folderId":"\u003cstring>","isGlobal":true,"isPreConfigured":true,"preConfiguredWorkspaceId":"\u003cstring>","welcomeMessage":"\u003cstring>","customWelcomeMessage":"\u003cstring>","flowData":{"nodes":[{}],"edges":[{}]},"prompt":"\u003cstring>","isActive":true,"agentWebhookUrl":"\u003cstring>","inboundWebhookUrl":"\u003cstring>","dynamicVariableCollections":[{"id":"\u003cstring>","name":"\u003cstring>","variables":[{"key":"\u003cstring>","value":"\u003cstring>"}],"isDefault":true}],"webhooks":[{"name":"\u003cstring>","url":"\u003cstring>","method":"\u003cstring>","headers":{},"body":"\u003cstring>","description":"\u003cstring>","variablesforcallflow":[{"name":"\u003cstring>","description":"\u003cstring>"}],"responseVariables":[{"name":"\u003cstring>","path":"\u003cstring>","description":"\u003cstring>"}],"isTesting":true,"textToSpeak":"\u003cstring>","testResponse":"\u003cstring>"}],"settings":{"welcomeMessage":"\u003cstring>","customWelcomeMessage":"\u003cstring>","enableHumanLikeVoiceAndTone":true,"welcomeMessageDelay":123,"webhooks":{"agent":"\u003cstring>","inbound":"\u003cstring>"},"customerLocation":"\u003cstring>","transfers":[{}],"knowledgeBases":[{}],"utilizePriorCallsContext":true,"callSettings":{"trilletVoiceGuard":true,"reminderMessages":[{}]},"security":{"securityOptOut":true,"publicAccess":true}}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"_id":[{"type":"string","description":"The unique identifier for the newly created call flow."}],"workspaceId":[{"type":"string","description":"The identifier of the workspace where the call flow has been created."}],"folderId":[{"type":"string","description":"The identifier of the folder where the call flow is organized."}],"isGlobal":[{"type":"boolean","description":"Whether this is a global call flow."}],"isPreConfigured":[{"type":"boolean","description":"Whether this call flow is pre-configured."}],"preConfiguredWorkspaceId":[{"type":"string","description":"Workspace ID for pre-configured flows."}],"name":[{"type":"string","description":"The name given to the call flow."}],"direction":[{"type":"string","description":"The direction configuration of the call flow; can be “inbound”, “outbound”, or “bidirectional”."}],"description":[{"type":"string","description":"A description of what the call flow is designed to handle."}],"agent":[{"type":"string","description":"The identifier of the agent associated with this call flow."}],"promptType":[{"type":"string","description":"Only “simple” prompt types allowed now."}],"welcomeMessage":[{"type":"string","description":"Welcome message type configuration."}],"customWelcomeMessage":[{"type":"string","description":"Custom welcome message text if configured."}],"flowData":[{"type":"object","properties":{"nodes":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Detailed configuration of the nodes within the call flow."}],"edges":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Configurations of the edges connecting nodes within the call flow."}]},"description":"The configuration of nodes and edges that define the call routing logic within the flow."}],"prompt":[{"type":"string","description":"The initial or system prompt used in the call flow."}],"currentPromptId":[{"type":"string","description":"ID of the current active prompt version."}],"promptVersions":[{"type":"array","items":[{"type":"object","properties":{"_id":[{"type":"string","description":"Unique identifier for the prompt version."}],"name":[{"type":"string","description":"Name of the prompt version."}],"prompt":[{"type":"string","description":"Prompt content for this version."}],"metadata":[{"type":"object","properties":{},"description":"Additional metadata including notes."}]}}],"description":"Array of prompt versions with their metadata."}],"gemini_prompt":[{"type":"string","description":"Sanitized version of the prompt for Gemini processing."}],"isActive":[{"type":"boolean","description":"Indicates whether the call flow is currently active or inactive."}],"agentWebhookUrl":[{"type":"string","description":"Webhook URL for agent-related events."}],"inboundWebhookUrl":[{"type":"string","description":"Webhook URL for inbound call events."}],"dynamicVariableCollections":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of dynamic variable collections configured for the call flow."}],"locations":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of location objects for visual flow positioning."}],"webhooks":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of configured webhooks with their complete configuration."}],"settings":[{"type":"object","properties":{"security":[{"type":"object","properties":{"hipaaCompliance":[{"type":"boolean","description":"HIPAA compliance status (processed from securityOptOut)."}],"publicAccess":[{"type":"boolean","description":"Public access configuration."}]},"description":"Security settings with processed values."}]},"description":"Configuration settings for various aspects of the call flow, including welcome messages, webhooks, knowledge bases, call settings, and security."}],"createdAt":[{"type":"string","description":"Timestamp when the call flow was created."}],"updatedAt":[{"type":"string","description":"Timestamp when the call flow was last updated."}]}}],"examples":{"example":{"value":{"_id":"\u003cstring>","workspaceId":"\u003cstring>","folderId":"\u003cstring>","isGlobal":true,"isPreConfigured":true,"preConfiguredWorkspaceId":"\u003cstring>","name":"\u003cstring>","direction":"\u003cstring>","description":"\u003cstring>","agent":"\u003cstring>","promptType":"\u003cstring>","welcomeMessage":"\u003cstring>","customWelcomeMessage":"\u003cstring>","flowData":{"nodes":[{}],"edges":[{}]},"prompt":"\u003cstring>","currentPromptId":"\u003cstring>","promptVersions":[{"_id":"\u003cstring>","name":"\u003cstring>","prompt":"\u003cstring>","metadata":{}}],"gemini_prompt":"\u003cstring>","isActive":true,"agentWebhookUrl":"\u003cstring>","inboundWebhookUrl":"\u003cstring>","dynamicVariableCollections":[{}],"locations":[{}],"webhooks":[{}],"settings":{"security":{"hipaaCompliance":true,"publicAccess":true}},"createdAt":"\u003cstring>","updatedAt":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"trilletai","siteName":"Trillet AI","title":"Create Call Flow - Trillet AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-04T12:10:21.798Z","originalFileLocation":"v1/api-reference/endpoints/flows/call-flows/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new call flow with full settings.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trillet AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Call Flow - Trillet AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new call flow with full settings.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trillet AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trilletai.mintlify.site/_mintlify/api/og/v2?division=Call+Flows\u0026amp;title=Create+Call+Flow\u0026amp;description=Create+a+new+call+flow+with+full+settings.\u0026amp;theme=ad4cc57a896f08cb575728ab\u0026amp;signature=aaec76ef70b998300be09825e726d6edc513175359976ca58f86beff54601611\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Call Flow - Trillet AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new call flow with full settings.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trilletai.mintlify.site/_mintlify/api/og/v2?division=Call+Flows\u0026amp;title=Create+Call+Flow\u0026amp;description=Create+a+new+call+flow+with+full+settings.\u0026amp;theme=ad4cc57a896f08cb575728ab\u0026amp;signature=aaec76ef70b998300be09825e726d6edc513175359976ca58f86beff54601611\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trillet AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0062E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v1/api-reference/endpoints/flows/call-flows/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://trilletai.mintlify.app/#organization\",\"name\":\"Trillet AI\",\"url\":\"https://trilletai.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trilletai/EdcrcTJCQ9witVNd/logo/Trillet-logo-light.png?fit=max\u0026auto=format\u0026n=EdcrcTJCQ9witVNd\u0026q=85\u0026s=07a28a94606d5b153efce99ab90540fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://trilletai.mintlify.app#website\",\"name\":\"Trillet AI\",\"url\":\"https://trilletai.mintlify.app\",\"publisher\":{\"@id\":\"https://trilletai.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create#webpage\",\"url\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create\",\"name\":\"Create Call Flow\",\"description\":\"Create a new call flow with full settings.\",\"dateModified\":\"2026-03-04T12:10:21.798Z\",\"isPartOf\":{\"@id\":\"https://trilletai.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trillet AI\",\"item\":\"https://trilletai.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Call Flow\",\"item\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create#apireference\",\"headline\":\"Create Call Flow\",\"name\":\"Create Call Flow\",\"description\":\"Create a new call flow with full settings.\",\"url\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create\",\"mainEntityOfPage\":{\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create#webpage\"},\"dateModified\":\"2026-03-04T12:10:21.798Z\",\"publisher\":{\"@id\":\"https://trilletai.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://trilletai.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trillet AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trillet AI","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/documentation/introduction"}]},{"tab":"Change Log","icon":"clock","pages":[{"title":"Change Log","href":"/changelog/changelog"}]},{"tab":"API Reference V1","icon":"square-terminal","groups":[{"group":"API Reference V1","icon":"square-terminal","pages":[{"title":"API Reference","href":"/v1/api-reference/introduction"},{"title":"Authentication","href":"/v1/api-reference/authentication"}]},{"group":"Workspaces","icon":"briefcase","pages":[{"title":"Create Workspace","api":"POST /v1/api/workspaces","href":"/v1/api-reference/endpoints/workspace/create-workspace"},{"title":"Invite Team Member","api":"POST /v1/api/workspaces/{workspaceId}/invite","href":"/v1/api-reference/endpoints/workspace/invite-team-member"},{"title":"Get Workspace by ID","api":"GET /v1/api/workspaces/{workspaceId}","href":"/v1/api-reference/endpoints/workspace/get-workspace-by-id"},{"title":"Get Pending Invitations","api":"GET /v1/api/workspaces/invitations/pending","href":"/v1/api-reference/endpoints/workspace/get-pending-invitation"},{"title":"Update Workspace Name","api":"PUT /v1/api/workspaces/{workspaceId}","href":"/v1/api-reference/endpoints/workspace/update-name"},{"title":"Delete Workspace","api":"DELETE /v1/api/workspaces/{workspaceId}","href":"/v1/api-reference/endpoints/workspace/delete-workspace"}]},{"group":"Calls","icon":"phone-volume","pages":[{"title":"Initiate Outbound Call","api":"POST /v1/api/call","href":"/v1/api-reference/endpoints/calls/initiate-call"},{"title":"Export Call History CSV","api":"POST /v2/api/call-history/export-csv","href":"/v1/api-reference/endpoints/calls/call-history/export"},{"title":"List Call Histories","api":"GET /v2/api/call-history","href":"/v1/api-reference/endpoints/calls/call-history/list"},{"title":"Get a Specific Call History","api":"GET /v2/api/call-history/{callHistoryId}","href":"/v1/api-reference/endpoints/calls/call-history/get"},{"title":"Get Phone Numbers","api":"GET /v1/api/twilio/user-phone-numbers","href":"/v1/api-reference/endpoints/calls/call-history/get-phoneNumber"},{"title":"Get Call History Metrics","api":"GET /v2/api/call-history/metrics","href":"/v1/api-reference/endpoints/calls/call-history/metrics"},{"title":"Get Call Recording","api":"GET /v1/api/calls/recordings/{callSid}","href":"/v1/api-reference/endpoints/calls/get-recording"}]},{"group":"Batch Calls","icon":"phone-intercom","pages":[{"title":"Batch Calls Overview","href":"/v1/api-reference/endpoints/calls/batch/overview"},{"title":"Start Batch Calls","api":"POST /v1/api/batch-calls","href":"/v1/api-reference/endpoints/calls/batch/start"},{"title":"List Batch Calls","api":"GET /v1/api/batch-calls/{batchId}/calls","href":"/v1/api-reference/endpoints/calls/batch/list-calls"},{"title":"Get Batch Status","api":"GET /v1/api/batch-calls/{batchId}","href":"/v1/api-reference/endpoints/calls/batch/get-status"},{"title":"Get Batch Progress","api":"GET /v1/api/batch-calls/{batchId}/status","href":"/v1/api-reference/endpoints/calls/batch/get-progress"},{"title":"Get Individual Call Status","api":"GET /v1/api/batch-calls/{batchId}/calls/{jobId}","href":"/v1/api-reference/endpoints/calls/batch/get-call-status"},{"title":"Cancel Batch Operation","api":"DELETE /v1/api/batch-calls/{batchId}","href":"/v1/api-reference/endpoints/calls/batch/cancel"}]},{"group":"Telephony","icon":"phone-office","pages":[{"title":"Bring Your Own Number","api":"POST /v1/api/twilio/register-external-number","href":"/v1/api-reference/endpoints/telephony/register-externalNumber"},{"title":"Assign Phone Number to Agent","api":"POST /v1/api/agents/{agentId}/bind/{phoneNumberId}","href":"/v1/api-reference/endpoints/telephony/bind-call-to-phoneNumber"},{"title":"Unassign Phone Number from Agent","api":"POST /v1/api/agents/{agentId}/release/{phoneNumberId}","href":"/v1/api-reference/endpoints/telephony/unbind-call-to-phoneNumber"},{"title":"Release Phone Number","api":"POST /v1/api/twilio/release-number","href":"/v1/api-reference/endpoints/phone-numbers/release"},{"title":"List Phone Numbers","api":"GET /v1/api/twilio/user-phone-numbers","href":"/v1/api-reference/endpoints/phone-numbers/list"}]},{"group":"Conversations","icon":"comments","pages":[{"title":"Generate Message","api":"POST /v1/api/conversations/message/generate","href":"/v1/api-reference/endpoints/conversations/generateMessage"},{"title":"Handle Message Action","api":"POST /v1/api/conversations/{conversationId}/message/{messageId}/action","href":"/v1/api-reference/endpoints/conversations/messageAction"},{"title":"Edit Customer Details","api":"POST /v1/api/conversations/{conversationId}/customer/edit","href":"/v1/api-reference/endpoints/conversations/editCustomerDetails"},{"title":"Get All Conversations","api":"GET /v1/api/conversations","href":"/v1/api-reference/endpoints/conversations/getAll"},{"title":"Get Conversations By Flow ID","api":"GET /v1/api/conversations/flow/{flowId}","href":"/v1/api-reference/endpoints/conversations/getConvosByFlow"},{"title":"Get Conversation By ID","api":"GET /v1/api/conversations/{conversationId}","href":"/v1/api-reference/endpoints/conversations/getById"},{"title":"Delete Message","api":"DELETE /v1/api/conversations/{conversationId}/message/{messageId}","href":"/v1/api-reference/endpoints/conversations/deleteMessage"},{"title":"Delete Conversation","api":"DELETE /v1/api/conversations/{conversationId}","href":"/v1/api-reference/endpoints/conversations/deleteConvo"}]},{"group":"Folder Management","icon":"folder","pages":[{"title":"Create Flow Folder","api":"POST /v1/api/flow-folders","href":"/v1/api-reference/endpoints/folder/create-folder"},{"title":"Add Flow to Folder","api":"POST /v1/api/flow-folders/{folderId}/flows","href":"/v1/api-reference/endpoints/folder/add-flow-to-folder"},{"title":"Get All Folders for Workspace","api":"GET /v1/api/flow-folders","href":"/v1/api-reference/endpoints/folder/get-all-folders"},{"title":"Get Folder Details with Flows","api":"GET /v1/api/flow-folders/{folderId}","href":"/v1/api-reference/endpoints/folder/get-folder-details"},{"title":"Update Folder","api":"PATCH /v1/api/flow-folders/{folderId}","href":"/v1/api-reference/endpoints/folder/update-folder"},{"title":"Remove Flow from Folder","api":"DELETE /v1/api/flow-folders/{folderId}/flows/{pathwayId}","href":"/v1/api-reference/endpoints/folder/remove-flow-from-folder"},{"title":"Delete Folder","api":"DELETE /v1/api/flow-folders/{folderId}","description":"Delete a specific folder identified by its folderId and remove its reference from associated flows.","href":"/v1/api-reference/endpoints/folder/delete-folder"}]},{"group":"Call Flows","icon":"diagram-next","pages":[{"title":"Create Call Flow","api":"POST /v1/api/call-flows","href":"/v1/api-reference/endpoints/flows/call-flows/create"},{"title":"List Call Flows","api":"GET /v1/api/call-flows","description":"Retrieve a list of all call flows in the workspace.","href":"/v1/api-reference/endpoints/flows/call-flows/list"},{"title":"Get Call Flow","api":"GET /v1/api/call-flows/{id}","href":"/v1/api-reference/endpoints/flows/call-flows/get"},{"title":"Update Call Flow","api":"PUT /v1/api/call-flows/{id}","href":"/v1/api-reference/endpoints/flows/call-flows/update"},{"title":"Delete Call Flow","api":"DELETE /v1/api/call-flows/{id}","href":"/v1/api-reference/endpoints/flows/call-flows/delete"}]},{"group":"Message Flows","icon":"diagram-project","pages":[{"title":"Create Message Flow","api":"POST /v1/api/message-flows","href":"/v1/api-reference/endpoints/flows/message-flows/create"},{"title":"List Message Flows","api":"GET /v1/api/message-flows","href":"/v1/api-reference/endpoints/flows/message-flows/list"},{"title":"Get Message Flow","api":"GET /v1/api/message-flows/{id}","href":"/v1/api-reference/endpoints/flows/message-flows/get"},{"title":"Update Message Flow","api":"PUT /v1/api/message-flows/{id}","href":"/v1/api-reference/endpoints/flows/message-flows/update"},{"title":"Toggle Autopilot","api":"PUT /v1/api/message-flows/{id}/toggle-autopilot","href":"/v1/api-reference/endpoints/flows/message-flows/toggle-autopilot"},{"title":"Delete Message Flow","api":"DELETE /v1/api/message-flows/{id}","href":"/v1/api-reference/endpoints/flows/message-flows/delete"}]},{"group":"Call Agents","icon":"user-check","pages":[{"title":"Create Call Agent","api":"POST /v1/api/agents","href":"/v1/api-reference/endpoints/agents/call/create"},{"title":"List Call Agents","api":"GET /v1/api/agents","href":"/v1/api-reference/endpoints/agents/call/list"},{"title":"Get Call Agent","api":"GET /v1/api/agents/{agentId}","href":"/v1/api-reference/endpoints/agents/call/get"},{"title":"Update Call Agent","api":"PUT /v1/api/agents/{agentId}","href":"/v1/api-reference/endpoints/agents/call/update"},{"title":"Delete Call Agent","api":"DELETE /v1/api/agents/{agentId}","href":"/v1/api-reference/endpoints/agents/call/delete"}]},{"group":"Omni Flow Agents (Message)","icon":"users","pages":[{"title":"Create Omni Flow Agent","api":"POST /v1/api/omni-flow-agents","href":"/v1/api-reference/endpoints/agents/omniflow/create"},{"title":"List Omni Flow Agents","api":"GET /v1/api/omni-flow-agents","href":"/v1/api-reference/endpoints/agents/omniflow/list"},{"title":"Get Omni Flow Agent","api":"GET /v1/api/omni-flow-agents/{id}","href":"/v1/api-reference/endpoints/agents/omniflow/get"},{"title":"Update Omni Flow Agent","api":"PUT /v1/api/omni-flow-agents/{agentId}","href":"/v1/api-reference/endpoints/agents/omniflow/update"},{"title":"Delete Omni Flow Agent","api":"DELETE /v1/api/omni-flow-agents/{agentId}","href":"/v1/api-reference/endpoints/agents/omniflow/delete"}]},{"group":"Knowledge Base","icon":"book","pages":[{"title":"Create Knowledge Base","api":"POST /v1/api/knowledgebase","href":"/v1/api-reference/endpoints/knowledge-base/create"},{"title":"Upload File to Knowledge Base","api":"POST /v1/api/knowledgebase/{id}/files","href":"/v1/api-reference/endpoints/knowledge-base/upload-file"},{"title":"Add Text to Knowledge Base","api":"POST /v1/api/knowledgebase/{id}/text","href":"/v1/api-reference/endpoints/knowledge-base/add-text"},{"title":"List Knowledge Bases","api":"GET /v1/api/knowledgebase","href":"/v1/api-reference/endpoints/knowledge-base/list"},{"title":"Get Knowledge Base","api":"GET /v1/api/knowledgebase/{id}","href":"/v1/api-reference/endpoints/knowledge-base/get"},{"title":"Update Knowledge Base","api":"PUT /v1/api/knowledgebase/{id}","href":"/v1/api-reference/endpoints/knowledge-base/update"},{"title":"Delete Knowledge Base","api":"DELETE /v1/api/knowledgebase/{id}","href":"/v1/api-reference/endpoints/knowledge-base/delete"}]},{"group":"Active Calls","icon":"phone-flip","pages":[{"title":"List Active Calls","api":"GET /v2/api/active-calls","href":"/v1/api-reference/endpoints/active-calls/list"},{"title":"Get Active Call Details","api":"GET /v2/api/active-calls/{roomName}","href":"/v1/api-reference/endpoints/active-calls/get"},{"title":"Get Call Insights","api":"GET /v2/api/active-calls/{roomName}/insights","href":"/v1/api-reference/endpoints/active-calls/get-insights"}]},{"group":"Recordings","icon":"circle-dot","pages":[{"title":"Get Recording","api":"GET /v2/api/recordings/{callHistoryId}","href":"/v1/api-reference/endpoints/recordings/get"}]}]}]},"basePath":"","title":"Create Call Flow - Trillet AI","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js"]}