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 / How to convert CSV tab...
Power Automate
Unanswered

How to convert CSV table data output to JSON?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

csv data.png

 

Above image is the output of the CSV table. How can I convert it to JSON so I can parse it? Thank you!

Categories:
  • SCTdan Profile Picture
    604 on at

    Unfortunately Flow is still completely lacking the ability to work with CSV data in this manner.  Last I checked, this is about the only option- https://sergeluca.wordpress.com/2018/10/28/microsoft-flow-advanced-tutorial-creating-a-csv-converter-from-scratch/  

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So are you confirming that CSV data can only be converted if the values are declared and not the data on my screenshot which is from an external system? Thanks!

  • SCTdan Profile Picture
    604 on at

    Well, it can be, just not easily.  In cases where I need to work with csv data, I do whatever I can to convert it to a more usable format before it hits flow. Ideally you'd want to get the data in as JSON, or as an actual excel document with the data in a table.

     

    I suppose I should ask, are you meaning to fully automate this from your external system into flow?  Because you can use powershell to convert csv to json in a single command as an intermediary step.  

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, with Flow as much as possible cause this is the app that we use as bridge for data exchange of our two systems.

     

     

     

     

  • SCTdan Profile Picture
    604 on at

    Let's step back.  How are you getting the data into the flow, and how are you getting it into the csv table?   Can you post the flow up to that point?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    flow of to csv table.pngto csv table 1.pngto csv table 2.png

    Above are the pictures of my flow and the detailed flow.

  • SCTdan Profile Picture
    604 on at

    Based on that it appears you already have the JSON.  Your 'Parse items' step should be giving you the parsed JSON from the HTTP call.  I'm assuming you created the schema there by pasting in what you got from the HTTP call?

     

    Can you post the output from the HTTP call and the Parse items action?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    http output.pngparse items output.png

     

    My obective is to create a CSV table in Flow then make the API calls run multiple times in getting data on the created CSV table instead of getting the from the external system so I can reduce the number of API calls per day. Thank you.

  • SCTdan Profile Picture
    604 on at

    There's no need to put it into a csv table, you can work with the parsed JSON data as is.  

     

    What do you want to do with the data next?  We can go through an example of how to access it.

     

     

    edit:  Flow itself cannot store data between runs if that's what you mean.  Each time you call the flow, it's going to make the API call.  You would need to store the data externally (spreadsheet, sharepoint, etc) and reference it from the flow.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    csv table apply to each.png

     

    Originally, my flow after the parsed items would be a POST method that runs to each record and makes the API calls count for every record. I would like it to happen only once so the API call would count only one.

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 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard