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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint List to Exc...
Power Automate
Answered

SharePoint List to Excel & Email Distribution Help Needed!

(0) ShareShare
ReportReport
Posted on by 95

Hi,

I've built a PowerApp that allows users to submit data to a SharePoint list. Now, I'm looking to streamline the process with Power Automate.

 

Here's what I'm aiming to accomplish:

  1. Retrieve all items entered into the list for today's date.
  2. Transfer these items to an Excel document.
  3. Remove the transferred entries from the SharePoint list.
  4. Send the Excel document, preferably as a .csv, to a shared mailbox.
  5. Refresh the Excel file to clear entries for tomorrow's flow.

This will run at 12:01AM daily.

 

I'm struggling to get the attachment into the email. I'm also seeking assistance and suggestions for optimizing this workflow. Any insights or advice would be greatly appreciated.

 

Here's my current workflow:

AdHoc PA Submissions PowerAutomate Flow.png

AdHoc PA Submissions PowerAutomate Flow.png
Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @TarenBhutch 

    Add a Get file content action above the Email action to retrieve the content of the newly generated CSV.

    SudeepGhatakNZ_0-1718165197951.png

     

  • TarenBhutch Profile Picture
    95 on at

    Thank you for your suggestion. I noticed that I received the same email multiple times overnight. Could you please advise on how I can ensure I only receive it once? Additionally, the attachment was not in Excel format. Could you provide any suggestions regarding this issue?

    TarenBhutch_0-1718231360658.png

     

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @TarenBhutch 

    Most likely you have added the email action inside a loop, so you get emailed for each record.

    As for the second issue, you might just be missing an extension in the filename.

     

  • TarenBhutch Profile Picture
    95 on at

    Thanks for your feedback. 

    I am experiencing the below issues:

    1. Rather than receiving one email with all the rows in the Excel file, I am getting multiple. It seems to follow the pattern of the number of rows added is the number of emails I receive. It's important to mention that each email is identical, and the attachments of these emails all have the same data. How can I determine if this is due to a loop in the workflow? It is not explicitly shown in the current setup (see original attachment).
    2. Finally, I need to ensure the Excel file is cleared and ready for the next day.

    Any suggestions you have would be greatly appreciated.

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @TarenBhutch Refer the flow below. Just swap the Onedrive actions with the SharePoint ones.

     

    SudeepGhatakNZ_0-1718317021380.png

     

    SudeepGhatakNZ_2-1718317058175.png

     

    SudeepGhatakNZ_3-1718317079427.png

     

    SudeepGhatakNZ_4-1718317113522.png

     

    SudeepGhatakNZ_5-1718317156605.png

     

     

  • Verified answer
    TarenBhutch Profile Picture
    95 on at

    Thanks for your help @SudeepGhatakNZ !

     

    I managed to get the file to send through by making adjustments to my workflow as per the image attached.AdHoc PA Submissions PowerAutomate Flow v2.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard