cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DavidLozzi
Level: Powered On

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?

Lozzi
slalom
9 REPLIES 9
DionGoile
Level: Powered On

Re: Retrieve contacts and find matching sender

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.

 

 

DavidLozzi
Level: Powered On

Re: Retrieve contacts and find matching sender

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

Lozzi
slalom
DionGoile
Level: Powered On

Re: Retrieve contacts and find matching sender

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
DavidLozzi
Level: Powered On

Re: Retrieve contacts and find matching sender

Lozzi
slalom
MarkHayes
Level: Powered On

Re: Retrieve contacts and find matching sender

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

 

Thanks

Mark

DavidLozzi
Level: Powered On

Re: Retrieve contacts and find matching sender

Sadly, I haven't. 

Lozzi
slalom
vince_jennings
Level: Powered On

Re: Retrieve contacts and find matching sender

I have the same problem.

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

Jolopdf
Level: Powered On

Re: Retrieve contacts and find matching sender

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?

jimlear
Level: Powered On

Re: Retrieve contacts and find matching sender

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 178 members 4,601 guests
Please welcome our newest community members: