Implement Bulkwise & Automate your Business to lead 5x Growth ✨

How to Use “If Condition” and Build a Smart Chatbot (Step-by-Step Guide)

if condition , whatsapp smart chatbot

Want to create a chatbot that talks smart? 🤖

In this blog, we’ll show you how to use the IF CONDITION in Bulkwise chatbot builder to respond differently based on user input. This helps your bot feel more personalized and intelligent — like a real assistant.

Let’s go step by step.

What is an “If Condition” in Bulkwise?

An “If Condition” helps you check something before the bot replies.

For example:
👉 If the user already gave their name, say “Welcome, Kumar!”
👉 If not, ask: “What is your name?”

This saves time and avoids asking the same questions again.

Step-by-Step: Create a Chatbot With If Condition in Bulkwise

Let’s create a chatbot that:

  1. Starts the flow

  2. Checks if the user name is saved

  3. If name is saved ➝ Greet the user

  4. If name is not saved ➝ Ask for name ➝ Say thank you ➝ Show a button to start another flow

✅ Step 1: Start a New Bot Flow

  • Create a new flow and rename it from “Asd” to “If Condition Check”
  • This is where your chatbot will begin.
  •  

✅ Step 2: Add a Condition Block

  • Drag and drop the Condition block.

  • Set condition like this:

    • Custom Field: Name

    • Match Type: Has Value

This checks if the user’s name is already saved.

✅ Step 3: Add Two Paths

  • True Path: If name is available

    • Add a Text Block

    • Message: Welcome #Name#

    • This will say: Welcome Kumar!

  • False Path: If name is not available

    • Add a User Input Block

      • Campaign name: user info

    • Then add a New Question

      • Ask: What is your name?

      • Save the answer in the custom field Name

✅ Step 4: Say Thank You

After saving the name, add an Interactive Message:

  • Message: Thank you!

✅ Step 5: Show a Button to Start Another Flow

  • Add a Button Block

    • Text: Get Started

    • Action: Start a Flow (e.g., “Diet Chart”)

Now, after entering their name, the user will get a button to explore more.

🎯 Example Flow

Start ➝ If Condition ➝
Yes ➝ Welcome #Name#
No ➝ Ask name ➝ Save ➝ Thank you ➝ Get Started button

🚀 Why Use If Condition?

  • Avoid repeating questions

  • Make conversations feel smooth

  • Collect only missing data

  • Guide users better

Try This Example

If you run a fitness business, you can say:

“Hi #Name#, ready to get your custom Diet Chart?”
Or ask them their name first if you don’t have it yet.

👏 That’s It!

Using If Conditions in Bulkwise helps you build Advanced smart, user-friendly chatbots that feel more human.

Try this today and see your user experience go to the next level!