Actions17
File → Upload
AI-generatedSummary
Uploads a file from the workflow's binary data to a selected Google Drive folder.
Inputs
- Input Data Field Name (required) — The name of the binary field on the incoming item that contains the file data.
- File Name — Optional. The name to give the uploaded file in Drive. If not supplied, the original file name from the binary data is used.
- Parent Drive (required) — The Drive into which the file should be uploaded. Can be selected by Drive, URL, or ID. Defaults to My Drive.
- Parent Folder (required) — The folder within the selected Drive where the file should be uploaded. Defaults to the root folder.
Output shape
The operation runs once for each incoming item, uploading that item's referenced binary data as a separate file.
Returns the metadata of the created Drive file. By default, returns a simplified version of the metadata. If the Simplify Output option is disabled, the full Drive file resource is returned.
Examples
Example 1: You want to send a generated PDF, image, or other binary file from your n8n workflow into a specific folder in Google Drive.
Uploads a file from the workflow's binary data to a selected Google Drive folder.