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
yashag2255
Dual Super User II
Dual Super User II

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!

View solution in original post

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 (1,775)