Actions25
Folder → Create
AI-generatedSummary
Creates a new subfolder within the configured mailbox, optionally under a specific parent folder.
Inputs
- actionMailboxMode — Determines the scope of the mailbox. 'Other Mailbox' requires the 'Other Mailbox Email' parameter.
- actionOtherMailboxEmail — Email address of the shared mailbox when 'Other Mailbox' mode is selected.
- folderParentId — ID of the parent folder to create the new folder under. If empty or omitted, creates the folder at the root of the mailbox.
- folderName (required) — Display name for the new folder.
Output shape
no body — success/failure only
The operation performs a Microsoft Graph POST request to create the folder. The node returns a success status if the folder is created; otherwise, it throws an error.
Examples
Example 1: Create a new folder named 'Projects' in the current user's mailbox root.
folderName: 'Projects', folderParentId: empty
Example 2: Create a folder named 'Archive' inside an existing subfolder with ID 'AAMkAG...' within the current mailbox.
folderName: 'Archive', folderParentId: 'AAMkAG...'
Example 3: Create a folder named 'Shared' within a shared mailbox account configured in the node.
actionMailboxMode: 'Other Mailbox', actionOtherMailboxEmail: 'shared@example.com', folderName: 'Shared'