← 返回
未分类

Feishu Bitable Data Sync

Feishu Bitable Data Sync - Sync data between multiple bitables or external sources. **Features**: - Sync data between two bitables - Import data from externa...
飞书多维表格数据同步 - 在多个多维表格或外部数据源之间同步数据。 **功能**: - 在两个多维表格之间同步数据; - 从外部数据源导入数据
ramlee77 ramlee77 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 438
下载
💾 1
安装
1
版本
#bitable#data#feishu#latest#sync

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 07:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 457 📥 151,535
office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 381 📥 144,088
office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 926 📥 186,727