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 / Custom Connector: Coll...
Power Apps
Unanswered

Custom Connector: Collection/Table from JSON?

(0) ShareShare
ReportReport
Posted on by 8

I'm using the Twilio Lookup API that returns a small amount of JSON like that below. What I'd like to do is add a button that will convert the JSON to a single record in a collection.

 

{
"phone_number": "+15551231234",
"validation_errors": [],
"call_forwarding": null,
"sms_pumping_risk": null,
"url": "https://lookups.twilio.com/v2/PhoneNumbers/+15551231234",
"calling_country_code": "1",
"live_activity": null,
"sim_swap": null,
"caller_name": null,
"national_format": "(555) 123-1234",
"country_code": "US",
"line_type_intelligence": {
"mobile_network_code": "010",
"carrier_name": "Verizon Wireless",
"error_code": null,
"mobile_country_code": "310",
"type": "mobile"
},
"valid": true,
"identity_match": null

}

From what I understand, the ParseJSON function should be able to do it, but I can't seem to get it to work. Even when trying to tweeze out a single field, it doesn't seem to work. The code below keeps trying to add an empty record.

 

Set(varJsonTest,{ field: Text( ParseJSON( TwilioLookUp.lookup("+15551231234",{Fields:"line_type_intelligence"}).phone_number) ) })

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard