Question

Condition to limit the sign up only to specific country via Chatbot

  • 12 January 2023
  • 0 replies
  • 39 views

Userlevel 1
Badge +2

Dear community,

I am creating a chatbot that allows customers to sign up in the website. The chatbot is asking for email and phone number. I want to limit to only Belgium numbers, which starts with +32 with the country code. How can I add a condition that if the requester enters a non Belgium number it follow to a conversation that he can not register and if it is Belgium number then it allows the registration. 

I have tried using the function Contains 

 

and then the condition:

 

When I test it, the bot says True if I start with +32 but it redirects always to dialog 7.1. If I enter non Belgium code, it says false and correctly redirect to 7.1. 

I don’t know how to make to go to dialog 3.1 and also to hide the true/false answer,

 

Is there maybe another way more simple to do what I am trying?

 

Thanks!


0 replies

Join the Community or User Group to Participate in this Discussion

Reply