As you can guess, they are almost the same but the first one requires only one parameter, that is why I would prefer it, also it can return ID of the created item so in our case it would be very useful because we will use this ID at the last step of the workflow.

You may be noticed that I specified relative URL to the library and I used Current Item ID as a variable, so the workflow action will create a folder with current item ID. If you need create a nested folder just specify it, as example /sites/test/u1/Shared Documents/SomeFolder1/SomeFolder2/AdditionalFolder.

Let’s move on, now we need to copy attachments to our folder, to do this we will use Copy Attachment to URL workflow action.

As you can see I specified the same URL as Destination folder URL. Additionally, I want to mention that current workflow action doesn’t work cross-site, so please be careful if you need to copy attachments cross-site you need to copy it to a document library and then move it to another site or site collection.