๐Ÿ’ฌ Smart chat assistant with GPT-5, Google Sheets, and Pinecone RAG memory

โšก 468 views ยท ๐Ÿ’ฌ Support Chatbots

Description

๐Ÿ“Š Description

Empower your workflows with an intelligent AI chat assistant that retrieves real-time context from Google Sheets and a Pinecone knowledge base using Retrieval-Augmented Generation (RAG). ๐Ÿค–๐Ÿ“‚ This workflow processes chat messages, retrieves relevant contextual data, generates natural and context-aware responses via OpenAI GPT-5, and automatically logs every interaction in Google Sheets. It also auto-indexes new documents from Google Drive into Pinecone for knowledge expansion and emails weekly chat history summaries for review. ๐Ÿ’ฌ๐Ÿ“Š

What This Template Does

1๏ธโƒฃ Chat Trigger โ€“ Receives incoming chat messages through a webhook. ๐Ÿ’ฌ 2๏ธโƒฃ Data Enrichment โ€“ Extracts topic, intent, and context from messages. ๐Ÿงฉ 3๏ธโƒฃ Context Retrieval โ€“ Fetches structured data from Google Sheets and semantic data from Pinecone. ๐Ÿง  4๏ธโƒฃ AI Response Generation โ€“ Uses GPT-5 to produce relevant, human-like replies with contextual references. ๐Ÿค– 5๏ธโƒฃ Conversation Logging โ€“ Stores chat sessions with timestamps and detected intent in Google Sheets. ๐Ÿ“‹ 6๏ธโƒฃ Knowledge Base Expansion โ€“ Automatically indexes new files from Google Drive to Pinecone for future RAG responses. ๐Ÿ“‚ 7๏ธโƒฃ Weekly Report โ€“ Aggregates all chats and sends an email summary with logs attached via Gmail every Monday. ๐Ÿ“ง

Key Benefits

โœ… AI chat assistant with contextual accuracy using RAG โœ… Auto-updating knowledge base via Google Drive โ†’ Pinecone โœ… End-to-end chat tracking and audit-ready logging โœ… Weekly performance reports via Gmail โœ… Seamless integration with Google Workspace

Features

Requirements

Replace:

Target Audience

Step-by-Step Setup Instructions

1๏ธโƒฃ Connect your OpenAI, Pinecone, Google Sheets, Google Drive, and Gmail credentials. 2๏ธโƒฃ Update the Pinecone index and Google Sheet ID in the nodes. 3๏ธโƒฃ Set your chat webhook URL for real-time message input. 4๏ธโƒฃ Add your Google Drive folder ID for automated knowledge ingestion. 5๏ธโƒฃ Test the chat workflow with sample messages. 6๏ธโƒฃ Enable the schedule trigger to email weekly chat logs automatically. โœ…

๐Ÿ”— Nodes Used

Google Sheets, Google Drive, Gmail, Google Drive Trigger, Schedule Trigger, AI Agent

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup