Hi @Harmanpreet,
Could you please share a clear screenshot of your flow's configuration?
Further, could you please show more details about the JSON data that your custom connector returned?
Please check if you have provided proper Dynamics content from your custom connector within the "Insert row" action of your flow. If you want to retrieve data from a JSON data within Microsoft Flow, I have made a test on my side, please take a try with the following workaround:
- Add a Flow Button trigger.
- Add a Compose action, Inputs field set to following JSON data:
{
"ClassName":"Computer 131",
"TeacherName":"Andy Huang",
"TeacherEmail":"AndyHaung@xxxxxx.com"
}
- Add a "Insert row" action of Google Sheets connector, specify File and Worksheet, ClassName field set to following formula:
outputs('Compose')?['ClassName']
TeacherName field set to following formula:
outputs('Compose')?['TeacherName']
TeacherEmail field set to following formula:
outputs('Compose')?['TeacherEmail']
Note: The ClassName, TeacherName and TeacherEmail are keys within above JSON data that I provided. On your side, you should type the following formula to reference value from the JSON data that your custom connector returned:
outputs('CustomConnectorName')?['KeyInJsonData']
Image reference:
The flow works successfully as below:

More details about using expression in flow actions, please check the following article:
Use expression in flow actions
Best regards,
Kris