Use this reference whenever a workflow updates the local customer outreach workbook and the WorkBuddy/Lark Sheets plugin is available.
Feishu sync is a mandatory post-write step when all conditions are true:
--write-excel, --write-summary, --write-workbook, email status write-back, or social outreach status write-back.feishu_sync_config.json with enabled: true.lark-sheets plugin in WorkBuddy.If the config is missing, report once: 本地建联表已更新;未发现 feishu_sync_config.json,飞书同步未执行。 Do not silently skip. If the plugin is unavailable or unauthenticated, report: 本地建联表已更新;飞书同步待授权/待插件可用。 Do not roll back the local workbook.
Real Feishu URLs or tokens must live in the project root config file, not inside the skill package.
Recommended project config file: feishu_sync_config.json.
{
"enabled": true,
"spreadsheet_url": "https://example.feishu.cn/sheets/xxxxxx",
"spreadsheet_token": "",
"sync_scope": "summary_first",
"summary_sheet_name": "客户信息汇总表",
"conversation_sheet_name": "Facebook对话记录",
"sync_conversation_sheet": true,
"channel_sheets": [
"Facebook",
"LinkedIn",
"Google Maps",
"汽车网站精选线索",
"协会商会"
]
}
Rules:
spreadsheet_url or spreadsheet_token; prefer spreadsheet_url when available.enabled=false to disable automatic sync without deleting config.assets/feishu_sync_config.example.json, never a real project config.Default sync_scope is summary_first.
客户信息汇总表 by default after it is rebuilt successfully.sync_conversation_sheet=true, sync both Facebook对话记录 and the rebuilt 客户信息汇总表.sync_scope is set to all_configured_sheets.When sync is required, the agent must use the WorkBuddy lark-sheets plugin. If it needs to locate a spreadsheet by name or folder first, use lark-drive search only for discovery, then return to lark-sheets for table operations.
Before writing with lark-sheets, follow that skill's required setup, including reading lark-shared for authentication and permissions. Do not use lark-doc for customer table sync unless the user explicitly asks for a narrative document.
客户信息汇总表, preserving header order and all effective rows.lark-sheets +workbook-info to confirm the remote spreadsheet exists and list sheet names.+table-put when typed data matters, otherwise +csv-put is acceptable for plain text customer tables.+csv-get and verify remote header, effective row count, first data row, and last data row.runs/YYYYMMDD/<run_id>/feishu-sync-report.json when a run directory exists; otherwise print the report in chat.A completed write-enabled workflow should end with one of these statuses:
本地建联表已更新,飞书客户信息汇总表已同步并回读校验通过。本地建联表已更新;feishu_sync_config.json 未配置,飞书同步未执行。本地建联表已更新;飞书同步失败:<原因>。本地数据已保留。