Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Pass JSON object from Power Automate to PowerApp

(0) ShareShare
ReportReport
Posted on by 54

I'm using a Power Automate Flow to create data in another system with a custom connector. After creating the data I have to pass the response of the custom connector as a JSON object. 
This works, if I define a Response Body JSON Schema.
But since I don't know, how the response looks like (it can be an error with many different versions or success with the created object), I can't define a fix response body. Is there any way to define the schema dynamically? 
Or any other alternative way to pass JSON object to the PowerApp?

 

Thanks.

 

selimdag_0-1659713379108.png

 

  • Re: Pass JSON object from Power Automate to PowerApp

    Hi @selimdag ,

     

    Unfortunately, we can't set the json schema dynamically because powerapps is staic.

    Here is my suggestion:

    1\ Pass Json string instead of object/array to powerapps and use split function to create tables in powerapps.

    2\ Custom response when an error occurs in the api. The format of the json should be the same as the api succeeds.

     

    Best Regards,

    Wearsky

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard