> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 飞书在线表格指令模块

> 八爪鱼RPA已集成飞书电子表格和飞书群通知，通过使用飞书表格指令可以实时在线更新表格，共享表格后便于团队协作，多人一起操作表格。

八爪鱼RPA已集成飞书电子表格和飞书群通知，通过使用飞书表格指令可以实时在线更新表格，共享表格后便于团队协作，多人一起操作表格。

本文主要介绍**使用飞书表格的一些前期准备，教大家如何去创建飞书文档应用**，以便八爪鱼RPA可以调用这个应用去操作飞书表格。对于飞书表格的具体操作，请参考【飞书】这个类目下每一个具体指令的说明。

## 一、环境准备

### 1、创建飞书应用

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-01.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=88641d8f1cd2773eefa0775edea1a764" alt="飞书在线表格指令模块" width="505" height="658" data-path="helpcenter/commands/feishu/images/vPhs0M-01.png" />

### 2、使用“获取飞书表格”指令，获取所需操作的电子表格对象

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-02.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=05e7e6caa209ec21d2d240200f3c6ecb" alt="飞书在线表格指令模块" width="594" height="421" data-path="helpcenter/commands/feishu/images/vPhs0M-02.png" />

### 3、RPA机器人飞书应用设置权限

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-03.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=a235d9075d251a7887f1879a24679360" alt="飞书在线表格指令模块" width="1280" height="439" data-path="helpcenter/commands/feishu/images/vPhs0M-03.png" />

例如：搜索RPA，找到"八爪鱼RPA-飞书电子表格自动化”机器人，并给他赋予**编辑权限**

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-04.png?s=61ee821e8302831b537a5636067ee92d" alt="飞书在线表格指令模块" width="1870" height="926" data-path="helpcenter/commands/feishu/images/vPhs0M-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-05.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=aa44d96ec4686ce8afe9cc250e75495a" alt="飞书在线表格指令模块" width="596" height="180" data-path="helpcenter/commands/feishu/images/vPhs0M-05.png" />

如需使用自建的企业飞书应用需要先将应用进行版本发布申请上线应用，飞书企业版用户申请上线应用需企业管理员审核，飞书个人版用户申请上线应用会自动通过。

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-06.png?s=dd6d0c2209377afe756f8537e2753191" alt="飞书在线表格指令模块" width="1870" height="926" data-path="helpcenter/commands/feishu/images/vPhs0M-06.png" />

### 4、给飞书应用增加访问飞书电子表格的权限的流程

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-07.png?s=2856fd0823fe18d04322a412a5d7eba6" alt="飞书在线表格指令模块" width="1870" height="926" data-path="helpcenter/commands/feishu/images/vPhs0M-07.png" />

## 二、在RPA里面的应用

### 1、获取飞书的访问凭证

这个指令需要填写对应飞书应用的App Id和App Secrect

App ID：输入飞书的应用唯一标识，在飞书开发者后台打开应用的详情页，并在“凭证与基础信息“页面获取

App Secret：输入飞书的应用密钥，在飞书开发者后台打开应用的详情页，并在“凭证与基础信息“页面获取

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/feishu/images/vPhs0M-08.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=6721efea72fa21826e0d96ff9bb62d94" alt="飞书在线表格指令模块" width="1041" height="584" data-path="helpcenter/commands/feishu/images/vPhs0M-08.png" />

<Info>
  使用过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
