Save as CSV and attach to email

Hi Team,

I want to do the following:

  • edit some data
  • save them as csv
  • attach the csv in an email and send it

Is this feasible? How would you achieve something like this?

I have been experimenting with various components, and for now I’m preparing the data.

Thanks a lot!

The first thing that comes to mind is to fill out a table, for example, in Google Sheets, and then download it using Google Drive links.

Another option is to create a document and convert it using a converter.

Or, you could try creating a document using JavaScript. I think with the latest update, it should be able to handle this.

Please describe your flow in more detail, so we can take a more objective look at the possibilities. :v:

1 Like

Thanks!

I was thinking JavaScript.

So, I use a webhook to bring the data in Latenode, and then JavaScript to clean up some things. It’s already in csv format, but not as a file

The idea is to make it a file and attach it in the email that I’m sending to the user, from the next node

Does this help?

Since JavaScript can now return binary files, I would suggest trying it that way. How complex are the tables you’re working with? If you don’t use the standard nodes for filling in the tables, I think it might lead to confusion in the data.

1 Like

Thanks for the answers. I will experiment with the different options

The data were already in csv format, about 7 columns

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.