Back to Blog

ERPNext workflow automation

ERPNext Workflow Automation: Approvals, Roles and Notifications Explained

Learn how ERPNext workflow automation works, including approvals, roles, permissions, notifications, assignment rules, workflow states, testing and best practices for UK businesses.

As businesses grow, manual approval processes become difficult to control. Purchase Orders are approved by email, sales discounts checked in spreadsheets, stock adjustments approved verbally and important documents sit in draft because nobody knows who should approve them. ERPNext workflow automation can help.

ERPNext allows businesses to define approval rules, workflow states, user roles, permissions, notifications and assignments so documents move through the correct process before they are submitted, processed or acted on.

Key point

ERPNext workflow automation helps businesses control who can create, approve, submit, reject, amend and act on documents—while keeping users informed through notifications and workflow actions.

Quick answer

ERPNext workflow automation uses workflows, roles, permissions, notifications and assignment rules to control how documents move through the business—for PO approvals, discount approvals, stock adjustments, payment approvals, timesheets, leave and more. A workflow includes document type, states, transitions, roles, conditions, notifications and final submission rules.

1. Why Workflow Automation Matters in ERPNext

Every business has approval rules—even informal ones. POs over £1,000 need manager approval; discounts over 10% need director approval; stock adjustments need warehouse manager approval; customer credit changes need finance approval. If these rules are handled outside ERPNext, the business loses visibility.

  • Workflow automation creates clear accountability, better internal control and audit trail
  • Reduces email chasing, manual errors and approval delays
  • For growing businesses, this is often one of the biggest benefits of ERPNext

2. ERPNext Workflow Automation Is Not Just Notifications

A notification tells someone that something happened. A workflow controls what can happen next. Example: notification says a PO was created; workflow says it cannot be submitted until the Purchasing Manager approves it. A good implementation uses workflow for control, roles for access, notifications for communication and assignment rules for responsibility.

3. Main ERPNext Automation Tools

ToolPurpose
WorkflowsDocument states and approval transitions
RolesGroups of users—Sales User, Purchase Manager, Accounts Manager
PermissionsWhat users can read, write, create, submit, cancel or amend
Workflow ActionsPending approval actions visible to approvers
NotificationsAlerts based on events or document conditions
Assignment RulesAutomatically assign documents to users by condition
Server Scripts / Webhooks / Custom AppsAdvanced or integration-heavy automation

4. What Is an ERPNext Workflow?

An ERPNext Workflow controls the lifecycle of a document—Quotation, Sales Order, Purchase Order, Stock Entry, Expense Claim, Timesheet, Leave Application or custom DocType. It defines states, roles allowed to transition, actions, conditions, edit rules, email alerts and when final approval is reached.

Example PO workflow: Draft → Pending Purchase Manager Approval → Pending Finance Approval → Approved → Rejected → Submitted.

5. Workflow States Explained

Workflow states are stages a document passes through—Draft, Pending Approval, Approved, Rejected, Submitted, Under Review, Waiting for Finance. Good states should be clear, short, meaningful and connected to real business decisions. Avoid too many states—a workflow with 15 states may confuse users.

6. Workflow Transitions Explained

A transition moves a document from one state to another—Pending Approval → Approved. Each transition defines action label, source and target state, role allowed, condition and optional email alert. A Purchase Manager clicks Approve; a Finance Manager can click Reject. Transitions are where approval control happens.

7. Roles in ERPNext Workflows

Roles represent user access types—Sales User, Sales Manager, Purchase Manager, Accounts Manager, Stock Manager, Project Manager, HR User, Director. In workflows, roles decide who can take action. The role structure should match the real organisation—do not give approval rights to broad roles if only specific users should approve.

8. Permissions vs Workflow Roles

Permissions decide what a user can generally do with a DocType. Workflow roles decide what a user can do at a specific workflow state. A Purchase User may create a PO but the workflow prevents them approving or submitting it. For strong internal control, permissions and workflows must be designed together.

9. Common ERPNext Approval Workflows

WorkflowStatesUse Case
Purchase OrderDraft → Manager → Finance → Approved/RejectedControlling supplier spend
Sales DiscountDraft → Sales Manager → Approved/RejectedProtecting margin
Stock AdjustmentDraft → Warehouse → Finance → Approved/RejectedStock value control
ExpenseDraft → Line Manager → Accounts → Approved/RejectedStaff expenses
PaymentDraft → Finance → Director → Approved/PaidSupplier payment control
Timesheet / LeaveDraft → Manager → Approved/RejectedService and HR workflows

10. Workflow Conditions

Conditions allow approval paths to depend on document data—PO above £1,000 needs manager approval; above £10,000 needs director; discount above 10% needs Sales Manager; stock adjustment above £500 needs finance. Use conditions only when they reflect real business authority rules—too many conditions make workflows hard to maintain.

11. Notifications in ERPNext

  • Triggered when document is created, saved, submitted, cancelled, field changes or workflow state changes
  • Examples: email Purchase Manager when PO needs approval; alert Warehouse when SO ready for dispatch
  • Notify Accounts when customer credit limit exceeded; remind Salesperson about follow-up date
  • Notifications reduce manual chasing—but too many create noise

