cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Responsive Resident
Responsive Resident

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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (74,757)