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 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:
I have the same question (0)

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard