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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / email attachment, auto...
Power Automate
Answered

email attachment, auto move in outlook folder, mark as read and put attachment in folder sharepoint with prefix name

(0) ShareShare
ReportReport
Posted on by 33

Hello, this is my first time. making a flow.

 

i can make a flow where the attachment is moved to a sharepoint folder. only mail from a specific mailadres.

like johan@mail.com. But i want all mail that ends with ..........@mail.com

to be moved first to a folder in my mailbox. then mark is as read and put the attachment to a sharepoint folder.

is this possible?

the subject of the mail has to be "tekst"

 

kind Regards Ramon

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    Try using and modifying an existing flow template:

    ekarim2020_0-1626193087526.png

    Ellis

  • Ramon538 Profile Picture
    33 on at

    i tryed, but only works with specific email adres in the "from" adres.

    in outlook you can search for specific tekst in the from adres... like "@mail.com"

    can't find this in the power automate flow

     

     

  • Ramon538 Profile Picture
    33 on at

    Ramon538_0-1626193400907.png

     

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    You can check the "From address" with using a condition. If it "ends with" a certain email domain, you can take action, if not, take another set of actions:

    ekarim2020_0-1626193573244.png

    Ellis

     

  • Ramon538 Profile Picture
    33 on at

    Ramon538_1-1626194946900.png

    ok now t works the first bit of the flow.

     

    i got as far as....

     

    email arrives....

    marks the emails as read

    puts it in a outlook folder.

     

    now th eattachment has to go to a sharepoint folder. or better than that to a windows folder. but i don't now if that is even possible?

     

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    Yes, you can save it to SharePoint (or any Office 365 service that has a suitable connector).

    ekarim2020_0-1626195335328.png

    Based on your screenshot above:

    ekarim2020_2-1626195882241.png

    You will need to ensure that any actions that you need to run for your Condition are to be grouped together under the YES block:

    ekarim2020_1-1626195552970.png

     

    Ellis

  • Ramon538 Profile Picture
    33 on at

    Ramon538_0-1626196790301.png

     

    i put the action under true. but doesnt work like this. what am i doing wrong?

     

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    How is the flow currently working or not working?

    You want to do something like this:

    ekarim2020_0-1626197151298.png

     

  • Ramon538 Profile Picture
    33 on at

     

    This is how i did it

    Ramon538_1-1626197585462.png

     

     

    this is the outcome

    Ramon538_0-1626197542738.png

    it is scipped

     

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    Can you check the condition statement.

    The test for checking if the From email address ends with @gmail is incorrect: 

    ekarim2020_0-1626199735666.png

    it should be @gmail.com or gmail.com

     

    Ellis

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard