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
Highlighted
Dual Super User III
Dual Super User III

Re: Flow-excel-auto email

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
Highlighted
Dual Super User III
Dual Super User III

Re: Flow-excel-auto email

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!

Highlighted
Anonymous
Not applicable

Re: Flow-excel-auto email

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

 

 

Highlighted
Dual Super User III
Dual Super User III

Re: Flow-excel-auto email

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,559)