Webhooks

Webhooks: Library
Date Webhooks date_plus Calculate a date in the future given a starting date and number of days. in: date, daysreturn variable: date_plus Example: Add this webhook URL to My Apps: https://zingtr...

Lookup Tables
We get asked a lot about how to easily incorporate a lookup table in decision tree logic. For example, you may have a list of part numbers, and want to show the name, price, and other part info in ...

Math Operations
If you’re using Data Entry Fields or Merge Variables to bring data into your decision tree session, you may want to perform math calculations on these variables. Zingtree offers a “Math Webhook” op...

Converting a Date to an Age
Zingtree has built a handy webhook you can use to turn a person's birthdate into their age. You just need to add a new Webhook and install it into the node where you want the calculation to take pl...

Calculate the number of days between dates
Here's a handy webhook where you can calculate the number of days between dates. You just need to add a new Webhook and install it into the node where you want the calculation to take place. Here's...

Formatting Currency (Money)
Overview Zingtree provides a simple Webhook for taking numeric input, and converting it to a nicely formatted currency value. Like in these examples: 1234567 > $1,234,567 123456 > $123,456 123.0...

Simple Notifications: SMS Text Messages, Email or Slack
Many business processes can be enhanced by sending notifications to people when certain stages are reached. Notifications are simple messages that can be triggered from any node in your decision tr...

Webhooks: Troubleshooting
If your webhooks aren't working as you expect, please check the following: Note that webhooks are called before the node appears. Make sure the URL for your webhook is accessible; it must be able...

Time / Date / Timestamps
This timestamp webhook sets a variable that you can use in any part of your decision tree, format it in a variety of ways, and even perform logic operations on it. Example uses: Display the day of...

Webhooks: Data Exchange via 3rd Party URLs
You may have a need to exchange Zingtree data with other applications. Some customers want to send data from a Zingtree session to another application or include data from another application in Zi...

Reformat Dates
Zingtree has built a handy webhook where you can reformat a date to a new format. You just need to add a new Webhook and install it into the node where you want the calculation to take place. Here'...