Automatic folder creation within Outlook depending on ticket number

SiPvR 26 Reputation points
2020-07-16T15:44:21.647+00:00

(Uncertain where to go with this question and first time posting here)

Concept
Step 1: Email with brand new ticket number (6 digit number) comes in, if there is no folder with that number then folder will be created.
Step 2: When emails come in and they have a 6 digit number in subject or body, that already has a folder created for them, than they will be moved to that folder.

Now I know the second step can be done with rules but then step 1 would have to automatically generate that rule as well, I rather not have that much clutter created

The question is, would something like this be possible and what would be the suggested means of realizing this idea e.g. VB or Flows.
Any help will be greatly appreciated.

Outlook Windows Classic Outlook for Windows For business
0 comments No comments
{count} vote

Accepted answer
  1. Diane Poremsky MVP 506 Reputation points MVP Volunteer Moderator
    2020-07-16T23:38:10.583+00:00

    Found my macro... https://www.slipstick.com/developer/code-samples/vba-file-messages/

    It watches the sent and inbox and moves mail to the client folder based on a code.

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Diane Poremsky MVP 506 Reputation points MVP Volunteer Moderator
    2020-07-16T19:09:54.287+00:00

    It will be most efficient to use a macro. I have a macro that does mostly what you need. I'll dig it up.


  2. JeffYang-MSFT 6,261 Reputation points Moderator
    2020-07-17T07:02:55.957+00:00

    As I know, with Outlook rule or mail flow rule alone, it seems that you still could not achieve your requirements. So, please try the VBA method that Diane mentioned above to see if it helps.

    0 comments No comments

  3. Victor Ivanidze 101 Reputation points
    2020-07-20T15:22:08.31+00:00

    In addition - if you need to have this functionality on many workstations you'd better create an add-in for Outlook.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.