#can we override voice id with dynamic variables

1 messages · Page 1 of 1 (latest)

supple oracleBOT
#
AI-generated Answer for johnnyflaco

Short answer: No. Dynamic variables don’t control the voice_id. Use Overrides to change the voice per conversation.

How to do it:

  • Enable “Voice ID” in the agent’s Security → Overrides, then pass tts.voice_id in conversation_config_override when starting the conversation (SDKs/WebSocket) or via your webhook. (elevenlabs.io)
  • Example (Twilio inbound): return conversation_config_override.tts.voice_id in your webhook response. (elevenlabs.io)
  • If using the web widget, set override-voice-id="YOUR_VOICE_ID". (elevenlabs.io)

Reference: Dynamic variables are for prompts, first messages, and tool parameters/headers—not for fixed config like voice selection. (elevenlabs.io)

Sources:
Overrides | ElevenLabs Documentation
Twilio personalization | ElevenLabs Documentation
Widget customization | ElevenLabs Documentation
Dynamic variables | ElevenLabs Documentation