PS Digitise
✦ Frappe Partner Free Consultation →
AI & ERPNext · Frappe

AI Chatbots in ERPNext :
Frappe Flow, MCP and Custom AI Assistants

Quick answer: An AI chatbot or assistant for Frappe and ERPNext lets users ask questions in plain language, such as "Which customer invoices are overdue?", and get answers from business records without manually navigating reports and lists. With Frappe Framework v16.60, businesses can use Frappe Flow, a built-in AI assistant that can answer questions about site data, run reports and help create or update documents. Other options include the built-in MCP server, marketplace apps, open-source projects and custom integrations. The right approach depends on the required features, supported version, permissions and data-handling requirements. AI-generated answers and actions still need appropriate access controls, testing and human review.

Key takeaways

  • Frappe Framework v16.60 introduces Frappe Flow, a built-in AI assistant and agent framework that is currently in beta.
  • Frappe Flow can answer questions about site data, run reports and work with documents through configured tools and permissions.
  • Frappe v16 also includes a built-in MCP server for connecting compatible external AI clients; it is distinct from Flow.
  • Marketplace apps, open-source projects and custom integrations remain useful for additional tools, channels and tailored workflows.
  • Check the installed Framework version, access model, audit controls and AI provider's data terms. Test carefully before enabling write actions.
💬
Ask
Plain-language questions
🔎
Retrieve
Live records and reports
⚡
Automate
Routine queries answered
🔐
Control
Permissions and audit trail

What Is an AI Chatbot in an ERP Context?

In an ERP setting, an AI chatbot is a conversational interface connected to the system's data. A user types or speaks a question, a language model works out what is being asked, the chatbot fetches the relevant records from ERPNext, and the answer comes back in plain language. This is different from two things it is often confused with:

ApproachHow it answersTypical limit
Rules-based FAQ botMatches keywords to fixed, pre-written repliesCannot answer anything about live data unless every case is scripted
Standard ERPNext reportsUser picks a report, sets filters and reads the outputRequires knowing which report and filters to use
AI chatbot connected to ERPNextInterprets a question, calls tools or APIs, summarises the resultDepends on the tools it is allowed to use; answers can be wrong and need checking

Why Teams Want One

ERPNext holds a great deal of useful information, but getting to it takes a skill many staff do not have time to build. Three patterns come up repeatedly in the businesses we work with:

What an AI Chatbot Can Do With ERPNext Data

TeamExample questionERPNext data involved
Sales"What is the status of Rajesh Traders' latest order?"Sales Order, Delivery Note, Sales Invoice
Accounts"Which invoices are more than 60 days overdue?"Sales Invoice, Accounts Receivable reports
Stores"How much of item X is in the main warehouse?"Bin, Stock Ledger, Warehouse
Purchase"Which purchase orders are still pending delivery?"Purchase Order, Purchase Receipt
HR"What is my leave balance?"Leave Allocation, Leave Application
Management"Summarise this month's sales by region."Sales Invoice, Territory, standard reports

1. Retrieve information

The most reliable use is looking things up: balances, statuses, quantities and dates. The chatbot calls a defined lookup or query and reports the result, which is easier to verify than an open-ended analysis.

2. Automate routine queries

Questions that follow a pattern can be handled more efficiently through a configured assistant. Frappe Flow also supports agents that can be scheduled or triggered by document events, allowing businesses to explore repeatable tasks beyond one-off chat questions. Employees checking leave balances, sales staff checking stock before quoting, or customers asking for an order status on a messaging channel are possible use cases when the required integrations, identity checks and access controls are in place.

3. Summarise and explain

Language models are good at turning a table of figures into a short written summary, or at explaining what a report shows. This is helpful for managers, but the underlying numbers should still come from ERPNext's own reports, not from the model's arithmetic.

4. Draft records for approval

Frappe Flow can work with documents, including creating, updating and submitting them through configured tools, subject to the permissions of the user interacting with Flow. Other chatbot integrations may also prepare drafts such as a Sales Order or Material Request. For business-critical records, define approval rules, restrict available actions and test write operations before enabling them in production.

How It Works

💬
1. User asks
Widget, chat window or WhatsApp
🧠
2. Model interprets
Works out data or action needed
🔧
3. Tools call ERPNext
Via APIs, as the signed-in user
🗄️
4. ERPNext returns data
Filtered by user permissions
✅
5. Answer composed
Plain language, with source records

The model itself does not "know" your business. It works through tools that the integration exposes, such as searching records, reading a document or running a report. The quality of the answer depends on which tools are available, how clearly they are defined and what the connected user is allowed to access. The Model Context Protocol (MCP) is an open standard that lets AI applications connect to external tools in a consistent way. Frappe v16 includes a built-in MCP server, so compatible external AI clients can connect to a Frappe site without installing a separate MCP server app. Access is governed by the configured Frappe user and the permissions assigned to that account.

