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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copying and Sharing an...
Power Automate
Unanswered

Copying and Sharing an Excel File

(0) ShareShare
ReportReport
Posted on by 10

HI Power Users.

 

I believe my issue is fairly easy to solve. Here is how my flow works:

I am trying to automate submitting lunch orders to our HR department, by gathering the lunch orders from staff and emailing it to HR. I have a blank excel template (call it lunchtempplate.xslx) that I copy to another folder, create the link and share the link to that new copied file in the Team Chat where staff clicks the link to add their lunch orders, then email the file as an attachment to HR and delete the excel file at the end of the day. This occurs everyday.

 

I got this all working so far. My issue is:

- some users see the old data from the previous day when they click the share link. It seems there is some caching when the excel sheet gets opened in the Excel app on mobile OR Sharepoint doesn't like generating a new link for the same file name in the same location. I don't know. But I want them to get a new blank template to fill in.

 

But I am open to suggestions/workarounds/fixes from your expertise.

Thanks.

Categories:
  • Unknown geen idee Profile Picture
    1,757 on at

    Dear D,

     

    I know that my suggestion will likely involve some re-development, but I would use a FORM or PowerApp interface to gather input for the lunch orders. If you have gotten the excel input to work, FORM would not be any issue. PowerApp may be a step futher, but has more interface options.

    These 2 options would allow you to control the input better and any versioning/cache issues would not occur.

     

    Hope the suggestion helps,

    Happy flowing,

    Koen

     

  • dsilvera Profile Picture
    10 on at

    Hey Koen,

    Thanks for your feedback! I'm always looking on ways to improve it, so your ideas are really appreciated!

     

    1. What you do you mean by FORM? Do you mean use a FORM to collect the lunch data instead of the flow I'm using?

    2. Never knew what a PowerApp is but decided to search on it based on your recommendation. Pretty cool app! Will play with it some more and see how best it could fit with my flow.

     

    Just some background on the reason for my FLOW (since you provided some suggestions):

    The lunch menu comes in each day as an email to HR from our lunch providers, which then sends it out to staff. Staff then would fill out the excel sheet in Teams, with their name, and lunch order. And then the final excel sheet gets emailed to HR.

     

    My main goal here is to make life easier for HR to correlate all the orders together (instead of each staff member sending individual orders to HR) and for staff to easily submit their lunch orders.

     

    The excel sheet works for the most part, so HR just copies and paste the orders into 1 excel sheet and sends it to the lunch providers.

     

    PowerApp looks like it would give it a nice interface. Would just need to see how to get the data in there.

  • Unknown geen idee Profile Picture
    1,757 on at
  • dsilvera Profile Picture
    10 on at

    Thanks Koen. Getting the lunch menu into the form each day might be the biggest challenge with that (as the menu changes daily), but I appreciate the suggestion.

     

    As for my original query, I got it working.

    When copying the template, I renamed it with the date at the end of the file name using formatDateTime(utcNow(),'dd-MM'). That way it will be viewed as a new document each time it opens.

     

    And I delete the file at the end of the flow. It works.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard