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

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.



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

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,582)