Files
n8n-docs/docs/advanced-ai/examples/data-google-sheets.md

1.7 KiB

contentType, title, description, workflowFile
contentType title description workflowFile
howto Chat with a Google Sheet using AI Use the n8n workflow tool to load data from Google Sheets into your AI workflow. advanced-ai/examples/chat_with_google_sheets_docs_version.json

Chat with a Google Sheet using AI

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

!["Screenshot of the two workflows in this example"](/_images/advanced-ai/examples/chat-with-google-sheets.png)
[Download the example workflow](/_workflows/ page.meta.workflowFile )

Key features

This workflow uses:

  • Chat Trigger: start your workflow and respond to user chat interactions. The node provides a customizable chat interface.
  • Agent: the key piece of the AI workflow. The Agent interacts with other components of the workflow and makes decisions about what tools to use.
  • Custom n8n Workflow Tool: plug in n8n workflows as custom tools. In AI, a tool is an interface the AI can use to interact with the world (in this case, the data provided by your workflow). It allows the AI model to access information beyond its built-in dataset.

Using the example

% include "_includes/examples-color-key.html" %