Variables & Logic
Use Logic to take an end-user to the appropriate place based upon values of variables.
-
Variables - Everything you need to know
Zingtree makes extensive use of variables to store data collected or passed into the tree. How to Assign Variables You can set variables in a variety of ways: Passed into the tree via the URL usi...
-
Using Score Variables
Use Cases for Score Variables Keeping a Running Total These can be tests, quizzes, assessments, training simulations, or anything that requires assigning a score to each answer given, and later act...
-
Simple Logic Nodes
In order to make decision trees that can help solve real-world problems, sometimes you need the ability to do more than just choose a path based upon a finite set of choices. For these reasons, we’...
-
Advanced Logic Nodes with Expressions
The default Simple Logic Node is designed to be easy to use and foolproof, but if you need more advanced operations you can take advantage of the Advanced option in the Logic Node Editor. You can u...
-
Logic Node Debugging
You’ve built out your tree and added Logic nodes, but why aren’t you getting the results you’re expecting? The Debug Tool allows you to run test simulations against each logic node in your tree and...
-
Merge Variables
Just like the mail merge in your favorite document editor, you can add variables to any node in the title, content, question or button text, and pass in values to replace those variables. For examp...
-
Predefined Variables
Sometimes you may want to introduce a variable for your tree without using it. For example: Logic Nodes show all variables detected in your tree, but you may want to build Logic Nodes for future v...
-
Address Multiple Issues using Logic
Zingtree is the ideal solution to help you manage situations where you need to deal with multiple issues or queries and address them in a priority order that most suits you. The key to achieving th...
-
Button Click Variables
To make gathering data from end-users as convenient as possible, Zingtree lets you assign text or numeric values to variables when buttons are clicked from any node. These are known as Button Click...
-
Inserting Values of Variables into Nodes
The value of any variables collected during a Zingtree session can be easily inserted into a node. The variable name just needs to be surrounded by # characters. Example: Typing #first_name# insert...
-
Using Variables in Subtrees via Tree Nodes
When you are linking trees via tree nodes, any variables set during the session will be available to any subtree. For example, if you ask for a name and email in a parent tree, and then use a tree...
-
Concatenating Text Variables
Zingtree has built a handy webhook you can use to combine several text (string) variables into a single variable. You just need to add a new Webhook and install it into the node where you want the ...
-
How to Erase Variables and Delete Session Data
There are times where you may want to erase all variables collected during a session and start over. You can do this with the Zingtree Erase Variables stock webhook, So when a specific node is reac...
-
URL Link Substitution using Variables
Sometimes Zingtree variables will be URLs, and you'll want to make them into links in emails or a content node. For example, a variable can be a URL of an uploaded image file or document, or a gene...
-
Special Tree Variables
You can automatically include some handy variables in your sessions, including: The starting tree name and ID. The last tree name and ID (may be different than the starting tree if you are using t...
-
How to Add A/B testing to a Tree
One of the most important capabilities of any online sales system is the ability to A/B test different offers and messages. This can be extremely useful for sales-oriented Contact Centers, as agent...
-
Scoring Decision Trees with a Running Total
Zingtree is able to create what we call evaluations. These can be tests, quizzes, assessments, training simulations, or anything that requires assigning a score to each question answered, and later...