by omluc · v0.0.2
integration for google sheets
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Author: omluc Version: 0.0.2 Type: tool
This plugin provides a set of tools for integrating Google Sheets with Dify applications. It allows you to read and write data in Google Sheets directly from your Dify workflows and agents.
credentials_json: The entire content of the service account JSON key file.Use the Batch Get tool to retrieve data from multiple ranges.
Input:
{
"spreadsheet_id": "your_spreadsheet_id",
"ranges": ["Sheet1!A1:C3", "Sheet2!B2:D4"]
}
Output:
{
"spreadsheetId": "your_spreadsheet_id",
"valueRanges": [
{
"range": "Sheet1!A1:C3",
"values": [
["Header1", "Header2", "Header3"],
["Value1", "Value2", "Value3"],
["Value4", "Value5", "Value6"]
]
},
{
"range": "Sheet2!B2:D4",
"values": [
["HeaderA", "HeaderB", "HeaderC"],
["ValueA1", "ValueB1", "ValueC1"],
["ValueA2", "ValueB2", "ValueC2"]
]
}
]
}
Use the 'Batch Update' tool to update multiple ranges in a sheet.
Input:
{
"spreadsheet_id": "your_spreadsheet_id",
"data": [
{
"range": "Sheet1!A1:B2",
"values": [
["NewHeader1", "NewHeader2"],
["NewValue1", "NewValue2"]
]
},
{
"range": "Sheet2!C3:D4",
"values": [
["Updated1", "Updated2"],
["Updated3", "Updated4"]
]
}
]
}
Output:
{
"spreadsheetId": "your_spreadsheet_id",
"totalUpdatedRows": 4,
"totalUpdatedColumns": 2,
"totalUpdatedCells": 8,
"responses": [
{
"updatedRange": "Sheet1!A1:B2"
},
{
"updatedRange": "Sheet2!C3:D4"
}
]
}
For issues or feature requests, please contact @omluc_ai on X.