'Custom Connector ( JSON result convert into Paramters )

  1. List item

I am a newbie in the azure environment. I am getting JSON response from my custom connector but I need to convert that JSON into parameters so I can use these parameters in further actions Can anybody know how is this possible ?



Solution 1:[1]

You want to use these parameters in further actions but you don't mention which type it's stored.

1.Stored as string. In this way the whole json is a string, it's not supported to select property. So you need parse it to Json with Parse JSON action then you will be able to select property. About the Parse JSON Schema, just click the Use sample payload to generate schema and paste your json value, it will generate. And select your property just use the @{body('Parse_JSON')?['name']}, it will work.

enter image description here

enter image description here

2.If it's stored as an Object, just use expression variables('test1')['name'] to get it.

enter image description here enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Joey Cai