How to Move Email to Folder Using Power Automate? [5 Different Ways]

When working with emails, sometimes you need to keep your inbox organized by moving messages to specific folders. This can be especially helpful when dealing with large volumes of email. With Power Automate, we can move emails to folders based on specific conditions.

In this Power Automate tutorial, I will show you how to move an email to a folder using Power Automate and how to move an email to a folder based on specific conditions. I will also cover how to move an email to a folder based on the subject line and how to move an email to a subfolder using Power Automate.

Move Email to Folder Using Power Automate

I will show you how to move an email to a folder using Power Automate. For this example, I want the flow to trigger when I receive a new email and then move that email to the Project folder I created recently.

Move Email to Folder using Power Automate

Now follow the steps below:

1. Create an automated cloud flow. Give the flow name and select the trigger When a new email arrives (V3). Select From from Advanced parameters and provide the sender with an email.

Power Automate Move Email to Folder based on Sender

2. To move the emails to a different folder, add the Move email(V2) action and provide the following parameters:

  • Message Id: Take ID from get emails of dynamic content.
  • Folder: Select a Project folder from the folder icon.
Move Email to Folder in Power Automate

Now, click on save and run the flow manually. Then, send an email from Patti Fernandez to Lidia Holloway.

power automate move email to folder

After the flow runs successfully, check the Project folder in Outlook to see the moved emails.

power automate move email

This way, Power Automate moves the emails to a folder based on the sender.

Move Email to a Folder based on a condition using Power Automate

Let’s take a scenario where you want to move emails to a folder after 2 days of being received in Outlook using Power Automate. This can be useful for organizing and archiving emails based on their age.

To do this, follow the steps below:

1. Navigate to the Power Automate Home page, click + Create, and select the Scheduled Cloud Flow. Then provide the following information:

  • Starting: Provide the date on which you want to run your flow.
  • at: Provide the time you want to run the flow, in my case, at 9:00 AM.
  • Repeat every: We want to run the flow daily.
how to move email to folder in outlook

2. Now, we need to retrieve emails from Outlook, so add the Get emails(V3) action and provide the parameters below:

  • Importance: Select any from the drop-down.
  • Only with Attachments: Choose Yes/No from the drop-down if you want to include attachments.
  • Folder: Select the folder from where you want to move the emails.
  • Fetch only Unread Messages: Select No from the drop-down.
  • Include Attachments: Choose Yes/No from the drop-down if you want to include attachments.
  • Search Query: Provide the expression to retrieve the last 2 days’ emails:
received < @{getFutureTime(2,'Day')}
  • Top: Provide 25 because it is the maximum.

Note:

In Power Automate, Outlook’s “Get emails” action is limited to retrieving up to 25 emails at a time.

Power Automate Move Email to a Specific folder in Outlook

3. To move the emails to a different folder, add the Move email(V2) action and provide the following parameters:

  • Message Id: Take ID from get emails of dynamic content.
  • Folder: Select a Project folder from the folder icon.

It will automatically add a For Each loop.

how to move emails to a folder in outlook

Now, click on save and run the flow manually. After the flow runs successfully, go to the Project file, and you can see that the email was moved successfully.

How to Move Email to a Folder based on condition using Power Automate

Move Email to a Folder based on Subject in Power Automate

Imagine you’re part of a “Power Platform Projects” team and receive a large number of emails related to different projects in your Outlook inbox. To keep things organized, you’ve set up separate folders for each project within your inbox, such as:

  • Power App
  • Power Automate

Now, you want to set up a flow to check the subject line of each new email. If the subject contains “Power App,” the email will be moved to the Power App folder; if it contains “Power Automate,” it will be moved to the Power Automate folder.

Now follow the steps below:

1. Select Automated cloud flow and choose the trigger When a new email arrives (V3). Then add a condition action that checks whether the subject content is Power App or Power Automate.

subject filter power automate

2. Then, inside the true section, add another condition, which is to check whether the subject content is Power App or not.

outlook automatically move emails to folder based on subject in Power Automate

3. Inside the true section add the Move email(V2) action and provide the below parameters:

  • Message Id: Take ID from get emails of dynamic content.
  • Folder: Select a Power App folder from the folder icon.
how to move email to other in outlook in Power Automate

4. In the same way, inside the false section, add the Move email(V2) action and provide the parameters below:

  • Message Id: Take ID from get emails of dynamic content.
  • Folder: Select a Power Automate folder from the folder icon.
search query get emails power automate

Now, click Save and run the flow manually. Then, go to another Outlook account and send an email with “Power App” in the subject line.

how to move emails to folder in outlook automatically

After the flow runs successfully, go to the Power App folder in Outlook, and you can see that the email was moved successfully.

how to move emails to new folder in outlook using Power Automate

In the same way, send an email with “Power Automate” in the subject line.

