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 (Run on exit) 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

How to Calculate Time Spent in a Node

Introduction In this article, you will learn how to calculate the time spent in a node. Step-by-Step Instructions: Step 1: Create a custom field named time_enter. Step 2: Create a custom field named time_exit. Step 3: Create a calculated custom field for the time spent. Please do not forget to include the formula as shown […]

Read More

How to calculate open hours

Introduction: If you want to split your Decision Tree into available hours of work and unavailable hours, we need to create a custom field, use some JavaScript for the time, and then use this field in a decision node. Step-by-Step Instructions: Step 1: Create a number custom field called hour Step 2: Copy paste this […]

Read More

How to use Dates and Time Custom Fields in Your Decision Trees

Introduction: In this article, you’ll learn about the various ways you can save dates, times and perform calculations. Please note: Be sure to use the CORRECT type of field. You should use date, time or date&time custom fields. Add scripts on node… Important: DT.setField function cannot be used on the last node for V2 DTs. […]

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 Add a Delay Before Redirecting to an External Page

Introduction: This guide illustrates how to add a delay before redirecting users to an external page in LeadsHook. By implementing the provided script, you can improve user experience and provide necessary notifications before redirection. Step-by-Step Instructions: Add the Following Code as shown below Note: The numeric value (2500) in the script determines the delay before […]

Read More

How to Add Date & Time to Your Decision Tree

Introduction: This guide will demonstrate how to add date and time elements to your decision tree in LeadsHook. By introducing these components, you can further personalize your interactive decision-making process. Prerequisites: Step-by-Step Instructions: How to Setup Date & Time in Your Decision Tree Step 1: Create a text custom field. Step 2: You can add […]

Read More