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


August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Power Automate Community User Group Member Badge

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

Top Kudoed Authors
Users online (4,198)