Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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 Team
Community Support Team

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.
Level: Powered On

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


Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.


Flow Community User Group Member Badge

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


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 371 members 3,834 guests
Please welcome our newest community members: