https://retellai.com/?utm_source=discord&utm_medium=seo logo
- i have a weird problem
# ❓・ai-evy-support
t
@AI Evy - i have a weird problem. when i test the conversation flow in retell, i can switch languages easily with the AI voice agent. However, when i execute a phone call through n8n which is connected with retell, it does not allow me to switch languages. pls advise
a
Thanks for tagging me @tabrza. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, this appears to be a known issue with multilingual conversation flow agents where language switching only works for the current node and reverts back to English when transitioning to another node [(1) ]() . Here's a solution that has worked for other users experiencing the same problem : 1. Extract the user's language preference into a dynamic variable like
{{user_language}}
after the first node 2. Add language instructions to every subsequent node by putting this at the top of each node :
Copy code
Always speak in {{user_language}} throughout this node.  
Assume the user only understands {{user_language}}.  
Only listen for and recognize speech in {{user_language}}.  
Transcribe and interpret the caller's response exclusively in {{user_language}}.  
Do not use English unless {{user_language}} is explicitly set to "English".
3. **Add to your global prompt**: "Speak only in the user's language ({{user_language}}) " The difference you're experiencing between testing in the dashboard versus phone calls through N8N is likely because the multilingual behavior in conversation flow agents requires this explicit language persistence setup across nodes . While testing might work differently, actual phone calls need the language context maintained throughout the conversation flow . An alternative approach mentioned is using agent transfer to swap to language-specific agents, but the dynamic variable method above is more maintainable than managing multiple agent copies .
​ To learn more, see the sources I considered: [[1] Language Switching](https://discord.com/channels/1186424376300679209/1397465772074467338) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
are there any multi-language templates built by retell that show how this is managed effectively?
@AI Evy are there any multi-language templates built by retell that show how this is managed effectively?
a
Thanks for the follow-up, @tabrza. I'll get back to you soon.
### Answer I don't have information about specific multi-language templates built by Retell AI in the available sources. The sources discuss language switching approaches but don't reference official templates that demonstrate effective multi-language management. The community solutions I mentioned earlier from Discord show user-created approaches rather than official Retell templates [(1) ]() . For official templates or examples that demonstrate best practices for multi-language conversation flows, you might want to check the main documentation or contact support directly. Check out these potentially useful sources: [Single/Multi Prompt Agent Overview]() , [Language Switching]() Would you like me to provide a general answer about multi-language template approaches based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Language Switching](https://discord.com/channels/1186424376300679209/1397465772074467338) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.