A rule is an action that Outlook automatically performs on sent or received email messages, based on conditions you specify, such as moving all messages from a specific person into a folder other than your Inbox. This video will show you how to set up rules so you can move, flag, and respond to email messages automatically.
Create a rule on a message
1. Right-click an existing message and select Rules, Create Rule.
2. Select a condition, and what to do with the message based on the condition.
For example, to move messages with a certain title to a specific folder, select the Subject contains condition, select Move the item to folder, select or create a New folder, and then select OK.
3. When you're done creating the rule, select OK.
4. To use the rule right away, select the Run this new rule now on messages already in the current folder checkbox, and then select OK.
Create a rule from a template
1. Select File, Manage Rules & Alerts, New Rule.
2. Select a template.
3. Edit the rule description. Select an underlined value, choose the options you want, and then select OK.
4. Select Next.
5. Select the conditions, add the relevant information, and then select OK.
6. Select Next.
7. Finish the rule setup. Name the rule, setup rule options, and review the rule description. Click an underlined value to edit.
8. Select Finish. Certain rules will only run when Outlook is on. If you get this warning, select OK.
9. Select OK.
To learn more: https://support.microsoft.com/en-us/office/set-up-rules-in-outlook-75ab719a-2ce8-49a7-a214-6d62b67cbd41