Writing to a file in csv format from input text

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 (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

Duplicate post