Skip to content
SalesUltimo Logo
  • Home
  • About Us
    • Affiliate
  • Features
  • Pricing
  • Book A Demo
  • Academy
    • Documentations
  • Contact
    • Contact With Our Reps
Get Started For Free
Get Started For Free
SalesUltimo Logo
  • Home
  • About Us
    • Affiliate
  • Features
  • Pricing
  • Book A Demo
  • Academy
    • Documentations
  • Contact
    • Contact With Our Reps

Dashboard

  • Dashboard

Facebook & Instagram Account Integration

  • Facebook & Instagram Accounts

Comments Automation

  • Comment Growth Tools

Messenger Tools

  • Subscriber Manager
  • Live Chat
  • How To Build Chatbot With Flow Builder
  • Campaign Broadcasting
  • How To Build A Condition-Based Facebook Messenger Bot On The Visual Flow Builder
  • How To Generate Leads Using Email Phone Opt-in Form Builder
  • How to set the User Input Flow and Custom Fields
  • How To Create A Persistent Menu In Messenger Bot Using SalesUltimo

eCommerce Tools

  • Setting Up eCommerce Store
  • How To Use eCommerce Store
  • How To Use eCommerce Product Upselling, Downselling and Cross-Selling
  • How To Set Up Digital Product eCommerce Store
  • How To Import Woocommerce Store Products To SalesUltimo Powered Store

Social Media Posting

  • Social Posting
  • How To Auto Feed Post Campaign
  • How To Use Facebook Live Streaming
  • How To Crosspost Facebook Live Video To Multiple Pages
  • How To Publish And Schedule Carousel On Instagram And Multiple Images On Facebook Using SalesUltimo

Google Business Profile

  • Google Business Profile Location Manager
  • Google Business Profile Campaigns
  • Google Business Profile Media Manager
  • Google Business Profile Review Replies

Email & SMS Marketing

  • How To Generate Leads Using Email Phone Opt-in Form Builder
  • How To Use SMS & Email Sequence

Visual Flow Builder

  • How To Build Chatbot With Flow Builder
  • How To Build A Condition-Based Facebook Messenger Bot On The Visual Flow Builder

Broadcasting

  • Campaign Broadcasting

Affiliate System

  • How To Make Money With SalesUltimo Affiliate System
  • SalesUltimo Affiliate User Guide

Live Streaming

  • How To Use Facebook Live Streaming
  • How To Crosspost Facebook Live Video To Multiple Pages
  • Home
  • Docs
  • Messenger Tools
  • How To Build A Condition-Based Facebook Messenger Bot On The Visual Flow Builder

How To Build A Condition-Based Facebook Messenger Bot On The Visual Flow Builder

To build a condition and rules-based messenger bot, you have to use an element called condition that will work as the entry point of the conditional conversation.

Let’s see how to build conditions and a rules-based messenger bot.

First, go to the editor of the visual Flow Builder. Now add the trigger element to the editor. After that, double-click on the trigger element to add data. Instantly, a form field will appear on the left side of the editor. Now enter ‘condition’ as the keyword for the bot we are going to build. Now click on the ok button. If a user writes ‘condition’ in the messenger, the bot will start.

 

 

Now connect the trigger element to the Start Bot Flow. Now double-click on the Start Bot Flow and a form field will appear on the left side of the editor. Give a title for the bot in the title field. For example, I write ‘condition demo’ in the title field. Others fields are optional. You can keep them blank. Now click on the ok button.

 

 

Now add the condition element by dragging and dropping and connect it with Start Bot Flow. Now double-click on the condition element. Instantly, a form field will appear on the left side of the editor. At the top of the form field, you will see two radio buttons– All Match and Any Match. And you have to select All Match or Any Match. Note that if you select All Match, all the conditions have to be true to evaluate the expression. On the other hand, if you select Any Match, at least one condition has to be true to evaluate the expression.

Since we will configure only one condition, you can select any of them.

 

 

Then you will see the system field and the custom field. Both the system field and the custom field contain initial fields to configure conditions. Of course, by clicking on the plus sign next to the system field and custom field, you can add more fields to configure conditions on them. Of course, you can remove extra condition by clicking remove button.

 

 

Let’s set a condition to check if the user is male or female and send messages accordingly:

