Event to schedule trigger API Call x amount of time before a booking date

Hi there, just wondering about the above- can timers be used in reverse? Eg to trigger an event and rule to send an email 2 days before an appointment? Or is there a different possible solution?

Thanks,

Peter

Hi Peter,

I’m not sure if there’s a way to do this with timers, but a way we’ve done it in the past is to use a composite that calculates the days between the current date and the target date, then use a subset that catches when this number is below the target number of days and fire a rule off the back of it being added to the subset.

Thanks,
Ewan

2 Likes

Hi Peter,

Ewan is correct here, the way to achieve this is to calculate your trigger then fire a rule based on added to subset.

When considering the subset, be mindful of your recalc priority as this will impact its success:

  • High - Recalculates every 5 minutes
  • Medium - Recalculates hourly
  • Low - Recalculates nightly (Between 2am and 3am)

Carl

Thanks Ewan and Carl, much appreciated!