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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to extract JSON fo...
Power Automate
Answered

How to extract JSON format string from a sharepoint list column

(0) ShareShare
ReportReport
Posted on by 277
There is a SharePoint list with one of string column holding a JSON format string.
Here are the fields: 
ID, Title, JSONText
 
The JSONText have a JSON value like below:
[{"Project":"Project X","Task":"Task Y","Total":20}]
 
I understand Power Automate provide "Parse JSON" action to break down JSON into values by providing the JSON schema. 
 
However, how can I get "each sharepoint item", "break down JSONText value to multiple values", then return a table like this:
ID, Title, Project, Task, Total
 
We have about 1000 items in SharePoint list. So I would like to avoid using "For each" loop unless it is the only approach.
 
My final action is export above table to a CSV file. Could you please give me some idea? Thank you.
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    12,978 Super User 2025 Season 2 on at
    If your JSON data is always formatted as shown above and only the values for project, task and total change, do the following:
    1. Initialize an array variable.
    2. Follow it with a Parse JSON action and create the scheme from the sample data above.
    3. You will then be able to access the values from the dynamic content.
     
    I do have a concern about setting the variable from the SharePoint field, but if it returns exactly what you showed, I think you should be okay. I asked Copilot, and it agrees that as long as your SharePoint list returns the data as shown, it should work.
     
    This is the result of running the flow with your data:
    Don't worry about it putting it into an apply to each action. Since you only have one row of data, it will be fine.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard