Quick Overview This workflow opens an n8n chat interface where an AI agent powered by Anthropic Claude answers questions by reading a connected Google Doc and/or Google Sheet on demand, using short-term conversation memory for follow-up questions. How it works Receives a user question through n8n’s built-in chat trigger. Uses an AI agent powered by Anthropic Claude to decide whether it needs to consult Google Docs, Google Sheets, or both. Reads the full text of the configured Google Doc when the question is about document content. Fetches rows from the configured Google Sheet tab when the question is about spreadsheet data. Answers in the chat based only on the retrieved Doc/Sheet content (or states the information isn’t present), while keeping the last 10 messages in memory for contextual follow-ups. Setup Add credentials for Anthropic (Claude), Google Docs, and Google Sheets. Replace YOUR_GOOGLE_DOC_ID_OR_URL with your target Google Doc URL or ID. Set the Google Sheet document ID and choose the tab (sheet name) to read in the Google Sheets tool. Confirm the connected Google account has access to both the Doc and the Sheet, then open the workflow chat and start asking questions.
Tags
Related workflows
See all AI Automation→AI chatbot that can search the web
This workflow is designed for dynamic and intelligent conversational capabilities. It incorporates OpenAI's GPT-4o model for natural language understanding and generation. Additional tools include SerpAPI and Wikipedia for enriched, data-driven responses. The workflow is triggered manually, and utilizes a 'Window Buffer Memory' to maintain the context of the last 20 interactions for better conversational continuity. All these components are orchestrated through n8n nodes, ensuring seamless interconnectivity. To use this template, you need to be on n8n version 1.50.0 or later.
AI agent chat
This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.
Slack chatbot powered by AI
This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.