Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / RAG & Knowledge Bases

RAG & Knowledge Bases

Embed New Local Files with Mistral for Question Answering

When a local file appears or you run it manually, it reads the file, creates Mistral embeddings and stores them for a Mistral-based Q&A agent.

What it does

# Localfiletrigger Workflow ## Overview Automated workflow: Localfiletrigger Workflow. This workflow integrates 17 different services: stickyNote, httpRequest, embeddingsMistralCloud, textSplitterRecursiveCharacterTextSplitter, chainRetrievalQa. It contains 39 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 39 - Node Types: 17 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Local File Trigger: localFileTrigger - When clicking "Test workflow": manualTrigger - Set Variables: set - Sticky Note: stickyNote - Sticky Note4: stickyNote - Read File: readWriteFile - Embeddings Mistral Cloud: embeddingsMistralCloud - Default Data Loader: documentDefaultDataLoader - Recursive Character Text Splitter: textSplitterRecursiveCharacterTextSplitter - Prepare Embedding Document: set - ... and 29 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible

The steps

  1. Local File Trigger
  2. When clicking "Test workflow"
  3. Set Variables
  4. Read File
  5. Embeddings Mistral Cloud
  6. Default Data Loader
  7. Recursive Character Text Splitter
  8. Prepare Embedding Document
  9. Chat Trigger
  10. Question and Answer Chain
  11. Mistral Cloud Chat Model
  12. Vector Store Retriever
  13. Embeddings Mistral Cloud1
  14. Remap for File_Added Flow

62 steps in total.

Similar automations