Buraq Help Center
ProductsBook a demo
  • πŸ˜ƒWelcome to Buraq
    • Buraq Basics
  • 🏁Getting Started
    • Building a Chatbot
    • Testing a Chatbot
    • Installation
      • Installation on Website
        • Installation using HTML
        • Installation using Google Tag Manager
      • Installing on Wordpress
      • Installing on SquareSpace
      • Installation on WhatsApp
      • Installation on Facebook
    • Deploying a Chatbot
    • Utility Tools
  • 🟦ACTION BLOCKS
    • Trigger
      • Set values to variables using Trigger
    • Send Message
    • Collect Input
    • Buttons
    • Carousel
    • Calendar
    • Send an Email
    • Condition
    • Image gallery
    • Talk to human
    • Slider
    • Collect file
    • Delay
    • Form
    • Flow
    • Jump
    • Codeblock
      • Dynamic Dialog Generator
    • Options
    • List
    • Reply buttons
    • AI model
    • Dynamic data
  • πŸ€–AI Studio
    • Overview
      • From URL
      • From File
      • From Intent
  • πŸ”ŒINTEGRATIONS
    • Overview
    • Events
    • HTTP request
    • Javascript
    • Zapier
    • Google Sheets
    • Salesforce
    • Codeblock
    • Airtable
    • Google Calendar
    • Calendly
    • HubSpot
    • Freshdesk
    • DialogFlow
    • Zoho CRM
    • Slack
      • Live Chat for Slack
      • Notification for Slack
    • ActiveCampaign
    • Link Tracking
  • πŸ“²Whatsapp Business API
    • Overview
    • Cost
    • Limitations
    • Getting a WhatsApp API
      • From Meta
        • Creating a Facebook App
        • Adding the phone number
        • Generating permanent token
        • Configuring the webhook on Buraq
  • πŸ’¬Live Chat
    • Overview
      • Live Chat Screen
      • Live Chat Settings
  • βš’οΈTroubleshooting
    • Cloning Bots
    • Connecting Action Blocks
    • Creating Loops
    • Setting up Fallback Variables
    • Setting up Link Tracking
    • Variable Manager
    • Image Dimensions
    • Tracking Facebook Pixel
    • Firing events on Google Analytics
  • β›”Outbound Bots
    • Overview
    • Building One Off Campaign
    • Building Ongoing Campaign
    • Creating a WhatsApp Template
    • Action Blocks_ Outbound
      • Send WhatsApp
      • Send SMS
      • Delay
      • Branch
  • 🦾CHATBOT CUSTOMIZATION
    • Chatbot Appearance
    • Custom CSS
    • Embed chatbots on website
    • JS functions to show_hide
  • πŸ•΅οΈβ€β™‚οΈAccount Management
    • Teams
    • Teammates
    • Purchasing a plan
    • Payment Methods
    • Refund Policy
    • Reset Password
    • Deleting Account
  • πŸ“ŠReporting
    • Analytics Dashboard
      • Chatbot Analytics
      • Agent Analytics
    • What are contacts in Buraq?
      • Scheduling a Contact Report
      • Exporting a Contact List
Powered by GitBook
On this page
  • Use case scenario:
  • What are operators?
  • Type of operators:
  • How do I set it up?
  1. ACTION BLOCKS

Condition

Branch action block allows you to move to different path of the conversation flow on the basis of conditions defined

With the help of Branch action block, you have the ability to create multiple branches based on certain conditions, which have their own conversational flows.

Use case scenario:

Following are few of the scenarios in which the branch action block can be used:

  • Let's say you want to separate the flows for visitors speaking from developed countries vs developing countries

  • When you want to branch out the flow based on a keyword or phrase that the visitor has provided

What are operators?

Operators are constructs which behave like functions and are used for comparison and logical conditions. Using operators in the branch action block allows you to compare the defined values with variables and accordingly navigate your visitors through the flow.

Type of operators:

There are various types of operators that Buraq supports, they are;

Operator
Description
Example

Equals To

Commonly used when you want to match the value of the variable with the defined value

"City" 'Equals To' "New York"

Not Equals To

Commonly used when you don't want the value of the variable to be matched with the defined value

"City" 'Not Equals To' "New York"

Contains

Commonly used when you want the variable to contain the defined value

"URL" 'Contains' "Web"

Does Not Contain

Commonly used when you do not want the variable to contain the defined value

"URL" 'Does Not Contain' "Web"

Is Empty

You can use this operator to identify whether the variable is empty or not

"Phone" is 'Empty'

Is Not Empty

You can use this operator to ensure that variable is not empty

"Name" is 'Not Empty'

How do I set it up?

You can follow the following steps to set up the branch action block;

  1. Add action block on canvas by clicking on '+'

  2. Choose 'Condition'

  3. Configure it on the right panel

    • Add a Branch: You can add multiple branches by clicking on '+ Branch'. The maximum number of branches that you can add is 10

    • Define the condition: Click on the branch to open the configuration window. You can configure following once the panel opens up;

      1. Variable: Click on 'Variable' to open the drop down list of the defined variables and select the variable as per your preference

      2. Operator: Click on 'Operator' to open the drop down list of supported operators and select it as per your preference

      3. Value: Define the value with which the variable value will be compared with. Here you can enter multiple values by hitting enter and they will be displayed as chip

    • Choose 'Any/All' condition: You can select either of the condition from Any or All Any: System will route the visitors through this branch if any of the condition is met or holds true All: System will route the visitors through this branch if all the conditions are met or holds true

PreviousSend an Email NextImage gallery

Last updated 1 year ago

🟦