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.
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