Hi thee , I have face this challenge some time ago , and this link have references , that may help you :
there are 2 ways : using newman or using nodejs as a post server , and some more few configuration steps.
opened 07:15AM - 16 May 17 UTC
closed 12:12PM - 18 May 17 UTC
feature
Recently I was challenged by a task to copy certain objects from prod database t… o staging. I managed to finish it using API calls. At the end, I had to inspect the response of the last request to collect ID of the newly created object. It worked fine for 5-10 object but when I am dealing with thousands of objects to copy I would love to create a file on my disk and make Postman append IDs to this file (and possibly other data along the way). It could be also a great way to create a file which I could then use in another collection.
Is it possible currently in Postman to have this reporting functionality?