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 / Power Automate Desktop...
Power Automate
Answered

Power Automate Desktop missing json resolving operation and python module issue

(1) ShareShare
ReportReport
Posted on by 9
I'm trying to parse json with Power Automate Desktop. When searching for ‘json’ in the operation search bar, there are only two options: "Convert json to a custom object/Convert a custom object to json".I couldn't find any other available json parsing operations. So I tried to use python script to handle json and the results confirm that the json module also missing in the Automate internal module. who guys can help on this~ I have updated the version to the latest...
I have the same question (0)
  • Verified answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at
     
    You can Parse Jon in Power Automate Desktop using the Convert JSON to custom object action and allows you to work with its content using dot or dictionary-style syntax as shown in below image.
     
     
    If you still want to go with Python,instead of using Run Python script use Run Powershell script action. save the python code as .py file and invoke that python code using Run Powershell script action as shown in below image.
     
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
    Thanks & Regards
    Vishnu Reddy
  • Verified answer
    Riyaz_riz11 Profile Picture
    3,971 Super User 2025 Season 2 on at
    Hi,
     

    1. Set JSON string as a variable

    Use the Set Variable action:

    • jsonText = '[{"id":1,"name":"John"},{"id":2,"name":"Jane"}]'

    2. Convert JSON to Custom Object

    Use the action: Convert JSON to Custom Object

    • Input: jsonText

    • Output: parsedJson

    3. Loop through the parsed object

    Use a For Each action:

    • Value to iterate: %parsedJson%

    • Current item: currentItem

    4. Access data in loop

    Use expressions like:

    • %currentItem["id"]%

    • %currentItem["name"]

      If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
      Regards,
      Riyaz

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 225 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 184 Super User 2025 Season 2

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard