Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Retrieve contacts and find matching sender

(1) ShareShare
ReportReport
Posted on by 104

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?

  • jimlear Profile Picture
    on at
    Re: Retrieve contacts and find matching sender

    I'm investigating a similar question.  These two posts have popped up that may be of use:

    Condition to check wheter Get Contacts returning no record

    How can Flow check to verify an email address exists or not in contacts in Outlook 365 Contacts

     

  • Jolopdf Profile Picture
    2 on at
    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?

  • Community Power Platform Member Profile Picture
    on at
    Re: Retrieve contacts and find matching sender

    I have the same problem.

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

  • DavidLozzi Profile Picture
    104 on at
    Re: Retrieve contacts and find matching sender

    Sadly, I haven't. 

  • Community Power Platform Member Profile Picture
    on at
    Re: Retrieve contacts and find matching sender

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

     

    Thanks

    Mark

  • DavidLozzi Profile Picture
    104 on at
    Re: Retrieve contacts and find matching sender

  • DionGoile Profile Picture
    110 on at
    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 Profile Picture
    104 on at
    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. 

  • DionGoile Profile Picture
    110 on at
    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.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492