Feishu Bitable Data Sync

v1.0.0

Feishu Bitable Data Sync - Sync data between multiple bitables or external sources. **Features**: - Sync data between two bitables - Import data from externa...

0· 120·0 current·1 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description match the runtime instructions (list, query, batch_create/update/delete, conflict resolution, CSV import). All referenced capabilities are Feishu Bitable operations; there are no unrelated environment variables or binaries requested.
Instruction Scope
SKILL.md stays focused on Feishu Bitable actions and sync patterns. It assumes the presence of platform connector tools (feishu_bitable_app, feishu_bitable_app_table, feishu_bitable_app_table_record) and that the agent will be given app_token and table_id inputs; it does not instruct reading arbitrary local files or unrelated env vars. The doc shows CSV import examples but does not include explicit instructions for securely obtaining or storing tokens.
Install Mechanism
No install spec and no code files — this is instruction-only, which minimizes risk from downloads or executed installers.
Credentials
The skill does not declare required environment variables, but the instructions require Feishu app_token values and table/record identifiers to operate. That is proportional to its purpose, but the SKILL.md does not describe how tokens are supplied to the agent or stored, so operators should confirm token handling and scope.
Persistence & Privilege
always:false (default) and user-invocable:true — the skill does not request forced or persistent inclusion. It also does not attempt to modify other skills or system-wide settings.
Assessment
This skill is a descriptive guide for syncing Feishu Bitable data and appears coherent. Before using it: (1) Confirm your agent environment provides the Feishu connector tools referenced (feishu_bitable_app*). (2) Provide app_token and table_id only when needed and ensure tokens have least-privilege scopes (read/write limited to the relevant tables). (3) Test syncs on a sample/staging table first and back up data before running batch updates/deletes. (4) Verify how tokens will be stored or passed to the agent (avoid embedding long-lived credentials in chat history). (5) Check the conflict-resolution logic and mappings (field types and person IDs) to avoid accidental data corruption. If you need the skill to run autonomously, restrict the token permissions and set clear safeguards (dry-run, limits, confirmation prompts).

Like a lobster shell, security has layers — review code before you run it.

bitablevk9797cmxfyqy3nqagr1801xnp983z7j8datavk9797cmxfyqy3nqagr1801xnp983z7j8feishuvk9797cmxfyqy3nqagr1801xnp983z7j8latestvk9797cmxfyqy3nqagr1801xnp983z7j8syncvk9797cmxfyqy3nqagr1801xnp983z7j8
120downloads
0stars
1versions
Updated 2w ago
v1.0.0
MIT-0

Feishu Bitable Data Sync

⚠️ Pre-requisites

  • Get app_token: From bitable URL or list API
  • Get table_id: From bitable table list
  • Field types: Must match exactly (text=1, number=2, date=5, person=11, etc.)

📋 Quick Reference

IntentToolactionRequired Params
List bitablesfeishu_bitable_applist-
List tablesfeishu_bitable_app_tablelistapp_token
Query recordsfeishu_bitable_app_table_recordlistapp_token, table_id
Create recordsfeishu_bitable_app_table_recordbatch_createapp_token, table_id, records
Update recordsfeishu_bitable_app_table_recordbatch_updateapp_token, table_id, records
Delete recordsfeishu_bitable_app_table_recordbatch_deleteapp_token, table_id, record_ids

🛠️ Sync Patterns

1. One-way Sync (Source → Destination)

// Step 1: Read source data
{
  "action": "list",
  "app_token": "source_token",
  "table_id": "source_table",
  "page_size": 500
}

// Step 2: Transform and write to destination
{
  "action": "batch_create",
  "app_token": "dest_token", 
  "table_id": "dest_table",
  "records": [
    {"fields": {"字段A": "值1", "字段B": "值2"}}
  ]
}

2. Two-way Sync with Conflict Resolution

Compare records by unique identifier and handle conflicts:

// Pseudo-code for sync:
// 1. Fetch both bitables
// 2. Compare by unique field (如: 任务ID)
// 3. If source is newer: update dest
// 4. If dest is newer: update source (or skip)
// 5. Report sync results

{
  "action": "list",
  "app_token": "token",
  "table_id": "table",
  "filter": {
    "conjunction": "and",
    "conditions": [{"field_name": "同步状态", "operator": "is", "value": ["未同步"]}]
  }
}

3. Import from CSV

Convert CSV to bitable records:

任务名称,负责人,截止日期,优先级
任务A,张三,2026-04-01,高
任务B,李四,2026-04-02,中
{
  "action": "batch_create",
  "app_token": "Mxxx",
  "table_id": "Txxx",
  "records": [
    {"fields": {"任务名称": "任务A", "负责人": [{"id": "ou_xxx"}], "截止日期": 1743446400000, "优先级": "高"}},
    {"fields": {"任务名称": "任务B", "负责人": [{"id": "ou_yyy"}], "截止日期": 1743532800000, "优先级": "中"}}
  ]
}

4. Scheduled Sync Marker

Use a special field to track sync status:

唯一标识数据同步时间同步状态
TASK_001{...}1743446400000已同步
{
  "action": "batch_update",
  "app_token": "Mxxx",
  "table_id": "Txxx",
  "records": [
    {"record_id": "rec_xxx", "fields": {"同步状态": "已同步", "同步时间": 1743446400000}}
  ]
}

💰 Pricing

VersionPriceFeatures
Free¥0Manual sync, up to 100 records
Pro¥15/monthAuto sync, 500 records, conflict resolution
Team¥45/monthScheduled sync, API, unlimited

📝 Example

User says: "把A表格的任务同步到B表格,只同步未完成的任务"

Execute:

  1. List records from source with filter for 未完成
  2. Transform records to match destination schema
  3. Batch create or update destination records
  4. Mark source records as 已同步

🔧 Field Type Reference

Type IDField Type
1Text
2Number
3Single Select
4Multi Select
5Date
7Checkbox
11Person
13Phone
15URL
17Attachment
1001Created Time
1002Modified Time

Comments

Loading comments...