Click on the Variable field and a drop-down menu of the different variables will appear. Now you have to select a variable. Likewise, you have to select an operator from the operator field and a value from the value field.

I select Gender as the variable, and Equal(=) as the operator, and Male as the value. Now I click on the ok button to insert data to the condition element.

 

 

On the condition element, you will see two sockets – True and False. If the condition evaluates to true, the message connecting to the True socket will be sent. Contrary, if the condition evaluates to false, the message connecting to the False socket will be sent.

Well, now add a text element and connect it to the socket called True. Then write a message addressing the user as Mr. the message that will be sent to the male users.

Likewise, add another text element and connect it to the False socket and write a message, addressing the user as Miss/Mrs, the message that will be sent to the female users.

 

 

Now add a button element and connect it to both text elements. Well, write a button text and select new postback as the button type and click the ok button. Instantly, a new postback element connected to the button element will appear. Now give a title for the new postback.

 

 

Now I will set another condition to see whether the system has the email address of the user or not. If the system has the email address of a user, the bot will inform the user that the updated information will be sent to the email address. On the other hand, if the system doesn’t have the email address of a specific user, the bot will ask for the email address from the user.

Let’s set a condition to check if the system has the email address of a specific user or not and send messages accordingly:

Add condition element and connect it to the new postback element. After that, click on the condition element to configure a condition. If you configure one condition, it doesn’t matter whether you select All Match or Any Match.

Like before, select Email as the variable and Has Value as the operator. And click on the ok button. That’s all. The condition is set.

 

 

Now add two text element and connect them to the true and false sockets of the condition element. Now click on the text element connecting to the true element and write a text message to inform the user that the updated information will be emailed to the user.

 

 

Then click on the other text element connecting to the false socket and write a message to inform the user that the system doesn’t have the email address and tell the user to click on a quick reply button to send the email address.

 

 

If the condition becomes true, the text message connecting to the True socket will be sent. On the other hand, if the condition becomes false, the text message connecting to the False socket will be sent. That is if the system has the email address of a specific user, the bot will inform the user that the updated information will be sent. And if the system doesn’t have the email address of a user, the bot will ask for the email user.

 

Now add a quick reply button and connect it to the text element connecting to the false socket. Double-click on the quick reply element, select email as the Quick Reply type and click on the ok button. With the reply button, the bot will collect the email address from the user.

 

Now click on the save button or press Ctrl + s on the keyboard to save your bot.

If everything is ok, the bot will work accordingly. That is, if the user is male, the bot will address him as Mr and if the user is female, the bot will address her as Mrs/Miss. Moreover, if the system has the email address of a user, the bot will inform the user that updated information will be emailed to the user and if the system doesn’t have the email address of a specific user, the bot will ask for the email address of the user.

Now let’s see how the bot does work:

 

 

I write condition in the messenger. The message matches the keyword of the condition-based bot we have made and the first condition of the bot start. The condition checks if I am male or female. It finds out that I am male and sends me the text message that addresses me as Mr. After that I click on the yes button, and the second condition starts. It checks if the system has my email address and finds out that the system doesn’t have my email address. So it asks me for my email number.

You can also watch the video tutorial below to learn how to build a condition-based Facebook Messenger bot on ChatPion’s Flow Builder.

Messenger Tools, Visual Flow Builder
What are your Feelings
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Campaign BroadcastingHow To Generate Leads Using Email Phone Opt-in Form Builder

Powered by BetterDocs

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

SalesUltimo Is The Ultimate Drag-and-Drop Visual Flow Builder Chatbot and All-in-One Ecommerce, Sales and Social Media Marketing Cloud-Based Software for Online Vendors.

Contact Info

Address:71-75 Shelton Street, Covent Garden,

London, WC2H 9JQ, United Kingdom

Skype: Muridigital
Email: info@salesultimo.com

Navigation

  • Home
  • About Us
    • Affiliate
  • Features
  • Pricing
  • Book A Demo
  • Academy
    • Documentations
  • Contact
    • Contact With Our Reps

Support & Legal

  • Contact Our Reps
  • Support
  • Academy
  • Documentations
  • FAQs
  • Privacy Policy
  • TOS
  • GDPR
  • Get Started For Free

Copyright © 2023 SalesUltimo

Powered by Technavel