cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DavidLozzi
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?

Lozzi
slalom
9 REPLIES 9
DionGoile
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": "127.0.0.1" }. Guessing the email address is not the ID. 

Lozzi
slalom
DionGoile
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

Lozzi
slalom
MarkHayes
Regular Visitor

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

 

Thanks

Mark

Sadly, I haven't. 

Lozzi
slalom
Anonymous
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

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,095)