Skip to content

使用 AI 与 Google 表格聊天(Chat with a Google Sheet using AI)#

使用 n8n 将你自己的数据引入 AI。此工作流程使用 Chat Trigger 提供聊天界面,并使用 Call n8n Workflow Tool 调用第二个查询 Google 表格的工作流程。

🌐 Use n8n to bring your own data to AI. This workflow uses the Chat Trigger to provide the chat interface, and the Call n8n Workflow Tool to call a second workflow that queries Google Sheets.

Workflow preview placeholder.

}

主要功能(Key features)#

此工作流程使用:

🌐 This workflow uses:

  • 聊天触发器:启动您的工作流程并回应用户的聊天互动。该节点提供了一个可自定义的聊天界面。
  • 代理:AI 工作流程的关键部分。代理与工作流程中的其他组件进行交互,并决定使用哪些工具。
  • 调用 n8n 工作流工具:将 n8n 工作流作为自定义工具接入。在 AI 中,工具是 AI 用来与外界交互的接口(在此情况下,即你的工作流提供的数据)。AI 模型使用该工具来获取超出其内置数据集的信息。

使用示例(Using the example)#

To load the template into your n8n instance:

  1. Download the workflow JSON file.
  2. Open a new workflow in your n8n instance.
  3. Copy in the JSON, or select Workflow menu Workflow menu icon > Import from file....

The example workflows use Sticky Notes to guide you:

  • Yellow: notes and information.
  • Green: instructions to run the workflow.
  • Orange: you need to change something to make the workflow work.
  • Blue: draws attention to a key feature of the example.