cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JVR652
Regular Visitor

automated emails from data in excel

Hello, 

 

I am new to Power Automate and would like to know if it is possible to create a flow that will send automated emails based on data from an Excel spreadsheet. More specifically, I would like the emails to be automatically sent 4 months before the expiration date listed in one the rows of the table. 

If this function is possible, an example would awesome!

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Community Support
Community Support

Hi @JVR652 

According to your description, you want to send an email reminder 4 months before the due date.

Because Flow has no function to add months, so suggest that you change it to 120 days.

I set up a simple flow, you can take a try with the screenshots below.

This is my test excel.

vLilyWmsft_1-1634628366427.png

Flow in details:

vLilyWmsft_5-1634628629312.png

Expression1:formatDateTime(items('Apply_to_each')?['Deadline'],'yyyy-MM-dd')

Expression2:addDays(utcNow(),120,'yyyy-MM-dd')

vLilyWmsft_2-1634628409793.png

Expression:formatDateTime(items('Apply_to_each')?['Deadline'],'yyyy-MM-dd')

vLilyWmsft_3-1634628477116.png

After flow runs, Test2 will receive an email like this:

vLilyWmsft_4-1634628538419.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
PrasadAthalye
Super User
Super User

Refer this post

 

https://powerusers.microsoft.com/t5/Building-Flows/Building-flow-to-send-an-email-once-reminder-date...

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community
v-LilyW-msft
Community Support
Community Support

Hi @JVR652 

According to your description, you want to send an email reminder 4 months before the due date.

Because Flow has no function to add months, so suggest that you change it to 120 days.

I set up a simple flow, you can take a try with the screenshots below.

This is my test excel.

vLilyWmsft_1-1634628366427.png

Flow in details:

vLilyWmsft_5-1634628629312.png

Expression1:formatDateTime(items('Apply_to_each')?['Deadline'],'yyyy-MM-dd')

Expression2:addDays(utcNow(),120,'yyyy-MM-dd')

vLilyWmsft_2-1634628409793.png

Expression:formatDateTime(items('Apply_to_each')?['Deadline'],'yyyy-MM-dd')

vLilyWmsft_3-1634628477116.png

After flow runs, Test2 will receive an email like this:

vLilyWmsft_4-1634628538419.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thank you! Works perfectly 👍

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,016)