> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voiceflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Behaviour

> Fine tune your agent for optimal performance.

The Behaviour tab controls your agent's default model, session handling, and fallback responses. Settings here apply project-wide — individual playbooks can override model settings where needed.

Some settings differ depending on whether you're building a **Chat** or **Voice** project. Differences are noted below.

## Model & reasoning

### Default model

The LLM that powers your agent. Select your primary model, temperature, and max token limit. These can be overridden at the playbook level.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Default-model-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=e8474f5bd17aab771e76286c3c9edc8f" alt="Default Model Docs" width="1294" height="658" data-path="images/Default-model-docs.png" />

* **Model** — your primary LLM (e.g. Claude 4.6 Sonnet, Gemini 2.0 Flash)
* **Temperature** — controls how creative or deterministic responses are. Lower values (closer to 0) produce more consistent output, higher values (closer to 1) introduce more variation.
* **Max tokens** — maximum response length per turn

### Memory

How many conversation turns the agent keeps in context (10–100, default 50). Higher values give the agent more history to work with but increase latency and token usage.

Memory is stored in the `{vf_memory}` variable. Most agents work well between 25–50 turns. If you're hitting token limits or noticing slow responses, try reducing this value.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Max-memory-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=38a5e0f343f5778f6c5b5ec449eb766f" alt="Max Memory Docs" width="1294" height="348" data-path="images/Max-memory-docs.png" />

<Info>
  Conversation memory that exceeds this turn count isn't forgotten completely. Rather it's condenced and summarized so your agent still has access to critical information, while keeping its context window small for optimal performance.
</Info>

### Faster processing

Enables faster processing for supported models. Uses more credits. Off by default. When on, you can check any model dropdown in Voiceflow to see supported models.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Priority-processing-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=be82391cd101a5be7f3c9c4338674de9" alt="Priority Processing Docs" width="1294" height="236" data-path="images/Priority-processing-docs.png" />

### Outage protection

Voiceflow automatically detects model provider outages and allows you to switch to a fallback LLM provider if your primary provider goes down. Configure a fallback for each provider independently — for example, route OpenAI failures to Claude, and Anthropic failures to GPT-4.1.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Outage-protection-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=7bbb5e1657a284e918676edb2101011b" alt="Outage Protection Docs" width="1294" height="542" data-path="images/Outage-protection-docs.png" />

<Warning>
  **Note:** your agent can perform very differently when being powered by different models.
</Warning>

### Timezone

Sets the timezone for the `{vf_now}` and other built-in time variables, and any time-aware behavior.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Timezone-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=2ffcb28144e41ec9b4ec62b3367f43a4" alt="Timezone Docs" width="1294" height="288" data-path="images/Timezone-docs.png" />

<Info>
  You can think of this as your agents internal clock. You also have access to the built-in variable`{vf_user_timezone}`.
</Info>

## Voice output

<Info>
  Voice output is also available in **chat** projects as Voiceflow's chat widget handles multi-modal usecases with voice mode.
</Info>

### Provider, voice, and model

Select your TTS provider (e.g. ElevenLabs, Cartesia, Rime, Google Chirp, Amazon, Microsoft), choose a voice, and pick the synthesis model. You can also connect a custom voiceID from ElevenLabs if you have one.

### Sync audio and text output

Streams TTS in real time, keeping audio synced with the text output. Off by default.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Voice-output-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=dbd6134cfd494d4180a34f6b9a4720c3" alt="Voice Output Docs" width="1294" height="812" data-path="images/Voice-output-docs.png" />

### Voice tuning

Fine-tune how the voice sounds:

* **Similarity boost** (0–1, default 0.75) — how closely the output adheres to the source voice. Higher values are more accurate but may reduce naturalness.
* **Talking speed** (0.7–1.3, default 1.00) — playback speed of the voice.
* **Stability** (0–1, default 0.50) — higher values produce more consistent output across regenerations but can sound more monotone.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Talking-speed-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=1c31a3ef15a914a7c50773cae5273a8e" alt="Talking Speed Docs" width="1294" height="726" data-path="images/Talking-speed-docs.png" />

### Background audio and audio cues

<Info>
  Audio cues is also available in **chat** projects as Voiceflow's chat widget handles multi-modal usecases with voice mode.
</Info>

Add optional ambient audio or audio effects during conversations.

1. **Background audio** – ambient audio that plays in the background for the duration of a call
2. **Audio cue** – a subtle sound effect that plays when the agent starts thinking

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Audio-cues-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=699a8f6c78dc0698a6410b57c3a29dde" alt="Audio Cues Docs" width="1294" height="440" data-path="images/Audio-cues-docs.png" />

## Voice input

<Info>
  Voice input is also available in **chat** projects as Voiceflow's chat widget handles multi-modal usecases with voice mode.
</Info>

### Provider, model, and language

Select your STT provider (e.g. Deepgram, Gladia, Cartesia, AssemblyAI, Google), transcription model (e.g. Flux), and language.

<Check>
  We highly recommend using the **Deepgram Flux** model. It's incredibly strong at understanding when the user is done talking, which can massively recduced the percieved latency of voice conversations.
</Check>

### Keywords

Comma-separated list of words to boost recognition for — proper nouns, product names, or industry-specific terms that standard transcription might miss.

**Good keyword examples:**

* **Product and company names**: Brand names, service names, competitor names
* **Industry-specific terminology**: Medical terms (`tretinoin`, `diagnosis`)
* **Multi-word phrases**: Common phrases in your domain (`account number`, `customer service`)
* **Proper nouns**: Names, brands, titles with appropriate capitalization (`Deepgram`, `iPhone`, `Dr. Smith`)

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Voice-input-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=c138e29740f8893a5ec69edcc03c2f35" alt="Voice Input Docs" width="1294" height="784" data-path="images/Voice-input-docs.png" />

### End-of-turn detection

Controls when the agent decides the user has finished speaking:

* **End-of-turn confidence** (0.5–0.9, default 0.60) — minimum confidence score required to close a turn. Lower values make the agent more responsive, higher values wait for more certainty.
* **End-of-turn timeout** (0.5–5s, default 0.60s) — how long to wait after the user stops speaking before closing the turn, regardless of confidence. Increase this if users are getting cut off mid-sentence.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/End-of-turn-confidence-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=35dba8a148b4ab03636dcfc2cef9069d" alt="End Of Turn Confidence Docs" width="1294" height="512" data-path="images/End-of-turn-confidence-docs.png" />

### Keypad input

Allow users to input digits via keypad (DTMF) during a call. When enabled, configure:

<Info>
  Keypad input is only available in **voice** projects.
</Info>

* **Timeout** (0–10s, default 2) — how long to wait before processing the input. Set to 0 to process only after a delimiter is pressed.
* **Delimiter** — the key that signals input is complete. Options: Pound (#) or Star (\*). If both a delimiter and timeout are set, whichever comes first triggers processing.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Keypad-input-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=d11641d493dc6f7ce5b09c34ec7080b9" alt="Keypad Input Docs" width="1294" height="770" data-path="images/Keypad-input-docs.png" />

## Session & timeout

### Session timeout (Chat projects)

Time in minutes before an inactive chat session ends (1–2,880 min (2 days), default 15 minutes). Toggle off to keep sessions alive indefinitely.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Timeout-chat-docs-2.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=d702bc5634fdd604429abfc93a2645d8" alt="Timeout Chat Docs 2" width="1294" height="424" data-path="images/Timeout-chat-docs-2.png" />

### Session timeout (Voice projects)

How long to wait before a call is automatically ended due to inactivity (10–300 seconds, default 60).

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Timeout-voice-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=e1d54041f912ccc46c814b1b88fddb6f" alt="Timeout Voice Docs" width="1294" height="314" data-path="images/Timeout-voice-docs.png" />

### Chat persistence

Controls how and whether chat history is stored between sessions.

<Info>
  Chat persistence is only available in **chat** projects.
</Info>

* **Never forget** — conversation history persists indefinitely. The user can return at any time and pick up where they left off.
* **Forget after all tabs are closed** — history is cleared when the user closes all browser tabs with the chat widget. Reopening starts a fresh session.
* **Forget after page refresh** — history is cleared every time the page reloads. Each page visit is a new conversation.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Chat-persistence.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=c00358b14976c2854a3e7cf54cec9b3b" alt="Chat Persistence" width="1294" height="334" data-path="images/Chat-persistence.png" />

## Events

Events let you trigger agent behavior from outside the conversation — a webhook, a CRM update, a system alert, or any external signal your application sends.

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/Events-behaviour-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=ddb02285792dd179028d20c1b1b4911c" alt="Events Behaviour Docs" width="1294" height="638" data-path="images/Events-behaviour-docs.png" />

To create an event, click **New event**, give it a name, and choose its behaviour:

| Behaviour                 | When to use                                                                                                                                                                                                |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Continue conversation** | The event updates user state without changing the conversation state. The agent keeps doing whatever it was doing.                                                                                         |
| **Return to agent**       | The event hands control back to the agent to decide what to do next. Use this when the event changes context and the agent needs to re-evaluate — for example, a priority flag being set mid-conversation. |
| **Run workflow**          | The event triggers a specific workflow directly. Use this when you know exactly what should happen — for example, an order status change should always kick off the order update flow.                     |

## Fallback

<img src="https://mintcdn.com/voiceflow-009a8802/EHmr-u69t3HiqAlQ/images/No-match-reply-docs.png?fit=max&auto=format&n=EHmr-u69t3HiqAlQ&q=85&s=90d7cc1c41b5b49d79ff77425ce9d8b1" alt="No Match Reply Docs" width="1294" height="400" data-path="images/No-match-reply-docs.png" />

### Global no-match

How the agent responds when it can't match any skill, user intention, or knowledge base result. Click **Edit** to configure:

* **Generative** — provide a prompt that tells the agent how to handle the situation. The agent generates a response dynamically based on your instructions.
* **Scripted** — write a fixed response that's sent every time. Use this when you want exact control over the wording.

  <Info>
    If you're building a fully agentic project, you don't need to worry about this behaviour setting. It's really for experiences that don't rely on an agent to handle un-happy path dialogs.
  </Info>

### Global no-reply

How the agent responds when the user says nothing. Off by default. When enabled, click **Edit** to configure:

* **Generative** — provide a prompt for how to re-engage the user (e.g. "Ask them if they're still there, or nudge them toward the conversation's goal").
* **Scripted** — write a fixed follow-up message.
* **Inactivity time** — how many seconds of silence before the agent responds (default 10).
* **Max no-reply messages per turn** — how many times the agent will follow up before ending the session (default 5). For example, with 10 seconds and 5 attempts, the session ends after 50 seconds of total silence.
