Calculate a date in the future given a starting date and number of days.
in: date, days
return variable: date_plus
- Add this webhook URL to My Apps:
- Collect a date with the variable of #date#
- Collect a number of days with the variable of #days#
- The return variable of the number of days from the date is #date_plus#
If you do not want to collect the number of days, instead set a value for the number of days in the URL to always use in the calculation (replace 30 with your number):
Attach your webhook to a node that follows the data collection. To display the result in the content, use the return variable of #date_plus#.
reformats a date to a new format
in: date, format, var
return variable: The variable named in the var parameter
calculate the number of days between dates
in: date1, date2, var
return variable: the variable name in the var parameter
Add days BUSINESS days to a date, and return the variable as new_date. This ignores weekends and holidays
in: date, days
return variable: new_date
Determine the number of days from today for a given date
return variable: days_from_today
date to age
given a birthdate, returns the age of a person born on that date
in: date, result
return variable: The variable named in result.
Other Utility Webhooks
returns data send into the webhook. Useful for debugging or learning more about how webhooks work.
return variables: whatever was passed into the webhook
Adds line breaks to multi-line text variables
in: the current session - specify as #session#
return variables: All variables in the current session, adding line breaks.
webhook to return a random number - used for verification. Specify the number of digits (4 is default)
return variable: random_number
- Webhooks: Data Exchange via 3rd Party URLs
- Concatenating Text Variables
- Formatting Currency
- Lookup Tables
- Math Operations