Flow and MCP Are Different: Frappe Flow provides an AI assistant and agent framework inside the Frappe environment and respects the permissions of the user interacting with it. The built-in MCP server provides a connection for external AI clients and operates through the configured Frappe user. Do not assume an external AI client's individual chat user automatically becomes the Frappe user; configure and restrict that connection carefully.

Options in the Frappe and ERPNext Ecosystem

Frappe's AI capabilities have expanded with version 16.60. Businesses can now evaluate a first-party assistant alongside MCP connections, marketplace apps, open-source projects and custom integrations. The options below serve different purposes; check the current documentation, supported versions, pricing and configuration requirements before choosing.

1. Frappe Flow – Built-in AI Assistant

Frappe Flow is an AI assistant and agent framework introduced in Frappe Framework v16.60. It runs within the Frappe environment and lets users interact with their site through natural-language requests. It is currently in beta, so businesses should validate its behaviour and controls before relying on it for critical operations.

Depending on the configured tools, agents and permissions, Flow can:

Flow respects the permissions of the user interacting with it. It is part of the Frappe Framework rather than a separate ERPNext marketplace chatbot. Availability depends on the installed Framework version and the required AI provider and access configuration. Version 16.60 alone does not mean every feature is automatically enabled on every site.

Important: Flow is more than a website FAQ bot. Its agent capabilities can support business-data queries and document-related tasks, but write operations should be tested and governed with suitable approval controls.

2. Built-in MCP Server – Connect External AI Assistants

Frappe v16 includes a built-in Model Context Protocol (MCP) server. It allows compatible external AI clients to connect to a Frappe site and use the tools and data exposed through that connection. This means a separate MCP server app is not required simply to provide the built-in MCP endpoint on a supported v16 installation.

The MCP server is not the same as Frappe Flow. MCP provides a standard connection for external AI clients, while Flow provides an assistant and agent framework within Frappe. An MCP connection operates through its configured Frappe user, so give that account only the roles and access it needs. Do not assume the external AI client's signed-in user is automatically mapped to an individual Frappe user.

3. Frappe Assistant Core – Marketplace App

Frappe Assistant Core, published by Promantia, is a separate app listed on the Frappe Cloud Marketplace. Its listing describes an MCP server component for compatible AI clients and an in-site chat assistant. The listing also describes permission-aware actions, logging and approval steps for changes. The app supports specified Frappe/ERPNext versions, and some features may be plan-dependent. Check the current marketplace listing and confirm compatibility and pricing with the publisher before installation.

4. ChangAI – Open-Source AI Assistant

ChangAI is an open-source project from ERPGulf, announced on the Frappe Forum as a natural-language agent for ERPNext analytics. Review its current repository, supported versions, available tools and permission model before using it with business data.

5. Custom AI Chatbot Integrations

A custom integration connects an AI assistant to ERPNext APIs and exposes it through the channels and workflows a business needs, such as an internal web chat or WhatsApp. This approach offers control over the user experience, integrations and data handling, but requires development, testing, hosting and ongoing maintenance. It is useful when the built-in options do not cover a specific customer-facing or operational requirement.

ApproachSetup effortBest suited for
Frappe FlowConfigure AI provider, agents and accessBuilt-in AI assistance, reports and agents within Frappe
Built-in MCP serverConfigure MCP access and an AI clientConnecting compatible external AI assistants
Frappe Assistant CoreInstall and configure the marketplace appAdditional ERPNext-focused assistant tools and integrations
ChangAIInstall and technically configureOpen-source natural-language ERP queries and analytics
Custom chatbotCustom development and maintenanceWhatsApp, customer-facing bots and tailored workflows

Permissions, Accuracy and Data Privacy

These matter more than which model is used.

✓ Look for
✗ Be cautious of
Flow actions that respect the interacting user's permissions
An MCP service account with broad access that is not restricted to required records and tools
MCP connections that use a dedicated, restricted Frappe account
Write access switched on before read-only answers are trusted
A way for administrators to enable or disable individual tools
Unreviewed data-processing terms with the AI provider
An audit log of what the chatbot accessed or changed
Using chatbot figures directly for payments, tax or statutory reporting
Human approval before records are created or changed
Returning record-level data on a messaging channel without verifying who is asking
Source records shown alongside answers so they can be checked

Answers Can Be Wrong: A language model can misunderstand a question, choose the wrong record or filter, or summarise inaccurately, and it can sound confident while doing so. Confirm figures that drive decisions against the standard ERPNext report or document, and test with real questions from each team before wider rollout.

On Data Handling: To answer a question, an AI assistant may send the question and the data needed to answer it to the configured language model provider. Whether that is acceptable depends on the provider's data-processing terms, retention settings and security controls, which vary by provider, service and contract. Review them before go-live, decide what should be redacted, and set access, retention and deletion policies. Also review how Flow, MCP and any third-party app authenticate users and record tool activity.

