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 settings
Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.
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
Execution settings
Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.
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.
| Property | Description |
|---|---|
| Name | Name of the file. |
| Size | Size of the file. |
| File ID | Unique identifier of the file in Google Drive. |
| Parent Folder | Parent folder containing this file. |
| Created Time | When the file was created. |
| Modified Time | When the file was last modified. |
| Web View Link | Link 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.
Example: Create a spreadsheet
Select Google Spreadsheet as the native resource type, set File Name to Monthly Sales, and select its parent folder. With no parent, creation occurs in My Drive. The activity creates the native resource; use Google Sheets activities to populate its cells.
The returned File identifies the new resource. Its native document type determines which activities or export formats can consume it.