Route conversations based on language
Use this flow to route incoming messages to agents based on the language of the message, whether it is 'English', 'Spanish', or 'French'!
Last updated
Use this flow to route incoming messages to agents based on the language of the message, whether it is 'English', 'Spanish', or 'French'!
Last updated
English, Spanish, and French are the default languages used in this flow, but you can edit these and add the languages that your customers are most likely to speak!
Conversation created: The flow is triggered when an incoming message is received from a customer.
Predict language: The flow passes the incoming message through an AI language detection action. This tool will analyze the content of the message and determine the language in which it is written, categorizing it as 'English', 'Spanish', or 'French'.
Conditional: The flow splits into three separate branches, one for each language category (English, Spanish, or French).
Add language tags to a conversation in Inbox: Within each of the three branches, the next flow action adds a language tag to the conversation. For example, if the message is written in Spanish, it adds a "Spanish" tag to the conversation.
Assign to agent in Inbox: The next flow action routes the conversation to the agents who have been assigned to handle conversations in that particular language.
At least one installed channel
Three tags set up in Inbox (English, Spanish, and French)
Inbox agents with correlating language tags
Trigger
Go to Flows > Template library and locate and select the ‘Routing Bot: Language’ flow.
Click Save to my library in the top right-hand corner.
The trigger is automatically configured for WhatsApp, but you can change the trigger to a channel of your choice.
Predict language
If you’ve changed the channel trigger, send a message to that channel, then run a test on the ‘Language detection’ action to identify the language of your message.
Click Save when you’re ready to move on.
Add language tags to a conversation
Select one of the three language branches (English, Spanish, or French).
Click the Add language tags to a conversation in Inbox action.
In the Configuration > Language Tags field, type the name of the language tag that you want to use. For example, if you are using the ‘Spanish’ branch, search for the ‘Spanish’ tag you’ve created for your agents.
Click Run test to check your tag configuration, then click Next.
Assign to Agent in Inbox
Click the Assign to Agent in Inbox action.
Click the Tags toggle to turn it on.
Click Next.
Repeat the ‘Add language tags to a conversation’ and ‘Assign to Agent in Inbox’ steps for each of the remaining two language branches (English and French), then click Publish flow to start routing conversations based on language.