Automate Bank Statement Q&A with n8n and Mistral AI

This workflow monitors local bank statement files, syncs them to Qdrant vector storage, and enables AI-powered Q&A with Mistral. Automate file changes and keep your document AI agent updated effortlessly.
localFileTrigger
embeddingsMistralCloud
vectorStoreQdrant
+14
Workflow Identifier: 1259
NODES in Use: Local File Trigger, Manual Trigger, Set, Sticky Note, Read Write File, Embeddings Mistral Cloud, Default Data Loader, Recursive Character Text Splitter, Chat Trigger, Question and Answer Chain, LM Chat Mistral Cloud, Vector Store Retriever, HTTP Request, If, Switch, Set, Qdrant Vector Store
Automate bank Q&A with n8n and Mistral AI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow watches a folder on a local computer for bank statement files that are added, changed, or deleted.
It updates a special vector database with AI-generated vectors from these files.
Users can ask questions about all bank statements using AI chat.
It saves time by giving fast, clear, and correct answers.

The main problem is manual tracking is slow, has mistakes, and wastes time.
This automation keeps everything up to date automatically.

Inputs, Processing Steps, and Outputs

Inputs:

  • Local file changes: Adding, changing, or deleting bank statement files in a chosen folder.
  • User questions: Sent to a webhook that triggers the AI agent.

Processing Steps:

  1. Watch folder for file events using Local File Trigger.
  2. Set important variables like file paths and database collection in Set node.
  3. Use Switch to check what kind of file event happened.
  4. If file deleted, search matching vector points and delete them from Qdrant via HTTP nodes.
  5. If file changed, delete old vector points then reprocess the new content.
  6. If file added or changed, read file content.
  7. Prepare document text and metadata.
  8. Generate vector embeddings using Mistral AI embedding API.
  9. Insert or update vector data in Qdrant vector database.
  10. Split long texts into pieces using Recursive Character Text Splitter.
  11. Load chunks for AI knowledge base.
  12. Answer user questions with Mistral chat model paired with Qdrant vector retriever.

Outputs:

  • Automated, updated vector records matching current files.
  • Quick, relevant AI answers about bank statements.

Who Should Use This Workflow

This workflow fits people who:

  • Have many local bank statement files needing regular updates.
  • Want AI help to quickly find info inside documents.
  • Prefer not to do manual cross-checking or searching.
  • Work inside n8n automation platform.

It is good for analysts, accountants, or any person managing financial files on their computer.


Tools and Services Used


Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Download and Import the Workflow

  1. Click the Download button on this page to save the workflow file.
  2. Open the n8n editor where you want to use the workflow.
  3. Choose “Import from File” and select the downloaded workflow file.

Step 2: Add Credentials and Configure Nodes

  1. Add your Mistral Cloud API key in the nodes for embeddings and chat.
  2. Input your Qdrant API credentials and URL in HTTP Request and vector store nodes.
  3. Set the folder path in the Local File Trigger node to match your bank statement folder.
  4. If your workflow has any IDs, emails, or channels, check and update them.

Step 3: Test the Workflow

  1. Manually add, update, or delete a test file in the monitored folder.
  2. Check workflow executions to confirm it reacts and updates vectors.
  3. Use the webhook URL to send test questions and see AI answers.

Step 4: Activate for Production

  1. Turn on the Local File Trigger node to start continuous monitoring.
  2. Keep your credentials secure and monitor logs for any errors.
  3. Optionally adjust settings or customize as needed.

If running self hosting n8n or VPS, see self-host n8n resources for folder mounts and permissions.


Customizations

  • Change the folder path in Local File Trigger to watch other documents.
  • Switch Mistral AI models by editing API keys or model names for better results.
  • Modify Qdrant collection names to separate data types.
  • Add extra metadata filtering in HTTP nodes for precise vector management.
  • Add monitoring for more file events like renaming.

Troubleshooting

No Workflow Trigger on File Change

Check if folder path is correctly mounted and accessible by n8n, especially in Docker.
Use absolute paths and verify permissions.

Vector Points Not Updating

Confirm Qdrant API calls succeed with correct credentials and payload.
Test outside n8n with tools like Postman.

AI Agent Gives Wrong Answers

Verify text splitting and embedding nodes produce expected outputs.
Ensure vector store has current points linked to documents.


Pre-Production Checklist

  • Verify folder paths and volume mounts.
  • Test Mistral API keys separately for embeds and chat.
  • Check Qdrant collection and API permissions.
  • Add sample files and watch workflow updates.
  • Review executions and error logs.

Summary

✓ Automates folder watching and vector updating.
✓ Converts bank statement text to AI-searchable vectors.
✓ Answers questions with Mistral AI chat and Qdrant retrieval.
✓ Saves hours of manual work and reduces errors.
✓ Easy to deploy by importing workflow and adding credentials.
→ Real-time, accurate financial insights.
→ Workflow stays synced with file changes.


Automate bank Q&A with n8n and Mistral AI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, but API calls and nodes must be changed to fit the new vector database’s requirements.
API use depends on how often files change and how many questions are asked. Monitor AI and vector database plans accordingly.
Common causes are wrong folder paths or missing folder mounts in Docker setups. Check absolute paths and permissions.
Irrelevant answers happen if vector updates fail or text splitting and embedding nodes do not work properly.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.