Skip to content
EN
Open app

For AI assistants: this page as plain markdown is at https://docs.voicelogica.ai/raw/workflows/during-call.md, and https://docs.voicelogica.ai/llms.txt lists the docs by topic, one file each, small enough to read whole. Read those rather than this HTML page.

During Call

2 min read
Copy as Markdown
View as MarkdownOpen the raw .md file.md

During Call Trigger is a tool the model may call while talking (Runs when: Run actions during an active call). You name the function and write when to use it. The agent collects parameters from the caller, the graph runs, then (usually) AI Response to Caller speaks the result.

Every During Call graph adds latency. Keep the API under about a second. If you already know the fact from the caller ID, use On Call Start instead.

During Call Trigger on the canvas
wf-duringExpand
Function NameREQUIRED
Only lowercase letters, numbers and underscores (max 64). Example: get_user_info.
ConditionREQUIRED
When the AI should trigger this workflow. The model evaluates it during the call.
Enable Message Creation
When on, the AI speaks a message to the caller before the workflow executes.
Play wait music
Play keyboard typing music while the tool runs, then stop when the result is ready.
Parameters
+ Add Parameter - what to collect first (name, type, required, AI-generated when shown). A parameter with AI-generated off is a fixed value: the agent never sees or fills it, and the workflow always gets the value you typed (variables like {{...}} are filled in).
During Call Trigger settings Function Name and Condition
during-call-formExpand

First setup - one lookup the caller asks for

Section titled “First setup - one lookup the caller asks for”
  1. + Add Trigger - During Call Trigger. Fill Function Name and Condition.
  2. + Add Parameter for anything the caller must say (for example a product code).
  3. Connect To External Service using those parameters.
  4. AI Response to Caller on the successful path.
  5. Save & go live, attach, call, ask for the lookup. Time the pause.
Why does my agent never run the During Call workflow?

Make the trigger’s Condition and Function Name clearer about when to use it, and mention the parameter in the condition so the model asks the caller for it. Then confirm the workflow is turned on under Business Workflows for the agent you are calling.

Why do callers hear a pause when my During Call workflow runs?

Every During Call workflow adds a wait while it runs, so keep the API under about a second. Move anything that does not need the caller’s words to On Call Start, and use one During Call tool per job instead of stacking several.