This n8n workflow automates document management and enhances document interaction through AI. Designed for scenarios where large files like PDFs and text documents are stored in Supabase, it streamlines extracting content, converting it into vector embeddings, and enabling AI-powered querying. The workflow begins by fetching files from Supabase storage, filtering out duplicates and placeholder files, and downloading new files for processing. Depending on the file type, it extracts text or content from PDFs, then chunks large texts for efficient embedding generation using OpenAI’s models. These embeddings are stored in a vector database within Supabase, facilitating fast and relevant retrieval. A chatbot interface is integrated, allowing users to interact with the stored documents intelligently. Use cases include knowledge base creation, automated customer support, and dynamic content querying, making data accessible and actionable through AI-driven conversations.
Automated Document Processing and AI Chatbot Integration
Node Count | >20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.chatTrigger, @n8n/n8n-nodes-langchain.documentDefaultDataLoader, @n8n/n8n-nodes-langchain.embeddingsOpenAi, @n8n/n8n-nodes-langchain.lmChatOpenAi, @n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter, @n8n/n8n-nodes-langchain.toolVectorStore, @n8n/n8n-nodes-langchain.vectorStoreSupabase, aggregate, extractFromFile, httpRequest, if, manualTrigger, merge, splitInBatches, stickyNote, supabase, switch |
Reviews
There are no reviews yet.