I have this sample array data in flow,
[{
"name": "abc",
"Lastname": "xyz",
"emailid": "abc@gmail.com"
},
{
"name": "def",
"Lastname": "eee",
"emailid": "def@gmail.com"
}]
In Power automate flow using email id as input, how can I get name and last name values for that respective email.
eg: emailid input : def@gmail.com to the array variable
output: Name and Last name values. that should be def and eee.
Thanks in advance !!!
thanks it worked .
Hey @anu1393
you can use the combination of filter and select action.
Compose to store your array:
Filter array:
Expression:
item()['emailid']
Select Action:
Expressions:
Name:
item()['name']
Last Name:
item()['Lastname']
Final Result:
Filter Action:
Select Action:
If it answered your problem, mark it as the solution.
And if you liked the explanation, you can thumbs up/kudo the post. It really helps.
Thanks.
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional