LeadsHook Contextual Custom Fields

LeadsHook has the following ‘secret’ custom fields so you don’t have to enter values manually each node.LeadsHook will automatically replace the values of the CURRENT decision tree and node into these fields.  And these values are automatically replaced on every node where these custom fields are used. Warning! The values of these fields CHANGE for […]

Read More

Tracking Your Decision Tree Version Numbers

In this article you will learn about decision tree version numbers. Whenever you PUBLISH your decision trees, LeadsHook assigns a new version id. Your decision tree also has version number appended to your decision tree name… You can also track version id, via this special custom field… _c_dt_ver Adding Decision Tree Version Number to Your […]

Read More

Survey/Quiz Score – using Sum Plus feature

When creating a survey or quiz you might need to assign points to your questions and tally up a score. One way that this is possible is using the sum plus feature. Using the sum plus feature we create a single number custom field and assign it to multiple nodes. Instructions:

Read More

How to create a time stamp custom field.

Each lead is stamped with the ‘created at’ time stamp. However, there is no way to call this field in your Decision Tree. So let’s examine the case where you need to use your own time stamp custom field. Simply create a text field called ‘timestamp’ And then copy/paste this code into a node script […]

Read More

Conditional Logic using Calculated fields

The ternary operator is an operator that exists in some programming languages, which takes three operands rather than the typical one or two that most operators use. It provides a way to shorten a simple if else block. In this article we will apply this technique using a calculated field. Here’s an example So if the business skill variable is less […]

Read More

How to pass a parameter from a script to a custom field.

If you use custom scripts, sometimes you will want to pass a scripted variable to a custom field. The syntax looks like this: Note that the first parameter is the custom field name without the curly brackets. So {full_name} would be written as ‘full_name’. The second parameter is the value you want to pass to […]

Read More

Default value behavior

When you create a custom field you have the option of specifying a default value. For example: You can see the default value is “true” Now, its also possible to override this value in a question node. You have to assign the question a custom field and provide values. For example: Here you can see […]

Read More

Number Fields & Calculations

In this article we will discuss two specific types of custom fields. This is namely number fields, and calculation fields. The reason we cover both in one article is because they are often used together. For example, if you were selling something, you would store a price and quantity in two separate number fields. Then […]

Read More

Understanding Custom Fields

Creating a custom field To create a custom field you must select: Admin -> Custom Fields in the Leadshook menu. You will be presented with three different categories of fields on the top left hand side corner. System fields These are predefined custom fields. Mostly they are common variables that users need all the time. […]

Read More

How to filter dropdown choices in the Form node

Introduction In this article, we will learn about filtering dropdown choices in the form node. This is applicable to all dropdown form custom field with more than 10 choices. Step by Step Instructions 1.Create a dropdown custom field under the form custom field. The dropdown choices should be more than 10. Here is an example […]

Read More