cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow-excel-auto email

Hi,

 

i am very new to flows,

 

i am working on calibration tracker. i have my excel file stored in onedrive business, i want my excel/ flow to send an email to the respective owners email id when calibration approaches its calibration due date.

 

table.PNG

 

Appreciate step by step support to get it done. Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous 

 

That is because the excel connector converts the date data type to an integer. You need to select all the column with the data in excel and convert it to plain text and use the expressions of format date time. 

 

Or else, use the workaround mentioned here for the date time dataype issues with excel: https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/10-MS-Flow-hacks-troubleshoots-workarounds-that-might-help-you/ba-p/364376

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3

Hi @Anonymous 

 

You can try the flow below: gre.PNG

This Flow will run every day and get rows from teh excel sheet. Compare the two columns and check if the current date is greater than the next due date -7 days and sends an email. 

 

Expressions:

1. On the left side of the conditon: 
formatDateTime(utcnow(),'dd-MM-yyyy')
2. On the right side: 
adddays(formatdatetime(items('Apply_to_each')?['Column3'],'dd-MM-yyyy'),-7)

Replace column 3 with the column name of your excel. Ensure that the excel columns and data are formatted as plain text. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Anonymous
Not applicable

Hi @yashag2255 

 

Thank you so much it worked well. but i have used excel column in condition and all my excel columns are formatted as text. when i receive mail the date is in text format only. can you please help me with this?

 

condition.PNGdate.PNG

 

 

Hi @Anonymous 

 

That is because the excel connector converts the date data type to an integer. You need to select all the column with the data in excel and convert it to plain text and use the expressions of format date time. 

 

Or else, use the workaround mentioned here for the date time dataype issues with excel: https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/10-MS-Flow-hacks-troubleshoots-workarounds-that-might-help-you/ba-p/364376

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

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 (6,029)