12. Notification Best Practices

A good notification answers: what happened, which document, why it matters, what action is needed, who should act and where is the link. Example subject: Purchase Order PO-00045 requires approval—with supplier, amount, requested by, required date and document link. Avoid vague alerts like Document changed sent to everyone.

13. Workflow Actions

Workflow Actions help approvers see pending actions in one place instead of searching through documents. A Purchase Manager sees POs waiting for approval; Finance Manager sees Payment Requests; Project Manager sees Timesheets. Especially useful when a business has many approval processes.

14. Assignment Rules

Assignment Rules automatically assign documents to users based on conditions—new support issues to agents, leads by territory, purchase requests to buyers, tasks to project coordinators. A workflow controls document state; an assignment rule controls who owns or handles the document. Both can work together.

15. Email Setup for Workflow Automation

  • Confirm outgoing email account, sender email, domain settings and spam delivery
  • Test notifications before go-live—workflow may be correct but if email fails, approvers will not know to act
  • Email links should open the correct document; attachments only when needed

16. Approval Workflow Example: Purchase Order

  • Below £1,000: Purchase Manager approval; £1,000–£10,000: Finance Manager; above £10,000: Director
  • States: Draft → Pending Manager → Pending Finance → Pending Director → Approved/Rejected
  • Notify approvers at each threshold; notify requester on approval or rejection
  • Reports: POs pending approval, rejected, approved this month, by approval level

17. Approval Workflow Example: Sales Discount

  • Up to 5%: no approval; 5–15%: Sales Manager; above 15%: Director
  • States: Draft → Pending Sales Manager → Pending Director → Approved/Rejected
  • Reports: quotations pending discount approval, approved discounts by salesperson, margin impact

18. Approval Workflow Example: Stock Adjustment

  • Warehouse User prepares; Warehouse Manager approves quantity; Finance reviews high-value adjustments above £500
  • States: Draft → Pending Warehouse → Pending Finance → Approved/Rejected
  • Reports: adjustments by warehouse, item, value, rejected and high-value adjustments

19. Approval Workflow Example: Payment Approval

  • Accounts User prepares Payment Entry; Finance Manager approves below £5,000; Director above £5,000
  • States: Draft → Pending Finance → Pending Director → Approved for Payment → Rejected → Paid
  • Reports: payments pending approval, approved today, rejected, by approval level, upcoming schedule

20. Workflow Automation for UK Finance Teams

Finance workflows can control POs, Purchase Invoices, Sales Invoices, Credit Notes, Payment Entries, Journal Entries, expenses, VAT adjustments, customer credit limits, supplier onboarding, stock adjustments and write-offs. They should support segregation of duties, audit trail, month-end control, VAT review and cash flow control. Workflows affecting VAT data should be tested before VAT return preparation.

21. Workflow Automation for Operations Teams

  • Material Requests, purchase requests, stock transfers, adjustments, delivery approvals, returns
  • Quality inspections, manufacturing steps, job completion, service visits, project milestones
  • A good workflow tells users what stage the document is in, who is responsible, what happens next and what is blocking progress

22. Workflow Automation for Sales Teams

Sales workflows: lead assignment, opportunity follow-up, quotation and discount approval, credit limit review, Sales Order approval, customer onboarding. Do not overcomplicate—small discounts auto-approved, high discounts need manager, customers over credit limit need finance, high-value quotations need director. Control risk without slowing legitimate deals.

23. Workflow Automation for Stock and Warehouse Teams

Warehouse workflows: stock transfer, adjustment, damaged goods review, customer/supplier return approval, quality hold release, dispatch approval, van stock movement. Use approval only where risk is real—high-value stock, write-offs, damaged goods, returns, serialised assets. If every small movement needs approval, users may bypass the system.

24. Workflow Automation for Projects and Services

  • Project approval, budget approval, timesheet and expense approval, customer sign-off, service job completion
  • Timesheet: Draft → Pending Project Manager → Approved/Rejected → Invoiced
  • Service job: New → Assigned → In Progress → Completed → Customer Signed → Ready to Invoice → Closed

25. When Workflow Automation Needs Custom Development

  • Complex approval logic, external API data, multiple auto-created documents, budget or margin-based approval
  • Custom dashboards, background jobs, external system updates, escalation rules, custom approval portal
  • Examples: approval by credit risk score, auto-create PO after budget approval, courier booking after dispatch, invoice after service sign-off
  • When business-critical and complex, a custom Frappe app is better than scattered scripts

26. Workflow Testing Checklist

Basic, role and notification testing

  • States appear correctly; actions appear for correct users only; users cannot bypass approval
  • Rejection and resubmission work; test with requester, approver, finance, manager, director—not only Administrator
  • Correct users receive alerts with clear subject, useful body and working document link
  • Pending approvals, rejected, approved and overdue approval reports work correctly

27. Workflow Governance

