> ## 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.

# 写入行至谷歌表格

## 指令说明

**描述：** 往谷歌表格里写入一行

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-10.jpg?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=a6dbc40d3e3f3740d501256ce55b5105" alt="写入行至谷歌表格指令参数面板" width="640" height="432" data-path="helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-10.jpg" />

    | 参数         | 说明                         |
    | ---------- | -------------------------- |
    | **谷歌电子表格** | 选择需要读取的谷歌电子表格              |
    | **写入方式**   | 选择写入行的方式，从空行开始写入、覆盖一行、插入一行 |
    | **写入内容**   | 输入列号，输入写入内容，可添加多列          |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-02.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=61b9c3d6cd712b81cff831572f925dd9" alt="写入行至谷歌表格使用示例" width="1048" height="219" data-path="helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-02.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-03.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=87bbe99fd904b854611186e4af38555d" alt="写入行至谷歌表格使用示例" width="1067" height="196" data-path="helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-03.png" />

**该流程执行逻辑：**

使用【获取谷歌访问凭证】获取谷歌访问凭证，并将其保存至谷歌访问凭证中

使用【获取谷歌表格】获取飞书表格，并将结果保存至谷歌表格中

使用【写入行至谷歌表格】往谷歌表格的第2行空行第1列写入“r”，第2列写入“p”，第3列写入“a”

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/Fj4gd-n2oOvAPIhl/helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-04.png?fit=max&auto=format&n=Fj4gd-n2oOvAPIhl&q=85&s=dc728a70bcd7a5e8c59eaf3630d24cf0" alt="写入行至谷歌表格效果展示" width="955" height="320" data-path="helpcenter/commands/google/images/writerowtogooglespreadsheetcommand-04.png" />

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