Articles on: Flows

Using a Flow to Set a Contact's Language

Need to set a contact's preferred language? You can use a flow to easily automate this. Here's how:

Use the Set language for contact action to update your contacts' language preferences from within a flow. Contacts will then receive messages in their preferred languages if the flow they're interacting with has been translated.

In the example below, we're asking our contacts which language they prefer - English, French or Arabic. Once the action evaluates their responses for language preference, contacts will pass through one of three Update contact actions to update the field language. They'll then receive the final message in their preferred language.

They'll then receive the final message in their preferred language.

From the Contacts Tab

To set a contact's language preference via the "contacts" tab:

Navigate to the Contacts tab, then click the contact whose language you want to update

Click on the ☰ menu icon and select the "edit" option.

The Update Contact dialogue will appear. Click the "Language" menu to select a language from the primary and secondary languages you've added to your account, then click "Save the changes"

Please note:

The default Language contact field, representing preferred language, is visible through the following pathway:navigate to contacts tab > click contact > click ☰ menu > select edit. A contacts' language preference can be referenced using the @contact.language variable, returning its ISO 639-3 standardized nomenclature (Spanish becomes 'spa').

You’ll need to translate your flows into each of the secondary languages you’ve added to your account page.

Using a Contact Import

You can add a column titled 'Language' containing the ISO 639-3 language code (e.g. 'spa' for Spanish) to a contact import to set your contact's preferred languages. Note that all additional languages must first be added to your account via your account page.

Updated on: 11/10/2023

Was this article helpful?

Share your feedback


Thank you!