CSV Upload: Looping through multiple lines to POST in REST API

Hey,
So I'm trying to upload a CSV and POST multiple lines to my REST API.

The preview works fine as this is a single line.

However, I'm doing this:

  1. I'm guessing this doesn't work as there's no native way to iterate between the CSV's rows
  2. I'm guessing I'm going to have to create a for loop script to do this.

Right direction?

and I just answered my question -- Scripting Retool

Hey @toby! Awesome :slight_smile:

Just in case this is helpful, here's a quick community post on looping through some data/an array and triggering a query for each row/element!