# Automatic language detection

> Kustomer comes with a default Natural Language Processing (NLP) workflow that automatically detects the sentiment of a message. 

Source: https://help.kustomer.com/en_us/automatic-language-detection-BJX_GhXGX

Last updated: 2026-06-22T13:28:42.517Z

Kustomer comes with a default Natural Language Processing (NLP) workflow that automatically detects the sentiment of an inbound email message. Kustomer automatically analyzes incoming conversations to identify message language and sentiment.

**Language detection** is performed using a customized system built on top of hosted open-source machine learning models.

**Sentiment analysis** is performed using modern large language models hosted in AWS Bedrock.

If the primary sentiment analysis service is unavailable, Kustomer can fall back to AWS [AWS Comprehend](https://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html) to maintain sentiment processing continuity.

With this feature, the conversation's _Default Language_ attribute is automatically set once the language used in the interaction is detected. This information can then be used to perform actions such as routing all conversations of a particular language to the correct team or viewing all conversations for a specific language in a search.

**Note:** The system re-evaluates the conversation's default language on every inbound message. If a single message is detected as a different language, the conversation's default language updates to match. This can affect which language your satisfaction survey or snippets use.

**Who can access this feature?**

**User types**

Admins can access these settings.

###   

### View a conversation's default language

To view the language your customers are using, we recommend adding the Conversation Default Language attribute to the Conversation Insight Details card.

**Note:** The _Customer Default Language_ attribute does not impact the language that gets used in snippets. 

1.  Go to **Settings ![](https://cdn.kustomerhostedcontent.com/media/570fad9d9001bc1000163b28/f91b5da0b4d9487b3532c65c7df7ea04.png) > Platform > Klasses**.
2.  Select **Conversation** and go to the **Insight Cards** tab.
3.  Select the **Insight Details** card.
4.  Search for the **Conversation Default Language** attribute and drag it to your card.
5.  Select **Save Changes**.

You will now see the conversation's default language in the card.

![](https://cdn.kustomerhostedcontent.com/media/570fad9d9001bc1000163b28/d23b6ed6472986a6dd08ada047b8bc28.png)

Any snippets used to reply to this conversation will be automatically translated to the default language, if available. See [Reuse text with snippets](https://help.kustomer.com/text-snippets-SJ5f74uxm) for more information.

### **Email template language conflicts**

If email template greetings and sign-offs display in the wrong language, a workflow conflict may be overriding the conversation's language setting.

A common cause is the system-provided "detect-language-at-message-creation" workflow. This workflow runs on every new message and re-detects the language from message content, which can override a language set by a different workflow (such as a Team Assignment workflow that sets language based on the sender address).

To resolve this:

*   ****Option 1: Modify the language detection workflow.**** Duplicate the "detect-language-at-message-creation" workflow (the original is a system workflow and cannot be edited directly). In the duplicate, add a condition so it only sets the language when no language has already been assigned. Turn off the original workflow and use the new copy.
*   ****Option 2: Create a language-specific email template.**** Create a new email template with the correct salutation and closing hardcoded directly into the template, instead of using dynamic language variables. Then go to ****Settings**** > ****Channels & Apps**** > ****Email**** > ****Support Addresses**** and set this template as the default for the relevant sender address.
