Sync CSV data from Box to NetSuite

Document/FileData ParserRecipe Tools

What it does

When a new or updated CSV file lands in Box with 'sweep' in the name, this automation downloads and parses it into structured data. It creates a main list with nested address items and logs results to a job report.

Who it's for

Finance teams who need to import CSV data from Box into NetSuite without manual formatting.

How teams use this

Import customer addresses from Box

Download a sweep CSV from Box, parse it into a main list with nested address records, and log the import summary. The team gets a report of what was processed.

Route parsed data to NetSuite

Extend this automation to send the structured main list and address sub-arrays directly to NetSuite after parsing. Add a NetSuite create records step after the log.

Monitor multiple Box folders

Retarget the trigger to watch different Box folders for sweep files, so multiple teams can use the same parse and log flow. Only the source folder changes.

How it works

  1. Monitor Box for CSV files. Watch for new or updated CSV files in Box where the name contains 'sweep'. When found, the automation starts and downloads the file contents.
  2. Parse CSV into structured rows. Parse the downloaded CSV file using Csv Parser into an array of rows so each line becomes a data object ready to process.
  3. Build nested address list. Loop through each parsed row and accumulate address items into a sub-array, then add the complete structure to the main list for processing.
  4. Log results to job report. Record the outcome of the parse and list creation to a job report in Box so someone can verify the data was structured correctly.