Skipping Parts of the Flow in the Secondary Locale without a Fallback

Challenge 

There is a need to skip parts of the Flow that are not relevant for a specific Locale, and not have a primary Locale fallback for the part skipped in the Flow. 

An example situation would be: In one country you need to collect extra information about the user. In a different country, this is not required, therefore you would like to skip that part of the flow in that specific Locale.  

 

Solution 

 There are multiple ways to do this. 

 

1. Localize Question Nodes and configure them in a way that they will always be skipped within the Question Node settings: 

 

blobid0.png
 

Add Question Node 

 
blobid1.png

Switch Locale, add localization to the node and toggle "Skip if Answer in Input" in the Question Node settings 

 

This way, the question will be skipped because it will be marked as answered before the Node is reached. 
 

2. Localize and Disable/Enable Intents 


blobid2.png

In the NLU tab, localize Intents and disable the ones you do not want to be triggered in your specific Locale.  

 
The Intent models are always Locale specific. You can disable/enable both parent and child Intents in Localizations just like any other Intents. With this method, you do not need to adjust the Flows. 

 

3. Use localized Logic Nodes to control Flow parts for different Locales: 
     

blobid3.png

Set up your question and then control the Flow with an If node for different Locales.  

 

4. Use intent lookup based on localeId 

 

blobid4.png

Setup a Lookup Node with CognigyScript to look for localeId, then localize Nodes for your specific Locales. 

 
! NOTE 

The analytics step will be recorded, even for skipped questions.
 


Comments

0 comments

Article is closed for comments.

Was this article helpful?
0 out of 1 found this helpful