Idle messages for a multilingual assistant
# support
s
Hey support team, I’d like to know if it’s possible to set up idle messages for a multilingual assistant. For example, I’d like to define messages in both English and Spanish, and have the assistant use the appropriate version based on the conversation’s language — Spanish messages when the user is speaking Spanish, and English messages when the conversation is in English. Is there an existing approach or best practice for handling this? Thanks in advance!
k
Vapi supports multilingual idle messages by detecting the user’s language and dynamically updating the assistant’s idleMessages via API though it’s not yet available as a built-in dashboard feature..
s
Do you have a CURL example creating multilingual idle messages? And this logic is used to detect the language
k
Use your own language detection logic from transcriptions, then update Vapi’s idleMessages via a PATCH API call..
k
Hey Seygi, check out this docs . If it doesn't help, let me know.
s
This documentation only explains how to send idle messages in a specific language, but it doesn’t include any examples of how to support multiple languages in the same assistant, or how to prompt the assistant to choose the appropriate idle message based on the conversation language.
k
We’re still developing dynamic idle messages. Right now, only static idle messages can be configured within the assistant. If you need dynamic behavior, you can use Live Call Control to inject custom messages at runtime. Apologies for the inconvenience; we don’t yet support context- or language-based idle messages for now.