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 / When a new email arriv...
Power Automate
Answered

When a new email arrives (V3) and Move email (v2)

(2) ShareShare
ReportReport
Posted on by 48
I have a flow that works in part, it is looking at my inbox using the When a new email arrives (V3) as a trigger, I use Find Text Position to get the senders first name from their email and then want to see Move Email (V2) to move the email to a folder that has their corresponding name. I use the Compose to give me the senders first name and then have this in the folder section in Move email (v2) but even though the name matches what the folder is called I keep getting an error: Specified folder 'Scott' does not exist.
 
Categories:
I have the same question (0)
  • Verified answer
    trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    Hi Scott,
     
    I looked at this and even thought about keying it in quick like.  But the more I think about it, the issue is the folder doesn't exist and there isn't a connector (a direct connector) to create a mail folder.  I think you can probably do something with Graph but don't have an example readily available.  BTW:  I did lookup this up in ChatGPT and it is pretty easy to do with the right permissions.
     
    But the root cause here is the folder Scott doesn't exist.  You can test this and verify my findings by manually creating the folder Scott, then resubmitting your flow.  The other issue why I would revisit if this was my project, is putting emails in first name folders may not be the most effective; meaning you could get a handful of different Scott emails from different "Scott's" which will devalue the folder segregation in my opinion.
     
    One thing I have done in Shared Mailboxes is to simply create a rule and move emails into folders based on the sender's domain name, such as 'microsoft.com'
     
    All that said, even if I needed the original concept of creating by first name only, I don't know that I would use Power Automate because email rules are move effective and you would need to setup it up one time and then click 'run rule now' then it is permanently running.
     
    So consider adding Microsoft Graph API http request to create your folder above the move email step, if needed. Hope this helps.
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • Verified answer
    VictorIvanidze Profile Picture
    13,073 on at
    Have a look at this freeware: https://ivasoft.com/sortemailsflow.shtml
    Use it as a base and modify it according your needs.
  • ScottinPoland Profile Picture
    48 on at
    trice602 Thanks. There will only ever be a handful of people where this will apply, only when I'm on CC and only with certain wording in their subject line - that is why I went with PowerAutomate.
     
    I have managed to resolve the issue when I move the folder up a level (they are within a folder in my inbox - 2025) and use aspects of the solution fromVictorIvanidze "Send an HTTP request" using the output from the compose in the flow:
     
  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    Great to hear this was resolved and you got it up and running. Have a great day! Tom

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