Lleverage Documentation
WebsiteLegalPlatform
  • Get Started
    • Introduction
    • Co-Pilot
    • FAQ
  • Key Terms
  • Action Guide
    • Triggers
    • Output
    • AI
      • Prompt
      • Agents
      • AI Web Search
      • Generate Image
      • Browser Agent
  • Extracting Information
  • Using Information
  • Custom Code
  • Subworkflows
  • Knowledge Bases
  • Integrations
    • Gmail
    • Outlook
    • Slack
    • Microsoft Teams
    • Google Calendar
    • Sharepoint
    • Google Drive
    • Dropbox
    • Trello
    • Asana
    • Notion
    • ClickUp
    • Jira
    • Linear
    • Hubspot
    • Google Sheets
  • Canvas Guide
    • Canvas Controls
    • Flow Control
    • Action Cards
    • Action Connections
    • Variables and Data Flow
  • The Run Panel and Testing
  • Error Handling
  • Publishing Guide
    • How to Publish
    • API Endpoint
    • Chat App
    • Form App
    • Integration Configuration
    • Scheduling Workflows
  • Sharing
  • Settings
    • Account Setup
  • Projects
  • Subscription Management
  • Sharing & User Permissions
  • Technical
    • Models
    • Security & Performance
  • Analytics & Monitoring
  • Support
    • Release Notes
      • April 2025
      • March 2025
      • February 2025
      • January 2025
      • December 2024
      • November 2024
      • October 2024
      • September 2024
      • August 2024
      • July 2024
    • Getting Help and Troubleshooting
Powered by GitBook
On this page
  • Key Features
  • How to Add Google Drive Integration
  • How to Connect Your Google Drive Account
  • How to Configure Google Drive Actions
  • Understanding Optional Properties
  • Important Considerations
  • How Google Drive Actions Work in Your Workflow
  • Common Workflow Patterns
  1. Integrations

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

  1. 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

  2. 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

  3. Click on Google Drive to view available actions

  4. Select your desired Drive action from the comprehensive list

How to Connect Your Google Drive Account

Initial Setup

  1. Click "Connect Google Drive Account" in any Drive action

  2. Follow the Google authentication process

  3. Grant necessary Drive permissions for file access and management

  4. 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

  1. Connect your Google Drive account

  2. Configure the file upload parameters based on your needs

  3. 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

  1. Connect your Google Drive account

  2. 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

  3. 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

  1. Connect your Google Drive account

  2. Select the File to move

  3. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. Select the File or Folder to move to trash

  3. 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

  1. Connect your Google Drive account

  2. Enter Search Query to find specific shared drives

  3. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. Select the Drive to update

  3. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. Create a new shared drive for team collaboration

  3. 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

  1. Connect your Google Drive account

  2. Select the shared drive to permanently remove

  3. 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

  1. Connect your Google Drive account

  2. Select the File or Folder with pending access requests

  3. Choose Access Proposal ID to address

  4. Select Action to take on the proposal

  5. 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

  1. Connect your Google Drive account

  2. 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

  1. Connect your Google Drive account

  2. Select the File to examine

  3. 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

  1. Connect your Google Drive account

  2. Enter the Path to the target folder

  3. 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

  1. Add the appropriate Drive action based on your file management needs

  2. Connect your Google Drive account securely

  3. Configure required fields (files, folders, search criteria, etc.)

  4. Set optional properties for advanced functionality

  5. Connect the action to other workflow steps as needed

  6. When the workflow runs, the Drive action will execute the specified operation

  7. 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 9 days ago