### Answer
Dynamic variables like {{motherlanguage}} can be used to personalize agent responses, including greetings, by injecting caller-specific data into prompts or begin messages [(1) ](
) . However, the documentation does not explicitly state that dynamic variables can directly control the agent's spoken language at runtime. You can use a dynamic variable to conditionally change the greeting text (e.g., provide a German greeting if {{motherlanguage}} is "de", or English if "en") , but whether the Text-to-Speech engine will switch voices/languages accordingly is not documented .
If you want the agent to always greet in the appropriate language based on a caller's property, you can structure your prompts or conversation flows to check the value of {{motherlanguage}} and output the appropriate greeting text . The actual language spoken will depend on the configuration of the agent and TTS settings, which are not directly documented as dynamic-variable-controllable .
Check out these potentially useful sources: [Dynamic Variables](
) , [List Retell LLMs](
) , [Get Retell LLM](
)
Would you like a general answer based on my knowledge?