Which language should an AI agent use to reply to customers?
Have your AI write replies in the language used by your account's agents — agent_lang. AnyLinga will translate reply_text into the customer's language — lang.
Which language to specify in your AI instructions
Instruct your AI to write reply_text in the language specified by agent_lang in the incoming request. The customer's incoming message is already translated into this language in the translated_text field.
AnyLinga treats reply_text as text in the agents' language and translates it just like agent messages. The AI reply appears in the Kommo chat, where the agent sees it alongside the translation.
When replies are not translated
AnyLinga does not translate a reply if the customer's language is unknown, translation is not included in the plan, or translation credits have run out.
Translation is also skipped if the text is at least 40 characters long and is already in the customer's language. A short reply — fewer than 40 characters — in the customer's language may be translated again before it is sent. It is best to always write reply_text in agent_lang.
Text from templates in template_ids is not translated: the customer receives it as written.
Credits and translation failures
Translating AI replies uses translation credits just like translating agent messages.
If translation fails, the original text is sent to the customer. A note appears in Kommo: “[AnyLinga] Translation failed — message sent in original language.”
Related questions
How translation works · Translation credits · How to connect an AI agent through n8n
Get in touch
We reply during business hours.
New to AnyLinga?
Try it yourself, or we'll set it up for you when you pay for the first month.