What is a condition block in a chatbot flow and how was it used in the Rainmaker fundraiser chatbot?
A condition block is a chatbot flow element that evaluates conditions and, based on the result, moves the user to a specific branch of the flow. In the Rainmaker fundraiser chatbot, condition blocks were used after donation receipt uploads to check the donor's tag, such as tier_25, tier_50, or tier_100, and then deliver access to the course level that matched that donation tier.
The book defines a condition block as a tool that checks for conditions and, based on those conditions, directs the user to a specific point in the chatbot flow. In the Rainmaker fundraiser, donors selected a giving tier ($25, $50, or $100) and uploaded proof of donation. The chatbot then tagged the user according to the selected tier. Condition blocks were used to check which tag the user had received, for example tier_25, tier_50, or tier_100, and route them to the corresponding level of course access. This automated the delivery of the correct content library instantly, without requiring human follow-up, and prevented users from accessing content they had not earned.
Key points
- A condition block checks conditions and moves the user in a specific direction in the chatbot flow.
- Donors to Rainmaker chose a tier: $25, $50, or $100.
- After uploading a receipt, the user was tagged as tier_25, tier_50, or tier_100.
- Condition blocks checked the tag and delivered the course level matching that donation tier.
- This allowed instant, automatic content access with no human follow-up needed.
AI ChatBots For Dummies
Eric Butow, Kelly Noble Mirabella
John Wiley & Sons, Inc.