by vip2193 · v0.0.1
Manage WeCom online spreadsheet - create, add, get, update rows
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: neo
Version: 0.0.1
Type: tool
WeChat Work Smart Sheet plugin for Dify, supporting create, add, and update operations.
Create Custom Application:
Enable API Permissions:
Get Corporate ID:
After installing the plugin, configure Provider credentials:
Open WeChat Work Smart Sheet:
https://doc.weixin.qq.com/smartsheet/xxxxxCreate a new smart sheet and return docid for subsequent operations.
Parameters:
sheet_name: Sheet nameadmin_users: Admin user IDs, comma-separated (optional)Example:
{
"sheet_name": "Sales Data Sheet"
}
Add new records to smart sheets.
Parameters:
sheet_id: Sheet document ID (docid)sheet_name: Sub-sheet IDrows_data: JSON array format, using field names as keysExample:
{
"sheet_id": "your_docid",
"sheet_name": "your_sheet_id",
"rows_data": "[{\"Name\": \"John\", \"Age\": \"25\", \"Position\": \"Engineer\"}]"
}
Query all sub-sheet information in smart sheets.
Parameters:
sheet_id: Sheet document ID (docid)sub_sheet_id: Specify sub-sheet ID (optional)need_all_type_sheet: Include dashboards and description pages (optional, default false)Example:
{
"sheet_id": "your_docid",
"need_all_type_sheet": true
}
Response:
{
"success": true,
"sheet_count": 2,
"sheet_list": [
{
"sheet_id": "123Abc",
"title": "Worksheet1",
"is_visible": true,
"type": "smartsheet"
}
]
}
Get smart sheet property information.
Parameters:
sheet_id: Sheet document ID (docid)Example:
{
"sheet_id": "your_docid"
}
Update specified records in smart sheets.
Parameters:
sheet_id: Sheet document ID (docid)sheet_name: Sub-sheet IDrecord_id: Record ID to updaterow_data: JSON object format, using field names as keysExample:
{
"sheet_id": "your_docid",
"sheet_name": "your_sheet_id",
"record_id": "record_id_from_add",
"row_data": "{\"Name\": \"Mike\", \"Age\": \"35\"}"
}
✓ Sensitive credentials (Corporate ID, Secret) encrypted storage in Provider
✓ No sensitive information exposed in workflows
✓ Automatic access_token management, no manual refresh needed
✓ Complies with enterprise security best practices
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python test_local.py