Hello 🙂
I want to create a flow that reads a .json file and inserts the data into a SharePoint list. Each data read in the .json file must be inserted in the respective column of the SharePoint list. My json follows this structure:
I created a Parse JSON that can capture my JSON schema correctly, but how do I make the flow read directly from the .json file? And how do I insert this data read into a SharePoint list?
Solved! Go to Solution.
@Anonymous
You need to add the Parse JSON and then create an item in the List.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hello @Anonymous
You will need a place for this JSON file to be stored. Where is this JSON coming from?
Proud to be a Flownaut!
@Anonymous I assume you have the JSON file in a datasource consider SharePoint.
My solution:
Formula 1 - base64(outputs('Get_file_content_using_path')?['body'])
Fomula 2 -base64ToString(outputs('Compose'))
Note: Get File Content using Path - I have set Infer Content Type NO
Test -
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Thanks for the quick response, @CFernandes
This example you created works very well! But how do I insert this data read from JSON into a SharePoint list?
@Anonymous
You need to add the Parse JSON and then create an item in the List.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
This was helpful. Thanks
when my json is converted from base64tostring , all values are surround by \ \
[{\"id_user\": 1636, \
could you guys please help?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
29 | |
28 | |
28 | |
20 | |
11 |