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 / Create a document set ...
Power Automate
Unanswered

Create a document set (with http request)

(0) ShareShare
ReportReport
Posted on 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?

Categories:
I have the same question (0)
  • AKRogers Profile Picture
    354 on at

    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!

  • esemuhdeoh Profile Picture
    40 on at

    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 at

    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

  • v-bacao-msft Profile Picture
    on at
  • wskinnermctc Profile Picture
    6,519 Moderator on at

    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 

     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard