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 Subject matching...
Power Automate
Answered

Email Subject matching Folder Name - Copy Email to that Folder

(1) ShareShare
ReportReport
Posted on by 7

We have email folders with unique names. We want incoming and outgoing emails where the subject line contains/matches the folder name to be copied to that folder.

 

Any help for a complete novice would be appreciated. 

Categories:
I have the same question (0)
  • Verified answer
    RobElliott Profile Picture
    10,385 Super User 2025 Season 2 on at

    @D_Mac  oh I see, sorry I misunderstood. There's no action to list all Outlook folders which is a shame as it would be really useful. there's a USer Voice request for it at https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Get-all-folders-action-for-Outlook-Tasks/idi-p/83291

    Rob
    Los Gallardos

  • D_Mac Profile Picture
    7 on at

    @RobElliott we don't have to create a flow for every folder that is created. Using the subject line, can it look for a matching folder with the same name then if there's a match, trigger the copy email to folder?

  • RobElliott Profile Picture
    10,385 Super User 2025 Season 2 on at

    I thought that's what my response did. You could also have another flow that looks at the Sent items folder as well and also copies or moves the  email to that folder.

    Rob
    Los Gallardos

     

  • D_Mac Profile Picture
    7 on at

    Hi @RobElliott 

     

    Not sure if I sent my reply correctly a few days ago....

     

    We want to manually create an email folder with a unique name. Then, automatically copy incoming/sent emails where the subject matches the folder name, to that folder.

     

    If you can assist, you are a genius.

  • v-alzhan-msft Profile Picture
    on at

    Hi @D_Mac ,

     

    Please let me know if your problem could be solved refer to @RobElliott 's solution.

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • RobElliott Profile Picture
    10,385 Super User 2025 Season 2 on at

    @D_Mac in the When a new email arrives (V2) trigger you need to specify the text to look for in the Subject Filter field. Then add a Move email (V2), select Message Id from the dynamic content and enter the folder to move it to:
    emailArrives-Move.png

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 190 Super User 2025 Season 2

Last 30 days Overall leaderboard