Hello @tamta
I am looking at it, but I see value as the Object, so you would need that in there, not simply body as body isn't (at least what you shared), the Objects, Parent.
So when I take what you gave me and put that in a variable, for me to get the bodyPreview it looks like this.
Because I use my variable, and value is the parent, and there is ONLY 1 "value instance" so its [0] in the array and then I can access the bodyPreview.
variables('varYashResponse')['value'][0]['bodyPreview']
So depending on what you have you may need
triggerOutputs()?['body/value/bodyPreview']
or if yuou get it outside the trigger something like
body[0]['bodyPreview'] or a variable of

That all being said, there is another way. Which may just help you (if the above does not, as I said I am going off of what I see)
Steps.
1. If you are certain of the Payload do this
Add a Parse JSON right after the trigger
in the Input put,
triggerOutputs()?['body']['value']
Click the button for generate Sample Schema. But instead paste this sample (I removed the value layer)
{
"id": "AQMkAGZkMWJlYWUyLTkxZWMtNDhiMC04ZWMyLTMwYjRjMDUzYjk2MwBGAAADHwv3mfjyrEiDQiARmebylgcAvO5NUuoeAU6PYn3SVy6T-QAAAgEMAAAAvO5NUuoeAU6PYn3SVy6T-QACW5pXZgAAAA==",
"receivedDateTime": "2023-09-29T22:01:20+00:00",
"hasAttachments": false,
"internetMessageId": "<SA0PR02MB7273C9BC9EB84A0F81C863AFB5C0A@SA0PR02MB7273.namprd02.prod.outlook.com>",
"subject": "Testing automation",
"bodyPreview": "someone requested your review on: this PR",
"importance": "normal",
"conversationId": "AAQkAGZkMWJlYWUyLTkxZWMtNDhiMC04ZWMyLTMwYjRjMDUzYjk2MwAQAEhnF9w-uSxOjQ5qZvVcwYc=",
"isRead": false,
"isHtml": true,
"body": "<html><head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><style type=\"text/css\" style=\"display:none\">\r\n<!--\r\np\r\n\t{margin-top:0;\r\n\tmargin-bottom:0}\r\n-->\r\n</style></head><body dir=\"ltr\"><div class=\"elementToProof\" style=\"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)\"><span style=\"letter-spacing:normal; font-size:15px; font-weight:400; color:rgb(36,36,36); background-color:rgb(255,255,255)\">someone requested your review on: this PR</span></div></body></html>",
"from": "tamta@adobe.com",
"toRecipients": "tamta@adobe.com",
"ccRecipients": "review_requested@noreply.git.corp.adobe.com",
"attachments": []
}
Now add a compose
Click it and in the dynamic property windows you see bodyPreview
SIDENOTE: To be honest.. I am surprised you dont see value or these fields under the Trigger (as dynamic properties already). Can you take a picture of your dynamic properties available to you? Just add a compose and click.
Anyway, now in the compose click and in the Dynamic Properties, you will see bodyPreview straight up..

Click on bodyPreview
and I run my flow. and bingo your value.
There are many ways to get it.. I believe the first one I gave you by adding in value is the correct on. but this one would work too. Assuming we have the correct information

Cheers
If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey