Help

Email automation trigger - x days before event

Topic Labels: Automations
1559 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Peter1
4 - Data Explorer
4 - Data Explorer

I have a calendar view and would like to send emails to the persons in one of the record’s fields. That is, if the value in the ‘Clerk’ field is Peter, I’d like to send an email to Peter. Additionally, I’d like to send emails 2 weeks prior to the event, 1 week prior to the event and then 2 days prior to the event. Is this possible?

1 Reply 1

Hey Peter!

Welcome to the Airtable community!

Yes, this is possible.

Assuming your Events table has an Event Date field, you need to create a Formula field in your Events table. Let’s label it Days Until Event

In the formula field, enter the formula

DATETIME_DIFF({Event Date}, NOW(),'days')

This will calculate the difference between the current date/time and the date of the event.

Now, be sure you have either a field with the Clerk’s name and another field with their email OR a Collaborator field. (you can have these fields in your Events table or you can have it another table as long as you use a linked record with a lookup field)

Add data in these fields inside the first record in your Events table to set up, test, and create an automation.


In Automations, create an automation where the Trigger is When record matches conditions

Select your Events table

Add a condition of When ‘Days Until Event’ = 14
or ‘Days Until Event’ = 7
or ‘Days Until Event’ = 2

-Test the trigger

For Actions, choose Send email

In the To field, find your email field and click Insert

In your subject, you can write whatever you want or you can use values from your table

In the Message field, you can use values from your field like:

Hey Person,

It’s Days Until Event days until Event Name!

-Test the action

2021-11-09_21h31_55

2021-11-09_21h33_30

2021-11-09_21h33_19

______________________________________
Hannah - On2Air.com - Automated Backups for Airtable