Build Folder Tree and Seed Draft
A 3-step recipe with Microsoft Outlook. We can help you get access.
Recipe · 3 steps
Build Folder Tree and Seed Draft
with Microsoft Outlook
Create a parent folder, a child folder, and a draft inside the child.
- Create the parent mail folder in the root of the mailbox and capture its folder id.
- Create a child subfolder under the parent folder using the parent folder id, and capture the child folder id.
- Create a seed draft message inside the child folder using the child folder id. Graph returns 201 with the new draft.
What you'll need to have ready
- parentFolderName: The display name of the parent mail folder.
- childFolderName: The display name of the child subfolder.
- seedSubject: The subject of the seed draft message.
- seedBody: The body content of the seed draft message.
For your developer
Arazzo workflow microsoft-outlook:build-folder-tree-and-seed-draft, 3 operations: createMailFolder → createChildFolder → createMessageInFolder. Specs on APIs.io.