DeskFerry Logo

AI Agent for CRM Updates — Built for ERPNext

For teams that run their pipeline in ERPNext's CRM module: an agent that reads sales email and meetings, then writes each one onto the right Lead or Opportunity as a comment, tag and follow-up ToDo.

Direct answer

How do I keep ERPNext Leads and Opportunities updated from email and meetings automatically?

Connect ERPNext and your sales mailbox to an agent and describe what should be logged.

  1. 01

    Trigger fires

    When a prospect replies or a meeting ends, the agent looks up the sender's Contact, follows its links to the open Lead or Opportunity, and adds a comment summarising what was said: quantities, requested delivery dates, objections.

  2. 02

    Match the sender to a Contact and its open Opportunity

    It adds tags such as quote-requested and creates a ToDo assigned to the Opportunity owner with the next step and a date.

  3. 03

    Comment with quantities, delivery dates and objections

    If your Opportunity DocType has a workflow, it applies the matching transition.

  4. 04

    Tag the Opportunity by what the prospect asked for

    Emails from addresses with no Contact, or a Customer with two open Opportunities, wait in a review queue instead of being filed on a guess.

  5. 05

    You approve

    Anything under your confidence bar waits for a human.

How you tell it what to do

Built in plain English.

You write the rule the way you'd describe it to a teammate. The agent reads the rule, breaks it into the actions it'll take, and confirms the apps it'll touch — before it does anything.

Your instruction
“After every prospect email in the @sales inbox or call on @Google Calendar, add a comment to the matching Opportunity in @ERPNext, tag it, and give the owner a ToDo for the next step.”
What the agent will do
  1. 1Match the sender to a Contact and its open Opportunity
  2. 2Comment with quantities, delivery dates and objections
  3. 3Tag the Opportunity by what the prospect asked for
  4. 4Create a dated ToDo for the Opportunity owner
Touches

How it connects

Connect ERPNext. The agent does the rest.

Claude and ChatGPT are already running on our side. You connect ERPNext with one click, and crm updates runs inside it.

01 / The agentBuilt in
Claude and ChatGPT

Claude and ChatGPT run on our keys. Nothing for you to configure.

02 / Your appsOne click each
  • ERPNextConnect
  • GmailConnect
  • Google CalendarConnect
03 / The work
CRM Updates

Runs on your data, in your apps.

Nothing to deploy. Nothing to maintain.

Actions

What ERPNext + DeskFerry can do

Real ERPNext actions your AI agent can perform automatically — no manual work required.

Add Comment

Tool to add a comment to a document in ERPNext/Frappe. Use when you need to add comments or notes to any document type like ToDo, Issue, Task, or custom DocTypes.

Add Tag

Tool to add a tag to a document in ERPNext. Use when you need to categorize or label documents for organization and filtering purposes.

Apply Workflow

Tool to apply a workflow action to a document in ERPNext/Frappe. Use when you need to transition a document through workflow states (e.g., approve, reject, submit). The document must have a workflow configured for its doctype.

Cancel Document

Cancel a submitted document in ERPNext/Frappe to change its status from Submitted to Cancelled. Use for submittable DocTypes when you need to reverse or cancel a submitted transaction. Document must be in Submitted state (docstatus=1) before cancellation.

Create Document

Tool to create a new document of a specific DocType in ERPNext. Use when you need to create records like ToDo, Customer, Lead, Sales Invoice, etc. The document data should include all required fields for the specific DocType. Standard fields like creation, modified, and owner are automatically set by ERPNext.

Create Timesheet

Tool to create a new Timesheet record in ERPNext. Use when you need to log time entries for employees or projects.

Create Webhook

Tool to create a new webhook configuration in ERPNext. Use when you need to set up automated callbacks for DocType events like creation, updates, or submissions.

Delete Document

Tool to delete a document using the Frappe client API. Use when you need to remove a specific document by its doctype and name.

Delete Document

Tool to delete a specific document by DocType and name. Use when you need to remove a document from ERPNext. Requires delete permissions for the specified DocType.

