Get or Create Folder
AI-generatedSummary
Gets an existing Google Drive folder by name under a parent folder, or creates it if it does not exist.
Inputs
- parentFolderId (required) — The ID of the parent folder in Google Drive where the folder will be located.
- folderName (required) — The name of the folder to get or create.
- options — Additional formatting options for folder and file naming. Note: these options do not affect the folder get-or-create behavior in this operation.
Output shape
object
Contains success status, folder ID, folder name, and parent folder ID. Paired item index is preserved for workflow pairing.
Examples
Example 1: Create a new folder named 'Q4 Receipts' under parent folder '1A2b3C4d5E6f'.
parentFolderId: '1A2b3C4d5E6f', folderName: 'Q4 Receipts' (all other options left at defaults).