Google Sheets
Last updated
Last updated
Google Sheets is a web-based spreadsheet application. This module provides functionality to load and process data from Google Sheets documents, supporting various data formatting options and sheet selection.
This module provides a sophisticated Google Sheets document loader that can:
Load data from multiple spreadsheets
Select specific sheets and ranges
Handle formatted and unformatted values
Process formulas and calculations
Customize header handling
Process content with text splitters
Handle OAuth2 authentication
Select Spreadsheet: Choose spreadsheet(s) from your Google Drive
Sheet Names: Comma-separated list of sheet names to load
Range: Specific range to load (e.g., A1:E10)
Include Headers: Whether to include first row as headers (default: true)
Value Render Option: How values should be represented:
Formatted Value: As shown in the UI
Unformatted Value: Raw values
Formula: Original formulas
Text Splitter: A text splitter to process the extracted content
Additional Metadata: JSON object with additional metadata
Omit Metadata Keys: Comma-separated list of metadata keys to omit
Document: Array of document objects containing metadata and pageContent
Text: Concatenated string from pageContent of documents
OAuth2 authentication
Multiple spreadsheet support
Sheet selection
Range specification
Header handling
Value formatting options
Text splitting support
Metadata customization
Values as displayed in UI
Includes formatting
Numbers with decimals/currency
Dates in specified format
Raw cell values
Numbers without formatting
Dates as serial numbers
Boolean as true/false
Original formulas
Cell references
Functions
Calculations
Each document contains:
pageContent: Formatted sheet content
metadata:
spreadsheetId: Google Sheets ID
spreadsheetName: Document name
sheetName: Sheet name
range: Selected range
headers: Column headers (if included)
lastModified: Last modification date
url: Web view link
Additional custom metadata
Requires OAuth2 authentication
Handles rate limiting
Supports large spreadsheets
Memory-efficient processing
Error handling for invalid ranges
Automatic token refresh
Real-time data access
Connect Credential: Google Sheets OAuth2 credentials. Refer to