Saving a file to the Library from a Run Script operation?

I would like to generate a CSV from some collection data and then upload that to a file stored in the library. For now I just know how to generate the CSV in the run script, but I don’t know how to do to save and upload a file. Can you guide me ?

Regards

Hey there,

The default runscript operation is very very limited and cant create/upload files.

The best way would be to create an extension for it.

Or is it possible to call the storage with a webhook action that takes the previously generated content ? how should we handle auth ?