Templates / AI-powered MIS agent

AI-powered MIS agent

Needs changes

by Kumar Shivam ✓ · 1,420 views · created 2025-05-23 · Document Extraction, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 96 nodes and runs on Google Drive events (file created) (plus 8 other triggers). Along the way it connects Gmail, Google Drive, OpenAI Chat Model and Google Sheets and 4 more.

How it runs

Trigger: On Google Drive events (file created) (plus 8 other triggers).

  1. Edit Fields (Edit Fields (Set)): sets 2 fields: folder_name, folder_url
  2. Gmail: get
  3. Edit Fields (Edit Fields (Set)): sets 2 fields: folder_name, folder_url
  4. Edit Fields (Edit Fields (Set)): sets 2 fields: folder_name, folder_url
  5. Edit Fields (Edit Fields (Set)): sets 2 fields: folder_name, folder_url
  6. Knowledge_base (Google Drive): work with file folder
  7. Drive Folders URL (Edit Fields (Set)): sets 3 fields: Daily Sales, Address, customer_info
  8. MIS Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 4 tools (Postgres, Calculator, Google Sheets, Call n8n Workflow Tool); memory: Simple Memory
  9. Operation Classifier (Text Classifier): classifies text into categories with AI, with model: OpenAI Chat Model
  10. Postgres: uses Postgres

…plus 65 more steps. See the full node list below.

Services it uses

GmailGoogle DriveOpenAI Chat ModelGoogle SheetsOpenAIPinecone Vector StorePostgresEmbeddings OpenAI

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in MIS Agent1 (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
MIS Agent1 (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (32)

From the author

The AI-powered MIS Agent is an intelligent, automated system built using n8n that streamlines email-based data collection and document organization for businesses. It classifies incoming emails, extracts and processes attachments or Drive links, and routes…

Excerpt from Kumar Shivam's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.