cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
juresti
Level 8

parse JSON for custom connector with no dynamic fields

I found myself having difficulty "discovering" the fields from my custom connector.

 

The api I am using does not appear to have their dictionary set up so that flow can get the field columns dynamically.

 

As a result I thought it was not possible, however I found that dynamically is not possible but with parse JSON it is.

 

I had tried parse JSON with no luck, except this time I tried something different I pressed the link "use sample payload to generate schema..." under the text box.

 

It is not clear on the interface that pasting into the box and pressing the link to generate the schema are two different methods.

 

I figured pasting the payload JSON would figure out the schema but it was not so, you have to click the link.

Anyhow I can get my fields now, makes it much easier for anyone else who also needed help with this:

 

pic11.PNG

 

pic12.PNG

 

 

1 REPLY 1
Community Support Team
Community Support Team

Re: parse JSON for custom connector with no dynamic fields

Hi @juresti ,

 

I am glad that your question has been resolved and thank you for sharing. Basically, when using Parse JSON action, the set of sample responses is populated in the location of the diagram to automatically generate the schema.

3.PNG

In this way, it is convenient to refer to the data in JSON response through Dynamic content in the following action.

For more instructions, please refer to the following blog:

http://johnliu.net/blog/2018/6/a-thesis-on-the-parse-json-action-in-microsoft-flow

https://flow.microsoft.com/en-us/blog/five-services-json-http/

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,130)