# Automatically to write the response data to a file

**URL:** <https://community.postman.com/t/automatically-to-write-the-response-data-to-a-file/37912>\
**Category:** Help Hub\
**Created:** [August 5, 2022, 8:52am UTC](https://community.postman.com/t/automatically-to-write-the-response-data-to-a-file/37912 "2022-08-05T08:52:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [August 5, 2022, 1:22pm UTC](https://community.postman.com/t/automatically-to-write-the-response-data-to-a-file/37912/2 "2022-08-05T13:22:49Z")

</div>

Hi @skanavy

Have a search through the community posts, there is a lot of information on this available, for example;

* * *

> [@Save body results to a CSV or JSON file - using newman](https://community.postman.com/t/save-body-results-to-a-csv-or-json-file-using-newman/5861):
>
> Its possible to save the body results to a CSV or JSON file, using newman? [Capture] I want to save the results, just like the image. Thanks!

* * *

> [@How to download file while running collection runner?](https://community.postman.com/t/how-to-download-file-while-running-collection-runner/13080/12):
>
> It will only write one file if you run it on a collection with a single request.

* * *

> [@How to save String from json response to excel or csv file?](https://community.postman.com/t/how-to-save-string-from-json-response-to-excel-or-csv-file/15265):
>
> Hello Everyone Here, I am facing an issue related to saving String value from response body directly to csv file, actually I don’t know how to write a specific value from response body to csv/excel directly. My test script reads values from csv file and then compare with values in response body. Now I want to save some required string/int/any format values from response body and save directly in the same csv file/or in another sheet of same file. I can save required info into global/environme…

---

_[View the full topic](https://community.postman.com/t/automatically-to-write-the-response-data-to-a-file/37912)._
