Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Retrieve contacts and find matching sender

I have a flow setup so that when I flag an email, it gets saved to Wunderlist. I am now trying to refine it so that if someone from my project team emails me and I flag it, it goes to a unique list in Wunderlist. I have a contact folder setup in Outlook (O365) and I've added the action to Get Contacts from that folder.


That works, I get the 11 contacts, and then I want to loop through it and say that if the From address is any of those emails, create the task. It doesn't seem to work. It ends up creating the task for a person NOT in the contacts folder.  (the final IF NO at bottom right)



My gut is that the Email Addresses is an object, and not actually working with the actual email address values?

Advocate II
Advocate II

I think it would be easier to use the "Get Contact" option instead and do an operation that sees if Get Contact returns a value for checking that id and proceed according to that.


Get contact: Folder id, Sender email for ID


(Condition) If result of "Get Contact" equals the original sender address (then it must exist in your contact folder list) or just use True if that works then complete task A else complete task B


I hope that helps.



No good, I get an error { "status": 400, "message": "Id is malformed.", "source": "" }. Guessing the email address is not the ID. 

Advocate II
Advocate II

Can you send a screen shot of the output of your Get Contacts step, you'all find this in the flow history.

I can send you steps if needed

Regular Visitor

Hi, did you manage to resolve this? I am having the same issue.




Sadly, I haven't. 

Not applicable

I have the same problem.

I can't use an email address to retrieve a contact.

I have the same problem

Don't even know what contact id is

looks that it isn't the e-mail adresse but what else?

Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (17,844)