Google Drive
Google Drive integration in Lleverage enables you to automate file management, sharing, and collaboration workflows directly with your Google Drive account. Upload, organize, search, and manage files and folders seamlessly within your automated processes.
Key Features
File management - Upload, update, move, and delete files and folders
Search capabilities - Find files, folders, forms, and spreadsheets using various criteria
Shared drive operations - Manage shared drives and access permissions
Access control - Handle access proposals and sharing permissions
Organization tools - Get folder IDs, manage file structure, and handle trash operations
Content processing - OCR support and indexable text handling
Secure connection - Direct integration with Google Drive API
How to Add Google Drive Integration
Open the Add Action menu using one of three methods:
Click the "Add Action" button in the top left corner
Click on a connection circle on an existing action card
Click and drag from one action to create a connection
Navigate to Google Drive integration:
Select "External Apps" from the categories
Search for "Google Drive" in the provider list, or
Scroll down to find Google Drive in the alphabetical list
Click on Google Drive to view available actions
Select your desired Drive action from the comprehensive list
How to Connect Your Google Drive Account
Initial Setup
Click "Connect Google Drive Account" in any Drive action
Follow the Google authentication process
Grant necessary Drive permissions for file access and management
Your connected account will be available across all Drive actions
💡 Permissions: Ensure you grant appropriate permissions for the level of file access and management your workflows require.
How to Configure Google Drive Actions
How to Manage Files
Upload File
Connect your Google Drive account
Configure the file upload parameters based on your needs
Specify destination folder and file properties
💡 Use case: Automatically save workflow outputs to Drive, upload processed documents, or store generated reports in organized folder structures.
Update File
Connect your Google Drive account
Select Update Type from dropdown options:
Upload content from file URL: Update file content from a web URL
Upload content from file path: Update using local file path
Update file metadata: Modify file properties without changing content
Configure optional properties:
File Name: Change the file name
MIME Type: Specify file format
Add Parents: Move file to additional folders
Remove Parents: Remove file from folders
Keep Revision Forever: Preserve file history
OCR Language: Set language for optical character recognition
Use Content as Indexable Text: Enable text search within file
💡 Use case: Update documents with new content, modify file metadata based on workflow processing, or reorganize files by changing parent folders.
Move File
Connect your Google Drive account
Select the File to move
Configure optional properties:
Drive: Specify target shared drive
Folder: Choose destination folder
💡 Use case: Organize files based on workflow outcomes, move completed documents to archive folders, or relocate files based on processing status.
Delete File
Connect your Google Drive account
Select the File to delete permanently
💡 Use case: Clean up temporary files, remove outdated documents, or delete files when workflows determine they're no longer needed.
Move File to Trash
Connect your Google Drive account
Select the File or Folder to move to trash
Configure optional properties:
Drive: Specify which drive contains the file
💡 Use case: Safely remove files while preserving recovery options, clean up workspace while maintaining file history, or handle file deletion with rollback capability.
How to Search and Find Content
Search for Shared Drives
Connect your Google Drive account
Enter Search Query to find specific shared drives
Configure optional properties:
Use Domain Admin Access: Access all organization drives (admin only)
💡 Use case: Locate shared drives for automated file operations, audit organizational drive structure, or find drives for cross-team collaboration.
List Files
Connect your Google Drive account
Configure optional properties to filter results:
Drive: Specify which drive to search
Parent Folder: Limit search to specific folder
Fields: Choose which file metadata to retrieve
Filter Text: Search using Google Drive query syntax
Trashed: Include or exclude deleted files
💡 Use case: Generate file inventories, find files matching specific criteria, or retrieve file lists for processing or reporting.
Find Spreadsheets
Connect your Google Drive account
Locate Google Sheets files in your drive
💡 Use case: Identify data sources for workflow processing, locate spreadsheets for automated updates, or find sheets for data extraction.
Find Forms
Connect your Google Drive account
Locate Google Forms in your drive
💡 Use case: Connect forms to workflows for response processing, identify survey tools for data collection, or manage form-based automation triggers.
Find Folders
Connect your Google Drive account
Locate folders for organization and file management
💡 Use case: Identify folder structure for automated file organization, locate destination folders for file operations, or audit folder hierarchy.
Find Files
Connect your Google Drive account
Search for files across your Google Drive using various criteria
💡 Use case: Locate specific documents for processing, find files matching workflow conditions, or retrieve file lists for automated operations.
How to Manage Shared Drives
Update Shared Drive
Connect your Google Drive account
Select the Drive to update
Configure optional properties:
Use Domain Admin Access: Administrative access (if applicable)
Background Image: Set drive background
Link Color: Customize drive appearance
Restrictions: Set access and sharing limitations
💡 Use case: Maintain shared drive settings, update branding and appearance, or modify access restrictions based on organizational changes.
Get Shared Drive
Connect your Google Drive account
Configure optional properties:
Shared Drive: Specify which drive to examine
Use Domain Admin Access: Administrative access for all drives
💡 Use case: Retrieve drive metadata for workflow decisions, audit shared drive settings, or get drive information for reporting purposes.
Create Drive
Connect your Google Drive account
Create a new shared drive for team collaboration
Configure drive settings and permissions
💡 Use case: Automatically set up shared drives for new projects, create collaborative spaces for teams, or establish organized drive structures for different departments.
Delete Shared Drive
Connect your Google Drive account
Select the shared drive to permanently remove
Ensure all necessary files are backed up before deletion
💡 Use case: Clean up unused shared drives, remove drives for completed projects, or manage organizational drive structure by removing obsolete collaborative spaces.
How to Handle Access and Permissions
Resolve Access Proposals
Connect your Google Drive account
Select the File or Folder with pending access requests
Choose Access Proposal ID to address
Select Action to take on the proposal
Configure optional properties:
Drive Roles: Set permission levels
Send Notifications: Control notification settings
💡 Use case: Automate approval workflows for file access, manage permission requests systematically, or handle access control based on predefined criteria.
List Access Proposals
Connect your Google Drive account
Configure optional properties:
File or Folder: Specify target for proposal list
Drive: Choose which drive to examine
Max Results: Limit number of proposals returned
💡 Use case: Monitor pending access requests, audit permission workflows, or generate reports on sharing activity.
How to Get File and Folder Information
Get File ID
Connect your Google Drive account
Select the File to examine
Configure optional properties:
Drive: Specify which drive contains the file
Fields: Choose which metadata to retrieve
💡 Use case: Retrieve file identifiers for other workflow actions, get file metadata for processing, or extract file information for integration with other systems.
Get Folder ID for Path
Connect your Google Drive account
Enter the Path to the target folder
Configure optional properties:
Drive: Specify which drive to search
💡 Use case: Convert folder paths to IDs for API operations, locate folders using path notation, or resolve folder references for automated file operations.
Understanding Optional Properties
Flexible Configuration
Optional properties vary by action but commonly include drive selection, field specification, and access controls
Configuration types include:
Inputs: Text fields for custom values
Dropdowns: Selection from available options
Checkboxes: Boolean settings for features
Switches: Toggle controls for functionality
Drive Selection
Many actions support both personal Google Drive and shared drives
Use the drive parameter to specify which drive to operate on
Admin access options available for organizational management
💡 Tip: Start with basic configuration and add optional properties as your automation requirements become more sophisticated.
Important Considerations
File IDs are required for most file-specific operations
Shared drive access may require additional permissions
OCR and indexing features help with content searchability
Access proposals enable collaborative permission management
Trash operations provide safer file deletion with recovery options
Path-based operations help navigate complex folder structures
⚠️ Security: Be cautious with delete operations and ensure proper permissions are set before automating file management tasks.
How Google Drive Actions Work in Your Workflow
Add the appropriate Drive action based on your file management needs
Connect your Google Drive account securely
Configure required fields (files, folders, search criteria, etc.)
Set optional properties for advanced functionality
Connect the action to other workflow steps as needed
When the workflow runs, the Drive action will execute the specified operation
File data and metadata become available as variables for subsequent workflow actions
Common Workflow Patterns
Automated File Organization
Upload workflow outputs to organized folder structures
Move files based on processing results or content analysis
Create folder hierarchies automatically for projects or processes
Document Processing
Search for files matching specific criteria
Update file content or metadata based on workflow processing
Extract information from files for use in subsequent workflow steps
Collaboration Management
Handle access proposals automatically based on predefined rules
Manage shared drive settings and permissions
Monitor and audit file sharing activity
💡 Best Practice: Use Google Drive actions to seamlessly integrate file management into your business processes - from automated document processing to organized file storage and collaborative access control.
Last updated