Create rules for who can request workflow changes, who owns each workflow, how changes are tested and documented, how approval delays are monitored and how workflows are reviewed after go-live. Each workflow should have business owner, purpose, DocType, states, roles, conditions, notifications, reports and last review date. If a workflow no longer adds value, simplify it.

28. Workflow Automation Mistakes to Avoid

  • Too many approval steps; approval rights to wrong role; testing only with Administrator
  • Not testing rejection paths, notifications or user permissions
  • Sending alerts to too many users; unclear state names; using workflow where simple permission is enough
  • Not documenting approval rules, training users or creating pending approval reports
  • Using Client Scripts for critical approval logic; not retesting after upgrades

29. ERPNext Workflow Automation Checklist

  • Business: approval process documented, thresholds agreed, roles confirmed, rejection/escalation agreed, owner assigned
  • Setup: DocType selected, states/transitions configured, roles and conditions set, permissions reviewed, notifications configured
  • Testing: requester, approver, finance, manager, rejection, resubmission, notification, permission and report tests
  • Go-live: users trained, approval owners confirmed, pending approval report reviewed, workflow documented, monitoring planned

30. Workflow Automation Examples by Business Type

Business TypeUseful Workflows
DistributionPO approval, stock adjustment, supplier/customer return, credit limit, high-value sales
ManufacturingBOM, Work Order, quality inspection, scrap, stock issue, production variance
Professional servicesProject, timesheet, expense, retainer usage, invoice, write-off approval
Construction/tradeMaterial request, purchase, variation, retention, site stock transfer, subcontractor invoice
Field serviceJob assignment, completion, parts usage, customer sign-off, warranty, technician expense
eCommerceRefund, return inspection, stock adjustment, marketplace issue, high-value order, payment exception

31. Workflow Reporting and Dashboards

  • Managers need: documents pending approval, approved/rejected today, approval delays, by user and department
  • Dashboard cards: POs pending approval, payments pending, stock adjustments pending, timesheets pending, overdue approvals
  • Workflows should not become invisible queues—if documents are pending, managers should see them

32. Workflow Automation and Internal Controls

Workflows support segregation of duties—the person creating a supplier should not be the only person approving payment details; person preparing payment should not be the only approver; credit notes and VAT adjustments should require finance review. Workflow design should be reviewed by finance or internal control owners, not only technical users.

33. ERPNext Workflow Automation and UK Businesses

Especially useful for VAT-related invoice review, purchase and supplier payment approval, credit note approval, stock write-off, customer credit control, construction variation approval, timesheet and project billing approval, expense review and month-end journal review. Workflows affecting VAT records should be tested before go-live and reviewed during the first VAT period.

34. Why Work With Talpha Solutions?

Talpha Solutions helps UK and European businesses with ERPNext workflow design, approval process mapping, role and permission setup, purchase/sales/stock/payment/timesheet/project workflows, notifications, Workflow Actions, Assignment Rules, custom workflow reports and dashboards, UAT and Frappe custom app development. We review real business risk and approval authority before designing workflows that improve control without slowing the business down.

Final Advice

The best workflows are simple, clear, role-based, tested, documented and reportable—not over-engineered. Do not create approval steps nobody understands or notifications nobody reads. Use ERPNext workflows to make business rules visible, approvals accountable and operations easier to manage. When designed properly, ERPNext becomes a controlled operating system for the business.

Call to Action

Need help with ERPNext workflow automation? Book a free ERPNext workflow review with Talpha Solutions. We will review your approval processes, user roles, permissions, notifications, reporting needs and automation risks, then recommend a practical ERPNext workflow setup for your business.

FAQ

Frequentlyasked questions

Answers to common evaluation questions.

  • ERPNext workflow automation is the use of workflows, roles, permissions, notifications, assignment rules and automation logic to control how documents move through approval and operational processes.

  • ERPNext workflows can be used for Purchase Orders, Sales Orders, Quotations, Stock Entries, Payment Entries, Timesheets, Expense Claims, Projects, Leave Applications, custom DocTypes and many other documents.

  • A workflow controls what can happen to a document and who can approve it. A notification simply alerts users when something happens or when a condition is met.

  • Workflow states are the stages a document passes through, such as Draft, Pending Approval, Approved, Rejected or Submitted.

  • Workflow transitions define how a document moves from one workflow state to another, including which role can perform the action and under what condition.

  • Yes. ERPNext can send notifications and workflow-related alerts when documents need approval, are approved, rejected or meet specific conditions.

  • Yes. Assignment Rules can automatically assign documents to users based on predefined conditions, such as support tickets, leads, tasks or other documents.

  • Yes. Workflows should be tested with real user roles, real permissions, approval paths, rejection paths, notifications and reports before go-live.

  • Custom development may be needed when approval logic is complex, spans multiple DocTypes, requires external API data, triggers background jobs, or needs advanced dashboards and reporting.

  • Yes. Talpha Solutions can help UK and European businesses design, configure, test and support ERPNext workflows, approvals, roles, notifications and custom automation.