cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
juresti
Continued Contributor
Continued Contributor

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
v-bacao-msft
Community Support
Community Support

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (1,960)