Write to Binary - add line EOF

Hello.

I have a process that verifies data on server and return (line per line) data to a webhook. Its ok.

Now, to get more speed, I am trying to do it in local server and store results local.

  1. HTTP RESQUEST QURY
  2. Spreadsheet File
  3. Write Binary File

When i run it, each processed line results in a new CSV file.
How to add line at EOF in same file?

Regards

Welcome to the community @Marcelo_C!

There two ways to do that which spring immediately to mind are:

  1. Read the existing CSV file first, then append the data and then write the full file out again
  2. Use an Execute Command node and add lines manually via echo (command: echo "value1,value2,value3" >> test.csv) ← Will be the faster way and will eat up the least amount of memory
2 Likes

Thanks Jan!
I took option 2!

You are welcome. Have fun!