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.
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
- Search for Automation Flow in the awesome bar and click New.
- Enter a Title and choose the Document Type, for example Lead or Sales Invoice.
- Choose a Trigger Type: a document event, a date, a schedule, a custom event from an app, or a manual run.
- Optionally add Match Fields, and an Advanced Expression using Python, so only the right documents qualify.
- 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.
- Save and click Test Run. Changes made in a test run are rolled back.
- Enable the flow and save again.
Example automations
| Goal | Document Type and trigger | Actions |
|---|---|---|
| Fast follow-up on big leads | Lead, Doc Created, match Annual Revenue above a limit | Assign to sales head, email them, wait 2 days, email again only if status is still "Lead" |
| Payment reminder | Sales Invoice, date-based on due date | Send a notification to the customer contact and assign a follow-up to accounts |
| Approval nudge | Purchase Order, Doc Updated with status "To Approve" | Assign the approver and notify them |
| Send data to another system | Sales Order, on submit | Call 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?
| Need | Best tool |
|---|---|
| One email or alert when something happens | Notification |
| Share new documents among a team | Assignment Rule |
| Fixed steps with waits and branches | Automation Flow |
| Work that needs reading, judgement or writing text | Flow AI agent with a trigger |
| Custom logic a no-code tool can't express | Server 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: ERPNext on your phoneFree Android app for your ERPNext site: check in with location, approve documents, see sales and stock dashboards and get notifications.
