Welcome to BotSailor Help! Just use the email OTP to sign in and track your tickets. Password login isn’t needed anymore.

Using Conditions and Triggers in Flowbuilder – BotSailor Guide

Flowbuilder in BotSailor not only helps automate conversations but also lets you design intelligent conditional flows that dynamically respond based on user inputs or system data. This guide will show you how to use Triggers and Conditions in your bot flow to personalize interactions, route users differently, and make your automation smarter.

 

✅ Why Use Triggers and Conditions?

 

  • Trigger-based Flows: Initiate the bot based on user input (e.g., keywords like “start,” “help,” “con”).
  • Conditions: Check user input, system fields, or custom fields and decide what to show next based on logic.
  • Personalization: Deliver tailored messages like “You are our customer” or “Welcome back, John.”
  • Qualification & Segmentation: Route users based on attributes such as name, email, purchase history, or preferences.

 

🔧 Step-by-Step: Setting Up a Trigger and Conditional Flow

 

🟦 1. Define the Trigger Keyword

 

Double-click on the Start Bot Flow block.

  • Under Keyword, type the word that will start this bot flow — in this example, it's con.
  • Set the matching type to "Exact Keyword Match".
  • Enter a bot title like Condition Bot.

📌 Tip: This keyword is what the user must type to start the conversation.

 

 

🟦 2. Add a User Input Flow

 

From the top bar, click the User Input Flow icon (🧾).

  • Select Add New Input Flow.
  • Name it something like concamp for campaign reference.

Now, create your first question:

  • Set Free Keyboard Input
  • Question: What is your name?
  • Reply type: Text

  • Save response to a new custom field named Name.

📌 Result: The user's answer (e.g., “abir”) will be stored under the variable Name.

 

🟦 3. Add a Text Message to Acknowledge Response

 

Connect a Text block to the next step.

  • Example message: “Thanks for providing your name.”
  • Add a small delay (e.g., 1 second) for natural pacing.

 

🟥 4. Insert a Condition Block

 

From the top menu, select the Condition element (∑ icon).

  • Match Type: Set to All.
  • Custom Field: Choose Name.
  • Operator: =
  • Value: abir

📌 Logic: If the user entered “abir” as their name, the condition will return True.

 

🟦 5. Define True and False Paths

 

  • If True (Name = abir): Add a text block: You are our customer.
  • If False: Add a text block: You are not our customer.

You can now test the logic by typing con in Messenger:

  • If the user replies anything else (e.g., “rupos”) → Bot says: You are not our customer.

 

 

  • If the user replies “abir” → Bot says: You are our customer.

 

 

🧠 Tips for Using Conditions Smartly

 

  • You can add multiple conditions inside one Condition block.
  • Match using:

    • System fields (e.g., Gender, FirstName, LastName )
    • Custom fields (user-entered values like name, email, price)
  • You can match on:

    • Equals (=)
    • Contains
    • Starts With
    • Greater/Less Than (for numbers or dates)

🎯 Use Cases:

  • Identify loyal customers by checking custom tags or names
  • Route leads to different sales reps based on input
  • Validate form-like inputs dynamically

 

💾 Don’t Forget to Save

 

Once your flow is fully set up, always click the Save button on the top right to preserve your work.

✅ Recap:

 

 

 

1️⃣

Set the trigger keyword (con)

2️⃣

Add a user input flow (ask user name, save to custom field)

3️⃣

Add a condition to check if name = abir

4️⃣

Respond differently based on the condition

5️⃣

Save the flow

 

By using Triggers and Conditions in Flowbuilder, you create smart conversational experiences tailored to your users. Start leveraging this logic to qualify users, personalize messages, and build powerful WhatsApp, Messenger, and WebChat bots with BotSailor.