# Automatically detect and translate the language in your customers' messages

This article will show you how to use a pre-made flow to automatically detect and the language used in a customer's reply, and translate responses accordingly.&#x20;

&#x20;

### Requirements

* A [MessageBird account](https://dashboard.messagebird.com/en/sign-up)
* A channel from our [omnichannel offering](https://dashboard.messagebird.com/en/channels)
* [Flow Builder](https://dashboard.messagebird.com/en/flow-builder)

&#x20;

### Step one: Set up MessageBird and a communication channel

Before you can set up the pre-made flow, you'll need to make sure you have a MessageBird account and a suitable channel to use in the flow. Follow these steps to get set up:

1. Sign up for a [MessageBird account](https://dashboard.messagebird.com/en/sign-up)
2. Sign up for a [WhatsApp Business account](https://www.messagebird.com/whatsapp/), or set up one of our other [communication channels](https://dashboard.messagebird.com/en/channels)

&#x20;

### Step two: Connect everything in the MessageBird Dashboard

Once you've set up your MessageBird account and selected the channel that you'd like to use, you can set up the pre-made flow. Follow these steps to be able to understand what your customers are asking, and respond in their language.

1. Download the pre-made [language recognition and translation flow](https://drive.google.com/file/d/13aIDSaUnS6VkFKjdYqfMXv0cx4Wly1Cc/view?usp=sharing)
2. Log in to your [MessageBird Dashboard](https://dashboard.messagebird.com/)
3. Navigate to [Flow Builder](https://dashboard.messagebird.com/en/flow-builder)
4. Click on **Import flow** and import the language recognition and translation flow
5. Click the **Omni-channel** step to open the step settings
6. Select your chosen channel by checking the relevant box
7. Click **Save** in the step settings
8. Test the flow by sending a message to your channel!

&#x20;

When you send a message to your channel, you’ll receive an automatic message response. This message will ask you to reply in any of the 54 supported languages, including:

* English
* Indonesian
* Chinese
* German
* Spanish

&#x20;

Once you respond in any of those languages, the flow will guide you through more details about using the translation steps to improve customer engagement. Take a look at the screenshot below to see what the conversation would look like in a WhatsApp chat.

<figure><img src="/files/5OfMVFKCKwPUD2YwJgGl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bird.com/connectivity-platform/use-cases/automatically-detect-and-translate-the-language-in-your-customers-messages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
