If the list has been retrieved as a data table variable then there is an action for converting it directly to a CSV (Comma separated) file. Search in actions for CSV and use Write to CSV. If you input a data table it can do it without a loop.
Edited:
Correction - Join Text:
"Join text: Converts a list into a text value by separating its items with a specified delimiter"
"Join text (by delimiter-comma): List (containing Text1 and Text2) = Text1,Text2"
WarrenBelz
146,776
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional