Note: Use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy, including the Limited Use requirements.

Google Drive - Create a folder

Use the Google Drive - Create a folder action A tool for building the processes, logic, and direction within workflows. to create a folder in Google Drive.

For more information about the Google Drive connector, see Google Drive.

Configure the Google Drive - Create a folder action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  2. Select a Connection. If you do not have a connection, see Add a connection.
  3. Select the Drive you want to create the folder in.
  4. Select a source type. The option presented will be dependent on the source type selected:
    1. The Folder path of the folder you want to create. You can also browse the folder structure using the browse icon ().
    2. The Folder ID of the folder you want to create.
  5. Add the New folder name.
  6. Select to create a Duplicate folder if a folder with the same name exists.
  7. Select or create a variable for the Result output.

Google Drive - Create a folder action fields and settings

Section Field Description Variable types
(unlabeled) Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Google Drive connection that will be used to create a new folder.

To refresh the available connections, click Refresh.

(n/a)
  Drive The drive where you want the folder to be created. This field will only return 100 shared drives. The Drive ID can also be used in this field. Text
  Select a destination type

The destination type which will be used to create the folder.

  • Folder path

  • Folder ID

Boolean
  Folder path The path of the folder you want to create. You can also browse the folder structure using the browse icon (). Text
  Folder ID The ID of the folder you want to Create.

The folder ID can be retrieved by using the Google Drive - Get folder metadata action's ID output.

Text
  New folder name The name of the new folder being created. Text
  Create duplicate folder? Select whether to create a duplicate folder, if it has the same name as an existing folder. Boolean
Output

Result

The output object is the existing folder.

Stores the result of the action in an object with the following variables:

  • ID: The ID of the folder.
  • Parent ID: The ID of the parent folder.
  • Drive ID: ID of the shared drive the folder resides in.
  • Name: The name of the folder.
  • Path: The path of the folder.
  • Created on: The date the folder was created.
  • Download link: Short lived download URL for the folder.
  • Is folder: Boolean variable for if it's a folder.
  • MIME type: The MIME type of the folder.
  • Modified on:The last date the folder was modified.
  • Modified by (Email): The email of the user who last modified the folder.
  • Modified by (Display Name): The display name of the user who last modified the folder.
  • Size (bytes): The size of the folder.
  • Starred: Boolean value for if the folder is starred.
  • Trashed: Boolean value for if the folder is trashed.
  • View link: A link only available on public folders for viewing their static web assets.

Object