web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / CSV Parsing to Excel F...
Power Automate
Unanswered

CSV Parsing to Excel File: Working with delimiters?

(0) ShareShare
ReportReport
Posted on by 175

Hi all,

 

I've got a flow that picks up a .CSV file from a folder and reads the contents. I was able to use split() to parse the contents by the tab delimiter. So now it looks a little something like this:

 

[
  "Order",
  "Sales Order",
  "Sales Order Item",
  "Order Quantity",
  "Root position",
  "Material",
  "Material Description",
  "Basic Start Date",
  "Basic Finish Date",
  "Scheduled Finish date\n100623",
  "60128010",
  "2000",
  "1",
  "2000",
  "682400550",
  "S-Series",
  "03/25/2020",
  "03/26/2020",
  "03/25/2020\n100624",
  "60128010",
  "3000",
  "1",
  "3000",
  "682400550",
  "S-Series",
  "03/25/2020",
  "03/26/2020",
  "03/25/2020\n100625",
  "60128010",
  "2025",
  "1",
  "2000",
  "682400551",
  "S-Series Armset",
  "03/25/2020",
  "03/26/2020",
  "03/25/2020\n100626",
  "60128010",
  "3025",
  "1",
  "3000",
  "682400551",
  "S-Series Armset",
  "03/25/2020",
  "03/26/2020",
  "03/25/2020\n100744",
  "60129132",
  "2025",
  "2",
  "2000",
  "682400551",
  "S-Series Armset",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n100745",
  "60129132",
  "6025",
  "2",
  "6000",
  "682400551",
  "S-Series Armset",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n100746",
  "60129132",
  "10025",
  "2",
  "10000",
  "682400551",
  "S-Series Armset",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n100747",
  "60129132",
  "13025",
  "2",
  "13000",
  "682400551",
  "S-Series Armset",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n100748",
  "60127439",
  "19000",
  "3",
  "19000",
  "682400550",
  "S-Series",
  "03/23/2020",
  "03/26/2020",
  "03/25/2020\n100749",
  "60127439",
  "19025",
  "3",
  "19000",
  "682400551",
  "S-Series Armset",
  "03/25/2020",
  "03/26/2020",
  "03/25/2020\n101154",
  "60127937",
  "9000",
  "2",
  "9000",
  "P39192",
  "ASM, CEILING MOUNTED JUNCTION BOX",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101499",
  "60128523",
  "76000",
  "1",
  "76000",
  "P35773",
  "KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
  "03/24/2020",
  "03/25/2020",
  "03/24/2020\n101500",
  "60128523",
  "77000",
  "1",
  "77000",
  "P35773",
  "KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
  "03/24/2020",
  "03/25/2020",
  "03/24/2020\n101501",
  "60128523",
  "78000",
  "2",
  "78000",
  "P35773",
  "KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
  "03/24/2020",
  "03/25/2020",
  "03/24/2020\n101502",
  "60128523",
  "83000",
  "2",
  "83000",
  "P35773",
  "KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
  "03/24/2020",
  "03/25/2020",
  "03/24/2020\n101503",
  "60128646",
  "1000",
  "2",
  "1000",
  "682400550",
  "S-Series",
  "03/31/2020",
  "04/01/2020",
  "03/31/2020\n101504",
  "60128646",
  "2000",
  "2",
  "2000",
  "682400550",
  "S-Series",
  "03/31/2020",
  "04/01/2020",
  "03/31/2020\n101505",
  "60128646",
  "1025",
  "2",
  "1000",
  "682400551",
  "S-Series Armset",
  "03/31/2020",
  "04/01/2020",
  "03/31/2020\n101506",
  "60128646",
  "2025",
  "2",
  "2000",
  "682400551",
  "S-Series Armset",
  "03/31/2020",
  "04/01/2020",
  "03/31/2020\n101517",
  "60127439",
  "22000",
  "3",
  "22000",
  "682400550",
  "S-Series",
  "03/21/2020",
  "03/26/2020",
  "03/25/2020\n101518",
  "60127439",
  "22025",
  "3",
  "22000",
  "682400551",
  "S-Series Armset",
  "03/24/2020",
  "03/26/2020",
  "03/25/2020\n101534",
  "65012345",
  "2000",
  "1",
  "2000",
  "P38549",
  "OUTLET, ASSY, BEACON MEDAES CHEMTRON VAC",
  "03/21/2020",
  "03/26/2020",
  "03/24/2020\n101537",
  "65012412",
  "1000",
  "1",
  "1000",
  "5000871",
  "Platform Control Kit, Brakes, Up/Dn",
  "03/23/2020",
  "03/27/2020",
  "03/25/2020\n101666",
  "60128272",
  "1000",
  "3",
  "1000",
  "CH00000001",
  "CHROMOPHARE",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101667",
  "60128272",
  "3000",
  "3",
  "3000",
  "CH00000001",
  "CHROMOPHARE",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101668",
  "60128272",
  "1050",
  "3",
  "1000",
  "CH11000000",
  "Ceiling Mount",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101671",
  "60128272",
  "1100",
  "3",
  "1000",
  "CH13000000",
  "Horizontal Arm Group",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101672",
  "60128272",
  "3075",
  "3",
  "3000",
  "CH13000000",
  "Horizontal Arm Group",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101675",
  "60128272",
  "1175",
  "3",
  "1000",
  "CH20020000",
  "Lighthead",
  "03/17/2020",
  "03/17/2020",
  "03/17/2020\n101676",
  "60128272",
  "3150",
  "3",
  "3000",
  "CH20020000",
  "Lighthead",
  "03/17/2020",
  "03/17/2020",
  "03/17/2020\n101677",
  "60128272",
  "1225",
  "3",
  "1000",
  "CH61000000",
  "Wallcontrol Box",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101678",
  "60128272",
  "3200",
  "3",
  "3000",
  "CH61000000",
  "Wallcontrol Box",
  "03/16/2020",
  "03/17/2020",
  "03/16/2020\n101679"....and so on.

As you can see, it's split up every element into an individual row. The new line delimiter exists here ("\n") and I haven't done anything with that yet. Am I able to use these contents to create a JSON table? I'd like to able to use this data to insert into a SQL server. 
 
Thanks,
Farhan
Categories:
  • efialttes Profile Picture
    14,756 on at

    Hi!

    Did we met before? Anyway, I would suggest to implement this alternate strategy

    https://sergeluca.wordpress.com/2018/10/28/microsoft-flow-advanced-tutorial-creating-a-csv-converter-from-scratch/

    Hope this helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard