Send a Reminder Before Expiration
Email a license or permit holder a set number of days before their expiration date, and move the record to Expired on the date itself. This example uses a Contractor License.
Prerequisites
- A Contractor License entity with an Expiration Date field, a Status dropdown (including Active and Expired), and a Holder Email field.
- A role with Automation Create and Edit permissions.
Steps
Create the automation
Click Add Automation and name it "Contractor License - Expiration reminder".
Trigger when the license is created
Choose When record is created, Entity selection Contractor License. Each new license starts its own run that waits for that license's date. If your process fills in the expiration date after the license is created, use When record is updated with Watching Fields Expiration Date instead.
Wait until 30 days before
Add Wait Action: Wait Mode Date Field, Record Id the trigger's Record ID, Date Field Expiration Date, Offset Direction Before, Offset Days 30, Execute at type At a Specific Time, Execution Time 09:00, Verify on wake on.
Check the license is still active
Add IF/ELSE Conditions with an IF branch Status is Active, so licenses already renewed or revoked do not get a reminder.
Send the reminder
In the IF branch, add Send Email to + Holder Email, with the expiration date inserted in the message and a Public form link to your renewal form.
Mark it expired on the date
After the email in the same branch, add another Wait Action with Offset Direction On and Execute at type At Midnight, then an Update Record setting Status to Static Expired.
Test with short waits
In a test environment, temporarily use a Fixed Duration of a few Minutes for each wait, confirm the run reaches each step, then switch back to the date settings and publish.
Example
| Step | Setting | Value |
|---|---|---|
| Trigger | When record is created | Contractor License |
| Wait Action | Date Field, Before | 30 days, 09:00, Verify on wake on |
| IF/ELSE Conditions | IF | Status is Active |
| Send Email | To | Holder Email; renewal form link |
| Wait Action | Date Field, On | At Midnight |
| Update Record | Status | Expired |
What happens on renewal
With Verify on wake on, when staff change the Expiration Date the waiting run is cancelled and rescheduled for the new date, so the holder is reminded about the new date instead of the old one. When you test, change a test license's date and confirm in Run history that only one run is still waiting.
Alternative: a scheduled sweep
For a periodic job that is not tied to one record's date, use At a scheduled event (for example Days, every 1 day at 06:00), then Find Records with fixed conditions (for example Status is Pending Payment), then a Repeating Group that sends an email or updates each found record.
Common mistakes
- Using When record is created when the expiration date is filled in later. The wait has no date to wait for; use When record is updated watching Expiration Date.
- Turning off Verify on wake, so renewed licenses still get a reminder for the old date.
- Skipping the active-status check, so revoked licenses get renewal reminders.