Quick Overview

Google Docs integration enables your AI agents to become document management assistants. Create, edit, and manage documents automatically with both triggers and actions for complete document workflow automation. Key benefits of Google Docs integration:
  • Automated document creation – Generate docs from templates with dynamic data
  • Real-time content management – Update and edit documents automatically
  • AI-driven editing – Intelligent text processing and formatting
  • Approval workflows – Streamlined document review and approval processes

How to set up Google Docs

1

Add Google Docs to your workflow

Click on the plus sign at the bottom or right-click anywhere on the canvas and select “Add Trigger” or “Add Action” from the pop-up menu and choose “Google Docs”
Add Google Docs to workflow
2

Connect and Configure your Google Docs

Click on “Add Account” and authorize your Google Docs for Lindy’s integrations by granting permissions for Drive and Docs access. Choose which folders you want this Lindy to access.
Google Docs connection

Google Docs Triggers

New Document Created

Google Docs connection
Fires the moment a brand-new Google Doc appears in a chosen folder:
  • Folder filtering - Optionally select specific folder, defaults to watching entire Drive
  • Dynamic payload - Provides title, url, documentId, createdTime, creatorEmail, parentFolders
  • Perfect for auto-formatting new docs, posting Slack notifications, kickoff approval workflows

New or Updated Document

Fires on both creations and any subsequent modifications:
  • Real-time monitoring - Detects text edits, images, style changes, etc.
  • Enhanced payload - Includes lastModifiedTime, lastModifyingUser information
  • Ideal for change-log summaries, content sync to CMS, maintaining documentation repos
Google push notifications are near-real-time (5-15 seconds). For large organizations, segment by folder to avoid hitting daily push quotas.

Google Docs Actions

Create Document

Creates new Google Docs with customizable settings:
  • Complete document creation with title and folder selection
  • Returns documentId, url for downstream actions
  • Perfect for generating weekly report shells, customer proposal skeletons

Create Document from Template

Rapidly create documents using template merge:
  • Pick any Google Doc as template with {{mergeField}} placeholders
  • Auto-generates input fields for each detected placeholder
  • Ideal for contracts, offer letters, invoices, personalized onboarding guides

Create PDF

Converts documents to PDF format:
  • Source document selection with destination folder
  • Returns Drive-hosted PDF link and file ID
  • Perfect for auto-emailing signed PDFs, uploading to e-signature tools

Get Document

Retrieves document information:
  • Fuzzy search by ID, Name, or URL
  • Returns full plain-text body plus metadata
  • Essential for feeding content into AI summarizers, content comparison

Update Document

Modifies existing document content:
  • Multiple modes: append, prepend, replace
  • Supports markdown, plain text, or HTML-like content
  • Perfect for appending meeting minutes, adding notices, content revisions

Append Text (Premium)

Lightweight content addition optimized for speed:
  • Choose start or end of document placement
  • Optimized for streaming from AI-generated content
  • Ideal for progressive content building

Replace Text (Premium)

Powerful text search and replacement:
  • Regex support for complex pattern matching
  • Match case sensitivity and replace all options
  • Perfect for bulk redaction, brand-name swaps, token replacement

Append Image (Premium)

Add images to documents automatically:
  • Image URL input with position control (start/end)
  • Proxy fetch and embed for external images
  • Great for automated report generation with charts/diagrams

Find Document (Premium)

Search and locate documents intelligently:
  • Name-based search with folder scoping
  • Returns array of matches with IDs, titles, links
  • Essential for version control, avoiding duplicates, routing workflows

Practical Implementation Scenarios

Best Practices

Next steps