Automation Flow

Docs › Upgrades & Flow AI

Frappe Automation Flow

Frappe Automation Flow for ERPNext: no-code triggers, match fields, actions like assign, email, webhook and wait, test runs, limits, and when to use Flow AI instead.

2 min read · Updated November 2026 · By Vivek Choudhary

Frappe Automation Flow is a no-code way to say "when this happens to this kind of record, do these steps in order". It needs no AI and no Python, and it runs in the background. It is in beta, and only a System Manager can create, edit or read flows. For AI-driven work, see Frappe Flow AI instead.

Build a Frappe Automation Flow, step by step

  1. Search for Automation Flow in the awesome bar and click New.
  2. Enter a Title and choose the Document Type, for example Lead or Sales Invoice.
  3. Choose a Trigger Type: a document event, a date, a schedule, a custom event from an app, or a manual run.
  4. Optionally add Match Fields, and an Advanced Expression using Python, so only the right documents qualify.
  5. Add rows under Actions: update a field, send a notification, assign a user, call a webhook, wait, or branch on a value. Each step can have its own condition.
  6. Save and click Test Run. Changes made in a test run are rolled back.
  7. Enable the flow and save again.

Example automations

GoalDocument Type and triggerActions
Fast follow-up on big leadsLead, Doc Created, match Annual Revenue above a limitAssign to sales head, email them, wait 2 days, email again only if status is still "Lead"
Payment reminderSales Invoice, date-based on due dateSend a notification to the customer contact and assign a follow-up to accounts
Approval nudgePurchase Order, Doc Updated with status "To Approve"Assign the approver and notify them
Send data to another systemSales Order, on submitCall a webhook

Limits and safeguards

  • A flow can't be enabled without at least one action.
  • Runs happen in the background, so the scheduler and workers must be running.
  • Maximum Recursion Depth (default 3) stops flows from triggering each other in a loop.
  • Failure Threshold (default 10) disables a flow after that many failed runs in a row.
  • Disable Automations in Automation Settings stops every flow on the site.
  • Run logs are cleared after 30 days by the standard log cleanup.

Automation Flow, Flow AI or something simpler?

NeedBest tool
One email or alert when something happensNotification
Share new documents among a teamAssignment Rule
Fixed steps with waits and branchesAutomation Flow
Work that needs reading, judgement or writing textFlow AI agent with a trigger
Custom logic a no-code tool can't expressServer Script or a custom app

Not sure which to use? Tell us the job on WhatsApp and we'll suggest the simplest option: AI and business automation.

Sources

Written from the official documentation and source code below. Menus and fields can differ between versions, so check the docs for your version.

Planning ERPNext or a Frappe app for your business? See our ERPNext implementation and Frappe development services, or talk to us.
ERPWork app icon
ERPWork: ERPNext on your phoneFree Android app for your ERPNext site: check in with location, approve documents, see sales and stock dashboards and get notifications.

Get it on Google PlayLearn more →