Skip to main content
All CollectionsFlow BuilderCondition Block
How to Guide the User Wherever You Want with Conditions
How to Guide the User Wherever You Want with Conditions

Learn how to guide your users to different parts of the flow using conditions

Updated over 2 months ago

In this video, you will learn how to direct the client to any location in your flows using the condition block in Wabb

Using condition blocks in WhatsApp Bot Builder (WABB) allows you to direct users based on specific criteria. Here’s how to implement this effectively:

1. Setting Up Tags

  • Use tags to identify user types (e.g., "Gold Customer," "Platinum Customer," "Black Customer").

  • Assign these tags based on user selections in your options menu.

2. Creating the Initial Flow

  • Start with a welcome message and ask the user for their name.

  • Present an options menu where users can specify their customer type.

3. Assigning Tags

  • When a user selects an option, use an action block to add the corresponding tag.

  • Repeat for each customer type to ensure proper tagging.

4. Implementing Condition Blocks

  • Click on the "+" action button at the bottom right corner to add a condition block.

  • Connect this block to your flow where you want to evaluate conditions.

5. Configuring Conditions

  • Click on the condition block to open the settings menu.

  • Choose whether subscribers must match all or any conditions (Logic AND/OR).

  • Add conditions based on tags or other parameters (e.g., time, day).

6. Guiding Users

  • Use conditions to check if a user has a specific tag.

  • Direct users to different flows based on their tags:

    • Gold Customers: If they have the "Gold Customer" tag, guide them to the Gold-specific flow.

      • Example Message: “Thank you for being a Gold Customer! Here are your exclusive offers.”

    • Platinum Customers: Check for the "Platinum Customer" tag and guide accordingly.

      • Example Message: “Welcome back, Platinum Customer! Enjoy your premium benefits.”

    • Black Customers: Similarly, check for the "Black Customer" tag and direct them appropriately.

      • Example Message: “Hello, esteemed Black Customer! Here are your top-tier privileges.”

7. Handling Returning Users

  • Use condition blocks to check existing tags when a user returns.

  • Direct them immediately to their respective flows without asking their type again.

8. Fallback for Unidentified Users

  • If a user doesn’t have any specific tags, prompt them with a message like: “Hello, welcome back. What type of customer are you?”

  • Update their tag based on their response to ensure future personalization.

By following these steps, you can efficiently guide users through personalized paths using condition blocks in WABB. This not only enhances the user experience but also strengthens customer loyalty through tailored interactions. If you need further assistance, feel free to contact our support team through the help center.

Did this answer your question?