Google Sheet Output Node
Google Sheet Output Node writes data to Google Sheets and is a data output node. It automatically handles data format conversion, persisting upstream node data to Google Sheets.
Node Information
Node Type
gsheet_output_node
Display Name
Google Sheet Output
Node Category
Output
Icon
π Sheet icon (green)
Handle Color
Rose
Functionality
Google Sheet Output Node writes upstream node data to Google Sheets for data persistence, logging, and result export.
Primary Use Cases:
Save trading records
Export analysis results
Record log data
Persist configuration
Backup important data
Key Features:
πΎ Google Sheets Integration: Direct write to Google Sheets
π Auto Formatting: Converts JSON data to tabular format
π Header Generation: Automatically creates header rows
βοΈ Overwrite Mode: Overwrites existing data
Input Parameters
Parameter List
data
object
Yes
-
Data to write (JSON format)
doc_link
text
No
-
Google Sheets URL or ID
data Parameter
Source: Upstream node output
Expected Format:
Example Input:
Supported Data Formats:
Standard format: Contains
headersandrowsObject array:
[{col1: val1, col2: val2}, ...]Nested objects: Auto-flattened
doc_link Parameter
Supported Formats:
Full URL:
Sheet ID:
Output Parameters
Google Sheet Output Node has no output parameters (terminal node).
Usage Examples
Example 1: Saving Trading Records
Scenario: Save trading history to Google Sheets.
Workflow Structure:
Code Node Output:
Node Configuration:
Example 2: Exporting Analysis Results
Scenario: Export AI analysis results to Google Sheets.
Workflow Structure:
analysis_data Format:
Example 3: Logging
Scenario: Record workflow execution logs.
Workflow Structure:
log_data Example:
Google Sheets Configuration
Requirements
Create Service Account
Enable Google Sheets API
Download credentials file
Share Google Sheets (requires "Editor" permission)
Permission Requirements:
Google Sheet Input: "Viewer" is sufficient
Google Sheet Output: Must have "Editor" permission
Best Practices
1. Data Formatting
Format in Code Node:
2. Data Validation
Validate before writing:
Important Notes
Overwrite Warning
Google Sheet Output Node overwrites existing data
Confirm target worksheet before writing
Consider using different worksheet names
Permission Requirements
Service Account must have "Editor" permission
"Viewer" only permission will cause write failure
Data Format
Must provide
headersandrowsAll rows must have consistent column count
Data will be converted to strings
API Quota
Daily write limits apply
Heavy writes may trigger limits
Consider batch writing
Concurrent Writes
Avoid multiple nodes writing to the same sheet
May cause data conflicts
Troubleshooting
Q: "Permission denied"?
A:
Confirm Service Account has "Editor" permission
Re-share Google Sheets
Check credentials file is correct
Q: Data format is garbled after writing?
A:
Check if
headersandrowshave consistent column countsConfirm all rows have the same length
Validate data format
Q: "No input data received"?
A:
Confirm upstream node correctly sent
datasignalCheck data connection is correct
Validate data format meets requirements
Technical Specifications
Node Version
0.1.0
Write Mode
Write (overwrite)
Data Source
Google Sheets
API
Google Sheets API v4
Permission Required
Editor
Timeout
60 seconds
Related Nodes
Google Sheet Input Node - Read data from Google Sheets
Code Node - Format data for writing
AI Model Node - Generate analysis results
Swap Node - Generate trading records
Related Documentation:
Nodes and Workflows - Node fundamentals
Google Sheet Input Node - Data reading node
Code Node - Data processing node
Last updated