Google Drive Create folder function

The Google Drive Create folder function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Drive functionality to create a folder.

For a full list of available functions, please read Google Drive functions.


Description

The Google Drive Create folder function creates a new folder in Google Drive, optionally within a specified parent folder.


Setting it up

To use the Google Drive Create folder function, follow these instructions:

{{popups:rpas/add:action=google-workspace-drive-create-folder}}

Once on a process map:

  1. Navigate to the process where you would like to add the Google Drive Create folder function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the Google Drive Create folder option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Folder nameYesText-Name of the folder to create
Parent folder IDNoTextRootParent folder ID (defaults to root)
VariableNoText-State variable to store the new folder ID

Output variables

VariableTypeDescription
VariableTextThe ID of the newly created folder

Errors

ErrorDescription
Permission deniedInsufficient permissions to create a folder
Parent not foundThe parent folder ID does not exist

Tips

  • Google Drive allows multiple folders with the same name
  • Use the returned folder ID to upload files into the new folder

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.