# During Call

**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](https://docs.voicelogica.ai/workflows/on-call-start/) instead.

  <ShotPlaceholder
    src="/assets/workflows/during-call.png"
    name="wf-during"
    alt="During Call Trigger on the canvas"
    capture="During Call Trigger canvas."
  />

## What you configure

- **Function Name** (required) — Only lowercase letters, numbers and underscores (max 64). Example: `get_user_info`.
- **Condition** (required) — 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).

  <ShotPlaceholder
    src="/assets/workflows/during-call-form.png"
    name="during-call-form"
    alt="During Call Trigger settings Function Name and Condition"
    capture="During Call Trigger settings."
  />

## 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.

## Troubleshooting

**The agent never calls the workflow**

Tighten **Condition** and **Function Name**. Mention the parameter in the condition so the model asks for it. Confirm the Business Workflows toggle is on for *this* agent.

**Callers notice a pause**

Move anything that does not need their words to [On Call Start](https://docs.voicelogica.ai/workflows/on-call-start/). One During Call tool per job - do not stack three.

## Next Steps

[On Call Start](https://docs.voicelogica.ai/workflows/on-call-start/) - known-in-advance lookups.  
[Keyword Detected](https://docs.voicelogica.ai/workflows/keyword-detected/) - a phrase, not a tool the model chooses.  
[On Key Pressed](https://docs.voicelogica.ai/workflows/keyword-pressed/) - digits, not speech.
