Showing results for 
Search instead for 
Did you mean: 
New Member

email notification 30 days before expiration date

Hi all, 


Goal: receive an email notification 30 days before the expiration date. 

So, I've created a column "Expiration Date", and I want to trigger the email only for those items which will expire within 30 days. And I need the flow to check this every single day, but only send emails 30 days before for those items that match this rule. 


I have the following: 










addDays(utcNow(), -30)






Unable to process template language expressions for action 'Condition_2' at line '1' and column '15047': 'The template language function 'less' expects two parameter of matching types. The function was invoked with values of type 'Null' and 'String' that do not match.'.



I'm totally not an expert on this. Could someone please help me? 


Many thanks!



Super User
Super User

Hello @AC8 ,

it would be better to filter the items directly in the 'Get items' using a Filter query than checking all the items. I wrote a post on building basic reminder flow that might help you to build such a flow.

[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,563)