Google Drive: Upload a file
Use this action to save a file to a Google Drive folder. This action can upload files to personal and team drive folders.
How to configure this action
This action requires a preconfigured Google Drive integration. For more information on integrating PagerDuty Workflow Automation with other systems, please refer to the Integrations section of our help center.
Fields for this action
-
Integration
- Select your team’s integration from the list.
-
File to upload
- Choose a file to upload to Google Drive in
{{field-name}}
format or enter the Google Drive file ID from a previous Google Drive action. When viewing a file, the File ID is a unique string typically at the end of a Google Drive file URL.- Example: For https://docs.google.com/spreadsheets/d/1IbqDHqn0YrVXZtN-eISXFdRQNWj1uKIf_2CJrTFyQoM/edit, the File ID is 1IbqDHqn0YrVXZtN-eISXFdRQNWj1uKIf_2CJrTFyQoM
- Choose a file to upload to Google Drive in
-
Folder ID
- The location of the folder to upload and save the file to. When viewing the open folder, the folder ID is a unique string typically at the end of the folder URL.
- Example: For https://drive.google.com/drive/folders/1HqmxgNQFbmDYOzFc-d3QAgo7zhGYN4xMM, the folder ID is 1HqmxgNQFbmDYOzFc-d3QAgo7zhGYN4xMM
- The location of the folder to upload and save the file to. When viewing the open folder, the folder ID is a unique string typically at the end of the folder URL.
-
Output Field Prefix
- To help keep output fields organized, choose an output field prefix to add to the beginning of each output field name as this action may output more than one field.
- The step’s name is used as the prefix by default.
What will this output?
This action may generate multiple fields. To help keep output fields organized, the prefix above will be added to the beginning of each of the output field names, separated by two dashes. Each field will result as:{{output-field-prefix--output-field}}
. Learn more
Output fields for this action
-
Folder ID
- The folder ID defined during action configuration.
-
File Url
- The Url for the successfully uploaded file.
Thanks for your feedback
We update the Help Center daily, so expect changes soon.
Link Copied
Paste this URL anywhere to link straight to the section.