Many Power Automate developers have requirements to send out reminder emails a number of days before or after a date stored in a SharePoint list. For example, a list might have columns for Due Date, POC and Status. The requirement is to send an email to the POC one week before the due date if the item status is not complete. The following will explain how to meet this requirement.
Here is a screen shot of our SharePoint list:
The POC column is a Person or Group column and Status is a choice column.
I'll start my Flow with a recurrence trigger set to fire once a day.
Next, I'll use a SharePoint Get items action. My Get items action uses a Filter query.
Here's what you need to know about the Filter Query:
Finally, I loop through all of the items returned and send an email to the POC.
Here is my Flow from Top to bottom:
Please note that SharePoint stores all dates as UTC dates and you may need to account for your time zone.
For more information on using OData filters with Power Automate and SharePoint, see this blog post from Pieter Veenstra.