cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JVR652
Frequent 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
Community Champion
Community Champion

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.

Thank you! Works perfectly 👍

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (3,129)