File Message into New Folder
A 3-step recipe with Microsoft Outlook. We can help you get access.
Recipe · 3 steps
File Message into New Folder
with Microsoft Outlook
Create a folder, locate a message, and move the message into it.
- Create a new top-level mail folder in the root of the mailbox and capture its folder id for use as a move destination.
- Search the mailbox for the first message whose subject equals the supplied filter value.
- Move the matched message into the new folder by passing the folder id as the destination. Graph returns 201 with the moved message copy.
What you'll need to have ready
- folderName: The display name of the new mail folder to create.
- subjectFilter: The exact subject value to match when finding the message.
For your developer
Arazzo workflow microsoft-outlook:file-message-into-new-folder, 3 operations: createMailFolder → listMessages → moveMessage. Specs on APIs.io.