# Writing to a file in csv format from input text

**URL:** https://discourse.nodered.org/t/writing-to-a-file-in-csv-format-from-input-text/56009
**Category:** Dashboard
**Tags:** node-red-dashboard, database
**Created:** [2 January 2022 19:13 UTC](https://discourse.nodered.org/t/writing-to-a-file-in-csv-format-from-input-text/56009 "2022-01-02T19:13:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![imanipourmeysam](https://avatars.discourse-cdn.com/v4/letter/i/838e76/32.png) [@imanipourmeysam](https://discourse.nodered.org/u/imanipourmeysam)
#### Post date: [2 January 2022 19:13 UTC](https://discourse.nodered.org/t/writing-to-a-file-in-csv-format-from-input-text/56009/1 "2022-01-02T19:13:54Z")

</div>

# Hi, I am trying to make a dashboard that save the input text into a file in CSV format, or append the data to an existing format. Here is my flow : [flows (1).json](https://discourse.nodered.org/uploads/short-url/uwX1gKhxYQGfHB6wtAzBse3977g.json) (4.8 KB)

the file will be like this :  
name1, familyname1, age1  
name2, familyname2, age2  
name3, familyname3, age3

I am very new to the programming and node red, if you could help me in this it would be appreciated.

thanks

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [3 January 2022 00:13 UTC](https://discourse.nodered.org/t/writing-to-a-file-in-csv-format-from-input-text/56009/2 "2022-01-03T00:13:07Z")

</div>

Duplicate post
