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 Apps / Adding Row to Datavers...
Power Apps
Unanswered

Adding Row to Dataverse from Custom API Connector - parsing results

(0) ShareShare
ReportReport
Posted on by 1

I created a custom connector to gather data from the Google Search Console API. I was able to get results back and use the Apply to each to add data to a table I created in dataverse for most of the data. I'm having trouble with the structure of one of the fields. The keys field (see below) is actually a collection/array of 2 fields. 

 

 

  {

    "keys": [

      "https://domain.com/url1/“,

      “Keyword 1"

    ],

    "clicks": 635,

    "impressions": 8142,

    "ctr": 0.0779906656841071,

    "position": 4.996069761729305

  },

  {

    "keys": [

      "https://domain.com/url1/“,

      “Keyword 2”

    ],

    "clicks": 564,

    "impressions": 11221,

    "ctr": 0.05026289991979324,

    "position": 13.727118795116299

  }

]

 

I'm easily able to use Apply to Each and then create a row with the clicks / impressions / ctr / position but I'd also like to save the domain and keyword (the 2 elements in the keys). 

 

I tried to use the first/last expression but flow doesn't seem to let me use it for data that is returned from a custom connector. Any suggestions?

2021-09-16_07-34-28.jpg
Categories:

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard