web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can i access the e...
Power Automate
Unanswered

How can i access the excel desktop file & get the due dates from this excel file & send email alert

(0) ShareShare
ReportReport
Posted on by 4

i wanted to create a flow which access the excel file located in my system. the file has the equipments list and its calibration due dates. i want to send the email alert/notification to some ids if remaining due dates reach to 30 days. this is the one case, i want to create several others flows that are dependent on due dates but i am unable to create these flow as the excel triggers are not yet available.

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @Abid_81,

     

    Yes, currently there is no Excel trigger can be used. If you want to trigger a flow depends on if the remaining due dates reach to 30 days, you may try to use the trigger “Recurrence”.


    Then get rows from the Excel table. After the get rows action, use a Condition to check whether the due dates reach to 30 days.


    The flow could be configured likes below.


    The function in the Condition is:

    @equals(formatDateTime(items('Apply_to_each')?['When'],'yyyy-MM-dd'),formatDateTime(adddays(utcnow(),30),'yyyy-MM-dd'))


    Then when the date in the Excel table is equal to today plus 30 days, a notification would be sent.

    3.PNG

    More details about formatDateTime and adddays function, please check it at here:
    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

     

    This doc on the trigger Recurrence could also be your reference:
    https://docs.microsoft.com/en-us/flow/run-scheduled-tasks

     

    Please feel free reply if you need more help.


    Best regards,
    Mabel Mao

  • Abid_81 Profile Picture
    4 on at

    Thanks very much for the reply.

    kindly help on following points:

     

    • Flow is not working because i m getting error related to Gateway. After selecting Excel-Get rows action i chooses the 'File System' option (kindly help in this selection screen) i mentioned the file path of my system, Windows is selected in Authentication type, hotmail id(which i use to login my windows pc) in username, login password and leaves the gateway field without mentioned as im unaware about this. on next screen entered the file name, table name is not appearing (gateway error appearing) but I entered it manually and followed all the your instructions as mentioned but didn’t succeed due to Gateway error, i tried this on my home pc and at my work pc but same problem.
    •  How would this formula “@equals(formatDateTime(items('Apply_to_each')?['When'],'yyyy-MM-dd'),formatDateTime(adddays(utcnow(),30),'yyyy-MM-dd'))” get the ‘Due date’ column from the excel table, as I have two date columns 01 is Last calibration date and 02 is the next Due Date.

    Thanks & Regards.

    Abid

  • v-yamao-msft Profile Picture
    on at

    Hi @Abid_81,

     

    About #1, please make sure you have created a connection to File system properly.


    Please take this doc for a reference about how to connect to on-premise files system:
    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-using-file-connector


    Please also make sure the Gateway on your side is properly set up:
    https://docs.microsoft.com/en-us/flow/gateway-reference

     

    About #2, in the previous screenshot, I added a Condition in the flow. In basic mode, you are able to select the Due date from the dynamic content(if you really have a column named as Due date in the table). Then you would be able to use it in the function to check if the Due dates reach to 30 days. Please try it on your side. The doc on Workflow definition language could be a good reference for you.

     

    Best regards,
    Mabel Mao

  • anhthuch4ng Profile Picture
    on at

    Hi @Abid_81,

     

    Have you had a chance to apply @v-yamao-msft's suggestions to adapt your Flow?

    If yes and you find that solution satisfactory, please go ahead and mark this thread as "Solved". 🙂

     

    Happy Flowing,

    -AT (Community Admin)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard