I’m currently trying to set up an automation that only triggers during working hours, and ‘banks’ any non-triggered actions until the next working day. I.e. it only trigger between 9am and 5pm, and anything that would normally trigger it at 6pm is held until 9am the next working day.
I think I have a working solution, but would be interested to hear if anyone can think of anything better/simpler?
The context is a quality assurance process where an assessor completes an Airtable form, and when the form is submitted the assessee automatically receives an email with the results. Currently I have an email automation set up to just trigger when a new record is created (from the form).
My idea for how to limit the automation to working hours is:
- Create a new formula field (called “hour”) that returns HOUR(NOW())
- Create a new text field called “results sent?”
- Create a view called “automation” that is filtered to only include records where the Hour is between 9 and 16, AND records where “results sent?” includes ‘yes’
- Create an automation that:
- Triggers when records enter the “automation view”
- Sends assessee the results of their assessment
- Updates the “results sent?” field of the record to ‘yes’
I’m pretty sure this would work, although I haven’t tested it yet. Downsides are that everything would go out of sync by an hour during daylight savings time. It’s also more complicated/obtuse than a straightforward automation, and I’m conscious of not wanting to build things where only I know how they work.
Any ideas on better solutions?
Thanks so much!