Introduction:
This tutorial guides you through setting up a LeadsHook decision tree to present personalized result pages based on user responses to checkbox questions.
If you set up checkbox questions, and you want to display a specific result for people who have chosen a specific answer choice, this tutorial shows you how to do so using Decision Node.
For example, you are asking your audience, “what are your hobbies?”. The answer choices are (1) gardening, (2) cooking and (3) reading. Your audiences are allowed to select any choices that apply to them.
From the answers, you want to identify everybody whose answer contains cooking, so that you can display a message, “I am glad that you love cooking!”, including those who might choose e.g. both gardening and cooking, etc.
Step-by-Step Instructions:
To do so, open a decision tree canvas and follow the 3 easy steps below!
Step 1: Add a question
- select “Add New Node”

- drag a blank question (under Questions and Answers on the left pane) to the decision tree canvas and click to open it.
- Node Type & Options > Type > select Checkbox
- Properties > fill up Question *

- Answers > fill up Answer *
- click +Add Answer and fill up Answer until you have included all answer choices.
- click Save

Step 2: Add a decision node
- select “Add New Node”.
- drag a blank decision node (under Decision on the left pane) to the decision tree canvas and click to open it.
- Properties > fill up Title *

- click +Add Path > fill up Path Title * > change Custom Field to Question > select the question by clicking Enter question… > is > select an answer choice.
- Click +Add a condition and repeat the above step to choose another answer choice.
- Click +Result and then Add Result


For this example, we will create 3 paths, as follows:

- Once you are done adding the paths, click Save
Step 3: Add a result page
- select “Add New Node”.
- drag a blank result page (under Result Pages on the left pane bottom) to the decision tree canvas and click to open it.
- Properties > fill up Name *
- Properties > textbox > add the message “I am glad that you love cooking!”

- click Save
Done! This is how the decision tree looks like:

Conclusion:
You’ve now created a decision tree that presents a personalized result page based on the user’s answer to a checkbox question. Let us know if you have any questions!
FAQs:
- Can I use this method for other types of questions, not just checkboxes?
- Yes, this method can be applied to other question types, but the process may vary slightly.
Let us know if you have any questions! : )