power automate get all emails in folder

After the flow runs successfully, go to the Power Automate folder in Outlook, and you can see that the email was moved successfully.

How to Move Email to a Folder based on Subject in Power Automate

Move Emails From One Folder to Another in Outlook using Power Automate

Imagine you’re part of a “Power Platform Projects” team and receive a large number of emails related to different projects in your Outlook inbox. To keep things organized, you’ve set up separate folders for each project within your inbox, such as:

  • Power App
  • Power Automate
  • Power Platform

The above flow shows how to move emails to the Power App and Power Automate folders based on their subject. I want the Power App and Power Automate folders email to move to the Power Platform folder.

Follow the steps below:

 1. Create an Instant cloud flow and provide the flow name, choose the flow trigger (manually trigger a flow). Add the Get emails(V3) action and provide the parameters below:

  • Importance: Select any from the drop-down.
  • Only with Attachments: Choose Yes/No from the drop-down if you want to include attachments.
  • Folder: Select the Power App folder.
  • Fetch only Unread Messages: Select No from the drop-down.
  • Include Attachments: Choose Yes/No from the drop-down if you want to include attachments.
  • Top: Provide 10.
power automate get emails v3 search query

2. Add the Move email(V2) action and provide the below parameters:

  • Message Id: Take ID from get emails of dynamic content.
  • Folder: Select a Power Platform folder from the folder icon.

It will automatically add a For each.

How to Move Emails From One Folder to Another in Outlook using Power Automate

Now, click on save and run the flow manually. After the flow runs successfully, go to the Power Platform, and you can see that the email was moved successfully.

power automate get emails v3 more than 25

In the same way, you can move all emails from the Power Automate folder to the Power Platform folder; you only need to change the folder name in the Get emails(V3) action.

Move the Email Folder to the Subfolder Using Power Automate

Imagine you have a folder in Outlook called Power Platform. Inside that, you’ve created two subfolders:

  • Power Automate – for emails about Power Automate
  • Power Apps – for emails about Power Apps
power automate get emails search query

When an email arrives in Power Platform with “Power Automate” in the subject line, you want it to move into the Power Automate subfolder. And if it has “Power App” in the subject, it should go to the Power Apps subfolder.

Now follow the steps below:

Create an instant cloud flow, provide the flow name, and choose the flow trigger (manually trigger a flow). Add the Get emails(V3) action and provide the parameters below:

  • Importance: Select any from the drop-down.
  • Only with Attachments: Choose Yes/No from the drop-down to include attachments.
  • Folder: Select the Power Platform folder.
  • Fetch only Unread Messages: Select No from the drop-down.
  • Include Attachments: Choose Yes/No from the drop-down if you want to include attachments.
  • Top: Provide 25.
how to move mails automatically to a folder in outlook

Then, add a condition action that checks whether the subject content is Power Automate or not.

It will automatically add a For each.

how to move emails to another folder in outlook

Inside the true section, add the Move email(V2) action and provide the parameters below:

  • Message Id: Take ID from get emails of dynamic content.
  • Folder: Click the -> button of the Power Platform, then select Power Automate.
auto move email to folder outlook in Power Automate

Inside the false section, add the Move email(V2) action and provide the parameters below:

  • Message Id: Take ID from get emails of dynamic content.
  • Folder: Click the -> button of the Power Platform, then select Power App.
Power Automate automatically move email to folder after 2 days

Now, click on save and run the flow manually. After the flow runs successfully, go to the Power Automate and Power App folder, and you can see that the email was moved successfully.

How to Move the Email Folder to the Subfolder using Power Automate

In this tutorial, I explain how to use Power Automate to move emails to specific folders in Outlook based on different conditions. We covered scenarios such as moving emails based on the sender and organizing emails by subject line into project folders.

Additionally, I explain how to move emails from one folder to another in Outlook using Power Automate and how to move an email to a subfolder using Power Automate.

Also, you may like some more Power Automate articles:

  • Sorry but this was not helpful. I cannot get any of this to actually work correctly. My work stores emails for 90 days and I would like to every month archive emails into an Outlook Saved mail folder from select people, but every time I try and use the output as From it doesn’t work. I was able to get it to work only one time using the very first section of this article, but it would not archive anything beyond like the first 7 days. HELP!

  • This does not move emails to folder after 30 days. This move emails to folder every 30 days. The difference is that moving the email after 30 days keeps messages in our mailbox for 30 days and then moves them. A workflow that runs every 30 days will move a one-day old message if that message hits the inbox the day before this scheduled action runs. The ideal solution runs daily and moved items that are 30 days old.

  • >

    Build a High-Performance Project Management Site in SharePoint Online

    User registration Power Apps canvas app

    DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

    Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

    Power Platform Tutorial FREE PDF Download

    FREE Power Platform Tutorial PDF

    Download 135 Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…