Skip to main content
Community site session details

Community site session details

Session Id : FvdVpZDu2h4mjVHPH+g5Kg
Power Automate - Building Flows
Unanswered

Create a document set (with http request)

Like (0) ShareShare
ReportReport
Posted on 17 Oct 2019 11:13:45 by 40

Hello,

 

I want to create a document set (created my own content type with some columns) in a document library. Since it is (currently) not possible to create it via an action directly in flow (except with plumsail $$$) i want to use the http-request-action. I use the instructions from Karine Bosch:

https://karinebosch.wordpress.com/2018/11/08/microsoft-flow-create-a-document-set/

 

How do I need to configure it to also fill my columns, that I created on my own document-set-content-type?

  • wskinnermctc Profile Picture
    6,517 Moderator on 02 Mar 2023 at 14:25:22
    Re: Create a document set (with http request)

    Check out my instructions for how to create a Document Set using HTTP Request and the AddValidateUpdateUsingPath method. You can create the Document Set and apply metadata in a single step.

     

    https://powerusers.microsoft.com/t5/Building-Flows/Add-New-Document-Set-to-Document-Library-Using-HTTP-Request-REST/td-p/1978155

     

    https://www.linkedin.com/pulse/power-automate-add-new-document-set-sharepoint-library-skinner 

     

  • v-bacao-msft Profile Picture
    on 22 Oct 2019 at 02:46:02
  • AKRogers Profile Picture
    354 on 18 Oct 2019 at 12:11:40
    Re: Create a document set (with http request)

    Sure thing, you could potentially set up the metadata for the new Document set using the Body of the POST HTTP call.  I haven't specifically done it when using the Slug header to suggest the new URI of a Document Set, so I'd be interested to see how that works out.  

     

    Here's a related post with a very similar solution that you can map to your needs.  There is a great screenshot in there of the Body with parameters and __metadata being used:

     https://powerusers.microsoft.com/t5/Building-Flows/Send-an-HTTP-request-to-SharePoint-for-a-to-create-a-subsite/td-p/192166

     

    Cheers,

    Ashley

  • esemuhdeoh Profile Picture
    40 on 18 Oct 2019 at 11:13:02
    Re: Create a document set (with http request)

    Thank you @AKRogers

    that is one way you can do it. I thought that maybe it would be possible directly inside the http-request which I use to create the doc set...?

  • AKRogers Profile Picture
    354 on 18 Oct 2019 at 00:24:47
    Re: Create a document set (with http request)

    Hello!

     

    From what I understand in your post, you want to populate metadata on a newly created Document Set.  You can do this is the same Flow by passing the ID of the Document Set you created in a Get File (properties only) action against the library where the set is stored.  Once you get the file, you can add an Update file properties action against that Document Set, and update it the same way you would a document.  

     

    Take care!

    Ashley

     

    If this response provided an answer to your question please mark it as a solution.

    If you liked my reply, please give it a thumbs up! Thank you!

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete