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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,061)