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 / Creating a data table ...
Power Automate
Unanswered

Creating a data table from elements of a JSON response

(0) ShareShare
ReportReport
Posted on by 96

Hi all,

 

My goal is to call an API from the Invoke Web Service call and, from the JSON response, extract certain elements that can be referenced in a data table. For this project, I'm calling a service that displays customer information. The call will return an array of customers, and I'm extracting a customer's name and ID (this part is complete). What I'd like to do is create a table that I can search a Name and pull their ID. From what I've seen lists are only index to value. I know you can create a table off of a SQL query or an Excel extract, but is there any way to create from a JSON object, a converted custom object, or some other way that I don't know of? Thanks.

I have the same question (0)
  • tkuehara Profile Picture
    667 on at

    Hi @IAQG 

     

    I don't think it's possible to create from a JSON object, but you can try creating a multidimensional array (list of lists) if that suits your needs.

    tkuehara_0-1625708652476.png

    The variable matrix will be kind of a data table:

    tkuehara_1-1625708713711.png

    Then you can access those values like %Matrix[0][0]% (for ID) and %Matrix[1][0]% (for name)

    I know this is not a data table per se but it's a similar approach. Also, please note it will only work properly in case all your "inner lists" have the same size (in the example above, both List1 and List2 have the same number of items).

  • IAQG Profile Picture
    96 on at

    Disappointing that there's no way to make an object outside of the previously mentioned methods, but I'll see if this method helps. I'll leave the post open for now in case another solution presents itself, otherwise I'll accept yours as the solution. Thanks for posting! I hadn't thought about doing it like that.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard