Personalization

Learn how to personalize your agent’s behavior using dynamic variables and overrides.

Overview

Personalization allows you to adapt your agent’s behavior for each individual user, enabling more natural and contextually relevant conversations. ElevenLabs offers multiple approaches to personalization:

  1. Dynamic Variables - Inject runtime values into prompts and messages
  2. Overrides - Completely replace system prompts or messages
  3. Twilio Integration - Personalize inbound call experiences via webhooks

Personalization Methods

Conversation Initiation Client Data Structure

The conversation_initiation_client_data object defines what can be customized when starting a conversation:

1{
2 "type": "conversation_initiation_client_data",
3 "conversation_config_override": {
4 "agent": {
5 "prompt": {
6 "prompt": "overriding system prompt"
7 },
8 "first_message": "overriding first message",
9 "language": "en"
10 },
11 "tts": {
12 "voice_id": "voice-id-here"
13 }
14 },
15 "custom_llm_extra_body": {
16 "temperature": 0.7,
17 "max_tokens": 100
18 },
19 "dynamic_variables": {
20 "string_var": "text value",
21 "number_var": 1.2,
22 "integer_var": 123,
23 "boolean_var": true
24 }
25}

Choosing the Right Approach

MethodBest ForImplementation
Dynamic Variables
  • Inserting user-specific data into templated content - Maintaining consistent agent behavior with personalized details - Personalizing tool parameters
Define variables with {{ variable_name }} and pass values at runtime
Overrides
  • Completely changing agent behavior per user - Switching languages or voices - Legacy applications (consider migrating to Dynamic Variables)

Enable specific override permissions in security settings and pass complete replacement content

Learn More