Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How to read output of custom connector inside apply to each second action


I have implemented a custom connector which calls a REST API and generated json output.

I am using the connector in apply to each section and want to get the fields returned in the response API in second section of the action. But I am not able get the values in the field.



But in output I am receiving null value


Community Support
Community Support

Re: How to read output of custom connector inside apply to each second action

Hi @Harmanpreet,


Could you please share a bit more about your custom connector?

Could you please show more details about the response your custom connector returned?

Further, do you want to insert the output of the custom connector into your Google sheet?


Please check if you have specified proper File and Worksheet in your "Insert row" action. Please also check if the output your custom connector returned is proper. 


You could consider view the run history of your flow, then expand the "DataFetch" action (your custom connector) to see the output the custom connector returned. Check if the Dynamic contents the custom connector returned contains proper values.


In addition, please check if you have specified proper "x-ms-dynamic-values" OpenAPI extension within the OpenAPI for your custom connector. More details about the "x-ms-dynamic-values" OpenAPI extension, please check the following article:

"x-ms-dynamic-values"  OpenAPI extension


More details about customizing connector in Microsoft Flow, please check the following article:

Custom connector in Microsoft Flow 



Best regards,


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

Re: How to read output of custom connector inside apply to each second action



The response of custom connector is in json form as shown in attached image



Now I want to read and send this data on specified fields of google sheet such as Contact_FirstName.

The custom connector which I have created is using an already defined API.  I have used creating custom connector from scratch and didnot uploaded any extension file.

If any changes are required further please specify.

Helpful resources

Community Conference

Power Platform Community Conference

Come join us today! Find your favorite faces from the community presenting at the Power Platform Community Conference!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Kudoed Authors
Users online (3,622)