Re: Flow to create document set when new Planner task added
@Brice235i
Use the when a task is created action as trigger for Flow
Then to create document set use the send an http request to sharepoint action as shown below

Uri - change contracts to your library name
Slug - change url based on ur site and library
Contract Name dynamic content - repalce it with value Title dynamic content - which will be available from the task is created trigger action
0x0120d5......
This is the content type ID
go to your library settings
Click on the content type - in the url you will get a param called cttype this will have the content type id
just copy it and add it to the Slug tag at the end after the | symbol
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.