Tracking Your Decision Tree Version Numbers

Introduction: 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 […]

Read More

How to create a time stamp custom field.

Introduction: Step-by-Step Instructions: Step 1: Simply create a text field called ‘timestamp’ Step 2: And then copy/paste this code into a node script You can get a list of supported time zones here: https://www.w3schools.com/php/php_ref_timezones.asp Remember you need to publish and access via direct link/embed (because scripts will not fire in preview)

Read More

Conditional Logic using Calculated fields

Introduction: Here’s an example: So if the business skill variable is less than 100 it will assign the value ‘1’ to this field Otherwise it will assign the value ‘-1’ to this ( if_statement ) custom field.

Read More

How to Pass a Parameter From a Script to a Custom Field.

Introduction: If you use custom scripts, sometimes you will want to pass a scripted variable to a custom field. You’ll also learn see a script with conditions where you can update the value of a custom field after comparing 2 values. Important: DT.setField function cannot be used on the last node for V2 DTs. The […]

Read More

Default value behavior

Introduction: 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 […]

Read More

How to Setup Number & Calculation Custom Fields

Introduction: This guide explains the setup of number and calculation custom fields in LeadsHook. It’s essential to discuss these two types of fields together, as they often operate jointly. Follow these steps to create your custom fields and enhance your data collection and calculation process. The reason we cover both in one article is because […]

Read More

How to use Custom Fields

Introduction: This guide will illustrate the process of creating, assigning, and viewing custom fields in Leadshook, which is integral for users who wish to perform advanced functionality. Upon mastering these instructions, you’ll be capable of creating unique data fields, improving your ability to capture and organize information. Prerequisites: Classes of Fields: System fields Form fields […]

Read More

Checkbox and multiple choice NODES vs. Custom fields

Introduction: This article aims to distinguish between nodes and custom fields when working with checkboxes and multiple-choice options. Nodes guide the flow down the decision tree, while custom fields are variables that store user responses. By comprehending the difference and knowing how to use both, you can effectively design interactive decision trees. The difference between […]

Read More

How to capture and display Date and Time

Introduction: This guide shows how to create custom fields for capturing and displaying date and time in LeadsHook. We will cover how to set up date, time, and datetime fields and how to capture and display these fields using nodes and the text editor. 1. First create custom fields To create a custom Date field: […]

Read More

How to use Calculated Fields

Introduction: This guide provides a brief introduction to using calculated fields in LeadsHook, allowing you to perform calculations based on user responses. Step-by-Step Instructions: Conclusion: By using calculated fields, you can perform complex calculations in real-time based on your users’ input. This powerful feature adds dynamicity and personalization to your decision trees. FAQs:

Read More