web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Isssue with the "From"
Power Automate
Unanswered

Isssue with the "From"

(0) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

I have a challenge where I cannot add more than one email address from the 'From' field.  I have different clients that sends us email attachment within the same company.  I've tried everything so far no luck.  I can only use one email.  To test it, I add two email addresses with an attached file, but when I ran the script nothing happen.  But if I remove one email and ran it, the script works.  Anyone have any idea on how to do this?  Thank you! 

 

TTC_0-1677966053398.png

 

I have the same question (0)
  • Pstork1 Profile Picture
    69,573 Most Valuable Professional on at

    You get emails from different people, but when you add the emails to that from field you are telling it to retrieve the emails that are from both people at once.  That's not possible.  You'll need to create a different version of the script for each person you want to get process. What you want is a From field that assumes and "OR" but this one assumes an "AND"

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    I don't understand what you mean by create a different version.  Can you give me an example by sharing a screenshot?

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Just to clarify both person that send email at the same time.  One of the client might send an email attachment on this day, the other person might send an attachment on a different day.  But both belong to the same company. I just want to cover both emails whoever that send an email with with the attached file, I want the script to go and grab it, download it, rename it, and save it to a network folder.

  • Pstork1 Profile Picture
    69,573 Most Valuable Professional on at

    Use Create a Copy in the context menu of the designer to make a copy of the desktop flow. Then change the From field in that copy to the other person's email.

    image.png

  • Pstork1 Profile Picture
    69,573 Most Valuable Professional on at

    The point is that two people can't send a single email.  Two people can each send an email.  But if you put both names in the From field you are telling the flow to find all the emails where the From field contains both emails.  That can't happen.  One email will contain one and the other email will contain the other.  You will never get an email where the From has both email addresses in it at the same time.

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Good point.  So that's mean I am going to have more than one retrieve email in the script to capture all the emails.

    For example, if three people send me an email, I will have three steps of 'Retrieve Exchange email messages' right?

     

    TTC_0-1677983858831.png

     

  • Pstork1 Profile Picture
    69,573 Most Valuable Professional on at

    If you want to do it with just one desktop flow then yes you would need three actions to cover three people.

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    If they send me an email with 3 attachments and I need to rename each file as unique name.  For example, let say someone (jeanrobert@fivebleow.com) in Five Below company send me 3 attached files and I need to download each file and rename each file as Five Below_1.xlsx, Five Below_2.xls, and Five Below_3.xlsx, is that the right approach? Do I need to repeat the entire process for someone else from Five Below that sends me 2 or 3 attached files?

     

    TTC_0-1677986872608.png

    TTC_1-1677986900955.png

    TTC_2-1677986927150.png

     

    TTC_4-1677986986854.pngTTC_5-1677987011584.png

     

  • Pstork1 Profile Picture
    69,573 Most Valuable Professional on at

    I would make processing the email a subflow that you call and pass the needed information to from the main flow. That way you can pass the list of attachments to the subflow and it won't matter which person sent the email.

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Can you show me a demonstration or a screenshot how it gets done?  Thank you so much!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 227

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard