Use inbox rules in Outlook - Microsoft Support
support.microsoft.com › en-us › officeUse inbox rules to automatically perform specific actions on email that arrives in your inbox. For example, you can create rules that will change the importance level of messages as they come in, automatically move them to other folders, or delete them based on certain criteria. Rules only run on your inbox. They don't run on other folders.