How to Roll It Out

  1. List the real questions. Collect 10 to 20 questions people actually ask each week, and note which ERPNext records answer each one.
  2. Start read-only. Limit the first version to looking up and summarising information.
  3. Choose the approach. Compare a marketplace app, an MCP-based setup and a custom build against your channel needs, control, data privacy and budget.
  4. Set roles and test as each user. Ask the same questions as a salesperson, an accountant, a storekeeper and a manager, and check that each sees only what they should.
  5. Review data handling. Confirm the AI provider's terms, decide what to redact, and set audit and retention policies.
  6. Pilot with one team. Run it for a few weeks, log wrong or missing answers, and fix tools, prompts and permissions.
  7. Expand deliberately. Add teams, channels such as WhatsApp, or approval-based draft actions only after the pilot supports it.

Is an AI Chatbot Right for Your ERPNext Setup?

If your master data is inconsistent or roles are loosely defined, fix those first. A chatbot will make existing data problems visible faster, not resolve them.

Frequently asked questions

Does ERPNext have a built-in AI chatbot? +
With Frappe Framework v16.60, users can access Frappe Flow, a built-in AI assistant and agent framework. It can answer questions about site data, run reports and work with documents through configured tools. Flow is currently in beta. Earlier versions may need a marketplace app, an open-source project or a custom integration. Check your installed Framework version and configuration before planning a rollout.
What is Frappe Flow? +
Frappe Flow is an AI assistant and agent framework introduced in Frappe Framework v16.60. It lets users interact with their Frappe site using natural language and build agents with specific instructions, tools and knowledge. Depending on configuration and permissions, agents can answer questions, run reports and work with documents. Flow is currently in beta.
Is Frappe Flow available in ERPNext v16.60? +
Frappe Flow is provided by Frappe Framework v16.60; it is not a separate ERPNext marketplace chatbot. Check the installed Framework version, AI provider configuration and access settings. Having the version installed does not necessarily mean every feature is enabled or configured on the site.
Can an AI chatbot create or update ERPNext documents? +
Yes. Frappe Flow can create, update and submit documents through its configured tools, subject to the permissions of the user interacting with Flow. Other integrations may also support document actions. Businesses should test write operations carefully, restrict available tools and establish suitable approval controls before enabling them in production.
What is MCP and why does it matter for ERPNext? +
Model Context Protocol (MCP) is a standard that allows AI applications to connect to external tools. Frappe v16 includes a built-in MCP server that compatible AI clients can use to connect to a Frappe site. The connection operates through its configured Frappe user, so the account's roles and permissions should be restricted to the required access. MCP is an open standard, and the permissions model of the specific server still decides what is allowed.
What can an AI chatbot do with ERPNext data? +
Common uses are retrieving information in plain language (for example, an item's stock level, a customer's outstanding balance or the status of a purchase order), summarising reports, answering routine staff questions, and, where the setup allows it, drafting records for a person to approve. What it can do depends on which tools or APIs the chatbot is allowed to call and on the permissions of the user asking.
Is it safe to let an AI chatbot access ERP data? +
It can be, if it is set up with care. Frappe Flow respects the permissions of the user interacting with it. A built-in MCP connection operates through its configured Frappe user, which should have only the access required for the intended tools. Review logging, approval controls and the AI provider's data-processing terms, retention settings and security controls before go-live.
Can an AI chatbot give wrong answers about my ERP data? +
Yes. A language model can misread a question, pick the wrong record or filter, or summarise incorrectly. For figures that drive payments, tax or reporting, treat the chatbot's answer as a quick view and confirm it against the standard ERPNext report or document. Testing with real questions from each team before rollout, and keeping early use read-only, reduces the risk.
Can staff or customers use the chatbot on WhatsApp? +
A chatbot can be connected to WhatsApp through the WhatsApp Business API, and replies can be drawn from ERPNext data. This needs a configured WhatsApp Business account, compliance with WhatsApp's messaging rules, and careful decisions about which data may be shown over a messaging channel and how users are identified before any record-level information is returned.
How much does an AI chatbot for ERPNext cost? +
Cost depends on the approach: a marketplace or open-source app, a custom build, the language model's usage charges, any hosting for the AI service, and implementation effort for roles, prompts and testing. Some marketplace apps are paid or have plan-dependent features, and model usage is typically billed by volume. PS Digitise scopes costs after reviewing the questions you want answered and the channels you need.
Where should a business start with an AI chatbot in ERPNext? +
Start with a short list of questions your team asks repeatedly, keep the first version read-only, pilot it with one team, and test it under each user role. Expand to more teams, channels or draft-creating actions only after the answers have proved reliable and the permissions behave as expected.

Want to add an AI chatbot to your ERPNext?

PS Digitise can help you assess Frappe Flow, configure AI and MCP integrations, define the questions worth automating, or build a custom chatbot. Permissions, workflows and data handling reviewed up front. Free 30-minute consultation.

PS
PS Digitise LLP — Certified Frappe Partner
Written by the PS Digitise team, which implements ERPNext and Frappe apps and builds AI chatbots and automation for Indian businesses. Contact: sales@psdigitise.com · +91 9677 174 743
AI Chatbot ERPNext Frappe MCP ERP Automation Natural Language Queries
WhatsApp