I want to filter the output of a Get Contacts action by the email address.
Opposed to other properties, the actual email address is nested inside an array-based emailAddresses property:
"emailAddresses": [
{
"name": "Joe Doe",
"address": "joe.doe@company.com"
}
]
I asked Copilot how to use the "address" part of the emailAddresses result, and its response was: emailaddress1, so in the Filter Query field I used the expression:
emailaddress1 eq variables('sender')
I have also used the expression
emailAddresses.address eq variables('sender')
None of that works. Any advice on how to build my Filter Query?