# Iterating through csv formatted string

**URL:** <https://community.make.com/t/iterating-through-csv-formatted-string/89016>\
**Category:** Questions\
**Tags:** csv, scenario, mysql\
**Created:** [August 7, 2025, 11:38am UTC](https://community.make.com/t/iterating-through-csv-formatted-string/89016 "2025-08-07T11:38:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Admirlj](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Admirlj](https://community.make.com/u/Admirlj)\
**Post date:** [August 7, 2025, 11:38am UTC](https://community.make.com/t/iterating-through-csv-formatted-string/89016/1 "2025-08-07T11:38:07Z")

</div>

Hi  
I want to write the contents of a csv file to a SQL table, and I need to iterate through each row in the csv and write it row by row. Is there a way to iterate through a csv formatted string and do this?

The string is in the format:

column1;column2;column3;column4;column5;column6;column7;  
value;value;value;value;value;value;value;  
value;value;value;value;value;value;value;  
value;value;value;value;value;value;value;

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/d/8da9bdbfcba7cf8e8cb5e0aa8efd596400f650e1.png)

I need a module that iterates throught the parsed csv so that I can insert it into the SQL table. I need to do this since I can only insert values from the first row of the CSV, the other ones are inaccessible:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/7/37c758f90599ff999e2d90d4ce21e97eff4b2d14.png)

---

<div class="post-metadata">

**Author:** ![Admirlj](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Admirlj](https://community.make.com/u/Admirlj)\
**Post date:** [August 7, 2025, 12:33pm UTC](https://community.make.com/t/iterating-through-csv-formatted-string/89016/3 "2025-08-07T12:33:20Z")

</div>

There’s no other module that lets me write to the SQL server other than the one in my screenshot, and since it takes the value of a single cell for each column, I suspect that I need to loop through the rows in the CSV and insert the cells for each iteration

---

<div class="post-metadata">

**Author:** ![damato](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/damato/32/78329_2.png) [@damato](https://community.make.com/u/damato)\
**Post date:** [August 26, 2025, 1:51pm UTC](https://community.make.com/t/iterating-through-csv-formatted-string/89016/4 "2025-08-26T13:51:26Z")

</div>

Hi @Admirlj

The Parse CSV module is an iterator itself. It will return a bundle for each row read. Then the module(s) after the Parse CSV will execute once for each bundle (row parsed).

Just map the DB fields to the colum names.

@damato

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [November 24, 2025, 2:57pm UTC](https://community.make.com/t/iterating-through-csv-formatted-string/89016/5 "2025-11-24T14:57:04Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


