Skip to main content
Version: Current

Create File

Description​

Creates a new file in Google Drive and returns information about the created file.

If a parent folder is specified, the new file is created within that folder. Otherwise, the file is created directly in My Drive.


Common Capabilities​

Process Data Support​

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from Agent Data, Workflow Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.

Learn more → Using Process Data


Design-Time Configuration​

Display Text​

A user-defined name for the activity, displayed on the workflow canvas to help identify its purpose.

Connection Name​

The configured Google Drive connection used to access Google Drive resources.

File Name​

The name assigned to the new file.

Parent Folder​

The folder in which the new file will be created.

You can:

  • Select a folder using the Custom Picker Dialog.
  • Provide a folder identifier dynamically through Process Data.

If no parent folder is specified, the file is created directly in My Drive.

Google Native File Resource Type​

The type of the native resource to create in the specified location.

Options include:

  • Google Docs
  • Google Drawing
  • Google Form
  • Google Spreadsheet
  • Google Site
  • Google Slide

Wait All Incoming​

Execution Control

Controls how this activity behaves when multiple incoming execution paths converge.

Determines whether the activity executes when:

  • Any incoming path completes, or
  • All relevant incoming paths complete before execution

Learn more → Execution Control


On Error​

Error Handling Strategy

Defines how the workflow behaves if this activity encounters a runtime error.

Supported strategies include:

  • Fault
  • Continue
  • Suspend
  • Retry

Learn more → Error Handling


Output​

File​

A File Reference representing the created file. File References are a platform-wide IB-X file abstraction that can be passed to other activities that accept file input.

PropertyDescription
NameName of the file.
SizeSize of the file.
File IDUnique identifier of the file in Google Drive.
Parent FolderParent folder containing this file.
Created TimeWhen the file was created.
Modified TimeWhen the file was last modified.
Web View LinkLink to view the file in Google Drive.

Remarks​

  • The authenticated Google account must have permission to create files in the target location.
  • File names are not required to be unique within Google Drive.
  • If a file with the same name already exists, Google Drive may allow multiple files with identical names.
  • When no parent folder is specified, the file is created directly in My Drive.