Universal Delay Timer
Set a custom delay for any time you want. Trigger an API goal at any future date/time to continue a campaign. Execute an action even if a date is in the past. Store the current data and access it when the API goal fires, even if the data has been overwritten in the meantime.
How to use it
Post URL
http://theapiguys.com/scripts/pocket-developer/Blocks/UniversalDelayTimer/schedulecall.php
Required Parameters
App |
Your Infusionsoft application name Note: Your application name can be found in the URL used to access your Infusionsoft account. e.g. http://APPNAME.infusionsoft.com. |
callName |
The “Call Name” of the API Goal as specified within Campaign Builder. This should be something unique and should have no spaces in it. Note: Note: The “Integration Name” of the API Goal should always be your application name (as used for the appName field) |
date |
This field should contain one of the following:
Note: Only the date will be extracted from date/time values. Also, if you include a supported timezone code in your date value, please make sure it is using all capital letters (unless it’s an identifier), and that it appears as the last item in the date field. This will be overridden by any timezone values in the time or timezone parameters, if supplied. If no timezones are designated, assume that all dates are in Eastern Time as is the standard with Infusionsoft. |
Optional Parameters
time |
This field should contain one of the following:
Note: Only the time will be extracted from date/time values. Also, if you include a supported timezone code in your time value, please make sure it is using all capital letters (unless it’s an identifier), and that it appears as the last item in the time field. This will be overridden by any timezone values in the timezone parameter, if supplied. If no timezones are designated, assume that all times are in Eastern Time as is the standard with Infusionsoft. |
adjustment |
The “adjustment” field should provide a relative date/time format string that complies with the following documentation: http://www.php.net//manual/en/datetime.formats.relative.php. Some valid examples of this value are “+5 weeks” or “second month” or “last day of next month” or “yesterday noon” or “+2 hours” etc |
timezone |
When the date & time fields are not based on Eastern Time, the user may designate the appropriate originating timezone with any of the supported timezone codes/identifiers specified in the “Supported Timezone Codes” section. Note: Timezone abbreviations should always be in all capital letters, unless using identifiers. If no timezone is supplied, it is assumed to be Eastern |
convertToTZ |
In the event that the user would prefer to have a time automatically adjusted to some other timezone, they may supply a timezone code/identifier within this parameter following the same rules that apply to the timezone parameter above. Note: Adjustments made to the date/time with the “adjustment” parameter are made after the timezone conversion is completed. |
saveKeyTo |
|
groupName |
|
override |
|
Notes
contactId – required
appName – required
date – required
time
override
prefetch – for prefetching values from other tables
triggerApiGoal (or callName) – action
condition – use ‘this is that’ notation ie. FirstName = Kelsey – action
addTag – action
removeTag – action
setField – action
setFieldTo – qualifier
timezone – qualifier
until – condition
after – condition
adjustment – adjusts the date – directive
evenIfPast – executes actions even if date is in the past – condition
groupName – used for grouping calls directive
saveKeyTo – action