Download file from ERPNext

Tool to download a file from ERPNext by its URL. Use when you need to retrieve file content from the ERPNext instance using the file's URL path.

Review queue
3 pending
Unknown sender · rfq@halvorsenmarine.nojust now

No Contact or Lead carries this address. The email asks for a quote on 200 stainless hinges. Create a Lead?

Two open Opportunities · Brightwater Foods9 min ago

CRM-OPP-2026-00151 and -00177 are both open for this Customer. The email mentions pallets, which fits either one.

Possible loss · Ostrava Tooling22 min ago

Reply says they chose another supplier. Setting the Opportunity to Lost needs a lost reason from the owner.

Human in the loop

Approve before it sends.

Every draft lands in a review queue. You approve, edit, or reject — the agent never acts on its own unless you explicitly turn that on for a workflow you trust.

Governance

Every action, with the reasoning attached.

Each step the agent takes is logged with what it did, why it did it, and which app it touched. Audit-ready, so security and compliance can sign off without backfilling.

Activity log
Last 30 minutes
  1. Marco4:12 PM

    Closed the ToDo on CRM-OPP-2026-00184 after sending the revised Quotation.

  2. Agent3:48 PM

    Created a ToDo for Marco on CRM-OPP-2026-00184, due Sep 23.

  3. Agent3:47 PM

    Held the reply from Ostrava Tooling instead of changing the Opportunity.

    Reason: The email reads as a loss, but marking an Opportunity Lost needs a reason only the owner knows.

  4. Agent3:47 PM

    Added a comment and the tags quote-requested and delivery-change to CRM-OPP-2026-00184.

  5. Agent3:46 PM

    Matched rhea@kestrelfab.com to Contact Rhea Novak, linked to Customer Kestrel Fabrication.

How it works

Get started in three steps

  1. Step 01

    Connect ERPNext and the sales mailbox

    Add your ERPNext site URL with an API key and secret for a user that can read Contacts and write Comments, Tags and ToDos. Then connect Gmail and Google Calendar.

  2. Step 02

    Say what gets logged, and where

    For example: put quantities and dates in the comment, tag quote requests, give the owner a ToDo two working days out, and never touch Opportunities already Converted.

  3. Step 03

    Settle the unmatched and the ambiguous

    Senders with no Contact, Customers with several open Opportunities, and replies that look like a loss wait in the queue with the email quoted beside them.

Start automating CRM Updates for ERPNext

7-day free trial. Works with the tools you already use.

FAQ

Frequently asked questions

Does it write to Leads as well as Opportunities?

Yes. It follows the email address to whichever record it belongs to. If the address sits on a Lead that has no Opportunity yet, the comment and ToDo go on the Lead. If you want every quote request from a Lead to open an Opportunity, say so in the rule and the agent creates one with that Lead as the party.

Can it change an Opportunity's status?

Through your workflow, yes. If the Opportunity DocType has a Workflow configured, the agent applies the transition you describe, such as moving to Quotation when a prospect asks for a quote. Without a workflow it leaves the status alone and uses tags and comments instead, so nothing bypasses the rules your ERPNext administrator set.

Does it work with a self-hosted ERPNext site?

It talks to ERPNext through the Frappe REST API, so a self-hosted site or one on Frappe Cloud both work, as long as the site is reachable over HTTPS. The agent can only do what the API user's roles allow, so most teams create a dedicated user with the Sales User role and nothing else.

Doesn't ERPNext already link emails to documents?

It can attach synced emails as Communications, and the agent leaves that in place. What ERPNext doesn't do is read the thread and write down what changed. The agent adds the summary, the tags and the next step, so a rep opening the Opportunity sees where the deal stands without scrolling through twenty emails.

Will it create duplicate Contacts or Leads?

It checks before creating anything. An unknown sender is searched against Contact emails, Lead emails and each Customer's website domain. If the domain matches an existing Customer, the agent proposes adding the person as a Contact under it. Brand-new companies wait in the review queue until someone confirms a Lead should exist.