Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Saving Email Attachments to SharePoint

(0) ShareShare
ReportReport
Posted on by

I can't find a solution to this anywhere so hoping someone can help! 

 

Trying to save documents daily into a SharePoint folder, but I need it to create it's own sub folders for Month and Date...

 

Example: *.sharepoint.com/DailyReporting/09 - 2017/09-10-2017/FILE.xlsx

 

I'm stuck here... 

FlowSnip.PNG

 

Side Note: If anyone can help me with the Received Time in the File Name, to show more user friendly, let me know...

Changes From Yesterday - 2017-10-21T09_04_13 00_00.xlsx

  • v-yamao-msft Profile Picture
    on at
    Re: Saving Email Attachments to SharePoint

    Hi OptimisticNate,

     

    Currently there is no available action can be used to create folder or subfolder in SharePoint, while we could create file in SharePoint library.

     

    If you are familiar with Custom API, you may consider to use the Folder Rest API to manager the folder creation.

     

    Please check this documentation for a reference:
    https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest

     

    Besides, I have seen similar request at Flow Ideas Forum, you could also consider to vote the idea at here:
    https://powerusers.microsoft.com/t5/Flow-Ideas/Sharepoint-Create-Folder/idi-p/19088

     

    I will help collect and report it on my side. PGs will take popular ideas into consideration, hope it can be released in the future releases.

     

    About the time format, you may consider to use formatDateTime function to format it. Please check the function at here:
    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language


    Best regards,
    Mabel Mao

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >