Back to Blog

How to build a chatbot quiz for WhatsApp

Quiz Chatbot WhatsApp

Create your own quiz chatbots and engage with your users on WhatsApp, Messenger, Web or other channels or simply download the quiz chatbot template. Quizzes are a great way to engage with your users as a good quiz increases the customer journey. A second use quiz can we find in product recommendations. I wouldn’t really call it quizzes but based on the input of the user you can do some great product recommendations.

If you are looking for a way to create a quiz bot or a way to use the input of a user for a follow-up workflow then this article will help you out. We will create a quiz bot that is able to:

Two concepts that we’ll be using here are capturing or extracting user input and conditions.

Asking questions

The first step is to onboard your users. WhatsApp click to chat links are great for onboarding, you can even combine them with scannable QR-codes. When using Messenger or Web you can directly trigger events within

Now we can get started with the quizzes. Text replies can be used to ask a question. We want to extract the user’s answer and save it as a parameter and we can use the Any Text Trigger for that! Let’s have a look at three types of questions:

Open Questions

The image below shows you how to use a ‘text reply’ to ask a question and an additional ‘any text’ trigger to extract the answer of the user.

Chatbot Open Questions

True/False Questions

A True/False question is quite similar to in terms of your design. When designing for Web, Messenger or Telegram you could add quick replies to improve the customer experience.These quick replies or buttons are not supported by the WhatsApp channel.

Chatbot True False Questions

Multiple Choice Questions

Last but not least, we’ve got multiple-choice questions. These types of questions are created by using Webviews. You can use them at WhatsApp, Web, Messenger, and Telegram.

Chatbot Multiple Choice Questions

Checking answers

So far we’ve asked questions and we’ve stored the answers in a parameter by using the ‘Any text’ trigger. To check if the answer is correct we can use Conditions.

What are conditions? These components are if/else statements and allow you to check if the answer is correct. If the answer is true, then we proceed with the correct branch. Else, we proceed with the incorrect branch.

If you would like to loop back and ask the same questions again before proceeding, have a look at looping flows.

Chatbot check Questions

Store answers

Checking answers can be enough. But if you’re want to create some sort of report you’ll need to store these answers somewhere. This option is quite extensive as it all depends or what you would like to do with these answers.

For product recommendations and interacting with other services, you can use Actions to connect with your own API or you can use the existing Zapier integration to fill e.g. a Google Spreadsheet.

Quizbot Template

You can find the template that belongs to this article within the platform. Head over to the login page. Create a new project and add the Quiz Chatbot from the available templates. Can’t find it? Make sure to your Brains set to English (see Project settings -> Brains).

Book a demoContact us