How to generate CSV or Spreadsheet for All tasks from all projects in Node.JS

I am going to export all tasks from all projects to CSV or Google Sheet using Asana Rest API in Node.JS
I can see there is an option to sync to google sheets in asana app, but cant sure this is the function what I am looking for.
I want to sync all tasks & subtasks from all projects to google spreadsheet by taskID.
Is there any API or sample code for this ?


Exporting all tasks from all projects is a complex process if you want to do it with the API. The easiest would be to use Bridge24 for Asana to do that.

all tasks from all projects