Integration reference
Google Drive Trigger and Action reference
React to files, folders, comments, spreadsheets, presentations, shared drives, and access proposals, then manage Drive content.
Authentication
Connect a Google account through OAuth with access to the selected My Drive or shared-drive resources.
- Trigger account type:
oauth2; reconnect byoauth. - Action connection type:
oauth2; available modes: Connected Google Drive account.
Create or reuse the account from a Trigger or Action dialog, or manage it under Settings → Connected accounts. See Authentication and permissions for scopes and access diagnostics, or Connected accounts for reuse, reconnect, revocation, and credential rotation.
Scopes and permissions
Base Trigger authorization requests: openid, email, profile, https://www.googleapis.com/auth/drive.readonly.
View 1 OAuth scopes used by current Actions
https://www.googleapis.com/auth/drive
View 1 provider permissions or credential requirements
https://www.googleapis.com/auth/drive
Operation-specific requirements appear in the tables below. Custom event selections can add scopes dynamically, so the current Trigger or Action dialog remains authoritative for the exact consent request.
Use Google Drive as a Trigger
The current provider manifest contains 18 available Trigger definitions. Representative definitions include:
- New Files (Instant)
- New Files (Polling)
- New or Modified Files
- Changes to Specific Files
- New Shared Drive
- New Access Proposal
View all 18 available Trigger definitions
| Trigger | Manifest key | Delivery | Additional scopes |
|---|---|---|---|
| New or Modified Folders (Polling) | google_drive.new_or_modified_folders.polling | polling | None declared |
| New Shared Drive | google_drive.new_shared_drive.polling | polling | None declared |
| New Spreadsheet (Instant) | google_drive.new_spreadsheet.instant | instant | None declared |
| New Spreadsheet (Polling) | google_drive.new_spreadsheet.polling | polling | None declared |
| New Presentation (Instant) | google_drive.new_presentation.instant | instant | None declared |
| New Presentation (Polling) | google_drive.new_presentation.polling | polling | None declared |
| Changes to Files in Drive | google_drive.changes_to_files_in_drive.polling | polling | None declared |
| Changes to Specific Files | google_drive.changes_to_specific_files.polling | polling | None declared |
| Changes to Specific Files (Shared Drive) | google_drive.changes_to_specific_files_shared_drive.polling | polling | None declared |
| New Access Proposal | google_drive.new_access_proposal.polling | polling | None declared |
| New Files (Instant) | google_drive.new_files.instant | instant | None declared |
| New Files (Polling) | google_drive.new_files.polling | polling | None declared |
| New Files (Shared Drive) | google_drive.new_files_shared_drive.polling | polling | None declared |
| New or Modified Comments (Instant) | google_drive.new_or_modified_comments.instant | instant | None declared |
| New or Modified Comments (Polling) | google_drive.new_or_modified_comments.polling | polling | None declared |
| New or Modified Files (Instant) | google_drive.new_or_modified_files.instant | instant | None declared |
| New or Modified Files (Polling) | google_drive.new_or_modified_files.polling | polling | None declared |
| New or Modified Folders (Instant) | google_drive.new_or_modified_folders.instant | instant | None declared |
Choose the narrowest event definition that fits the Workflow. Configure provider-specific resource and event filters in the Source dialog before adding broader Workflow Filters.
Use Google Drive Actions
The current Action manifest contains 9 operations. Representative Actions include:
- Upload File
- Find or Create Folder
- Create Text File
- Create Folder
- Copy File
- Move File
- Share File
- Move File to Trash
View all 9 available Action definitions
| Action | Manifest key | Access and auth | Manifest rate limit |
|---|---|---|---|
| Upload File | google_drive.upload_file | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Create Text File | google_drive.create_text_file | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Find or Create Folder | google_drive.find_or_create_folder | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Create Folder | google_drive.create_folder | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Copy File | google_drive.copy_file | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Move File | google_drive.move_file | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Share File | google_drive.share_file | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Move File to Trash | google_drive.trash_file | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
| Custom API Request | google_drive.custom_api_request | https://www.googleapis.com/auth/driveFastHook-managed account | 1/second |
The Action editor reads its required permissions, fields, remote resource pickers, output schema, and rate limit from the provider manifest. Available fields can change with the selected operation and authentication mode.
Build a Workflow
- Create a Source using a Google Drive Trigger definition.
- Create a Workflow with that Source as its Trigger.
- Add the required Google Drive Action and select the connected account.
- Map Trigger or earlier-Step data into the Action fields with the field picker.
- Add a Filter, Paths, Delay, or Transformation when the route needs it.
- Activate the Workflow, produce a controlled event, and verify the run in Audit and in Google Drive.
Troubleshooting Google Drive
- The account is missing or cannot be selected
- Confirm the active FastHook team, provider, account status, and authentication mode. A disabled or revoked account cannot execute an Action.
- A resource picker is empty
- Verify that the connected provider identity can access the resource itself. OAuth consent does not add workspace, repository, channel, drive, project, base, or record permissions.
- The editor asks for additional scopes
- Reconnect the same account from the affected Trigger or Action so FastHook can request its current manifest scopes. Then reopen the editor and select the resource again.
- An active Workflow returns 401, 403, or a permission error
- Compare the selected operation’s access requirements below with the account recorded in Audit. Check provider-side membership and object access before repeating the Action.
- The provider returns 429 or a temporary 5xx
- Inspect the Step attempt and retryability in Audit. FastHook can retry temporary failures, but provider quotas and idempotency rules still apply.
Provider-specific checks
- Choose shared-drive variants when the resource does not live in My Drive.
- Instant notification channels and polling definitions have different latency and lifecycle behavior.