Hi All,
I am trying to create a flow where I want to send an adaptive card to each o365 member listed in my teams group. While creating the below flow, I am getting an error saying, "Unable to process template language expressions for action 'Apply_to_each' at line '0' and column '0': 'The template language expression 'body('LGM')?['value']?['mail']?[0]' cannot be evaluated because property 'mail' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'."
I am getting 3 JSONs where I want to extract the mail from individual body, as shown in my screenshot(arrowed in red). How do i do that?
Attached are the screenshots, can you let me know where do I need to correct the expression?
Thanks for your help.