Skip to main content
outlook.createMailFolder creates and returns a top-level or child Outlook mail folder.

Example

automations/outlook-create-mail-folder.automation.ts

Inputs

Pass { displayName: "Customers", parentFolder: "Archive" }. The optional second argument { account } selects a Microsoft binding.

Output

Creates and returns a top-level or child Outlook mail folder. Microsoft Graph requires the scopes declared by the action. IDs are opaque and should be passed through unchanged.