Detect cancelled orders
Every 3 minutes the flow checks WooCommerce for orders updated to cancelled, up to 10 per run. A status check confirms each order is actually cancelled.
Cancel the matching SAP Business One Sales Order when a WooCommerce order is cancelled, refund paid orders and send delivered or invoiced orders to Microsoft Teams for review
Apps used in this template
About this template
When a WooCommerce order is cancelled, the open Sales Order in SAP Business One often stays live and the refund waits on someone to check both systems. This WooCommerce SAP Business One cancellation refund template checks WooCommerce every 3 minutes (up to 10 cancelled orders per run), cancels the matching Sales Order only when it has no Delivery Note or A/R Invoice, refunds paid orders through the original gateway and sends delivered or invoiced orders to Microsoft Teams.
Key benefits
Inside the flow
Every 3 minutes the flow picks up cancelled WooCommerce orders, finds the linked open Sales Order in SAP Business One DIS and counts its Delivery Notes and A/R Invoices. Clean orders are cancelled and refunded if paid; delivered or invoiced orders go to Microsoft Teams.
Every 3 minutes the flow checks WooCommerce for orders updated to cancelled, up to 10 per run. A status check confirms each order is actually cancelled.
The flow finds the open Sales Order linked to the WooCommerce order in SAP Business One DIS and counts active Delivery Notes and A/R Invoices against it. If no open Sales Order exists, the order stops here.
Invoiced orders trigger a Microsoft Teams message to finance with the order total and SAP Sales Order reference. Delivered but not invoiced orders trigger a Teams alert to operations to reverse the delivery manually.
When there is no delivery and no invoice, the flow cancels the Sales Order in SAP Business One DIS. It stays on record as cancelled.
The flow checks whether the WooCommerce order was paid. Paid orders get a full refund through the original payment gateway, with a reason that references the cancelled SAP Sales Order; stock is not restocked twice.
Cancellations close out in WooCommerce and SAP Business One without manual cross-checks.
01
A cancelled WooCommerce order leads to a cancelled SAP Business One Sales Order and a refund, with no one switching between systems.
02
Only Sales Orders with no delivery or invoice are cancelled automatically, which avoids document conflicts and failed reversals in SAP Business One.
03
Invoiced orders are never reversed automatically; finance gets a Microsoft Teams alert with the details for manual review.
04
Paid orders are refunded through the original payment method within minutes of cancellation, which cuts wait times and support tickets.
05
Cancelled Sales Orders stay in SAP Business One and each refund references its SAP order, giving finance and auditors a clear trail.
01
A cancelled WooCommerce order leads to a cancelled SAP Business One Sales Order and a refund, with no one switching between systems.
02
Only Sales Orders with no delivery or invoice are cancelled automatically, which avoids document conflicts and failed reversals in SAP Business One.
03
Invoiced orders are never reversed automatically; finance gets a Microsoft Teams alert with the details for manual review.
04
Paid orders are refunded through the original payment method within minutes of cancellation, which cuts wait times and support tickets.
05
Cancelled Sales Orders stay in SAP Business One and each refund references its SAP order, giving finance and auditors a clear trail.
Keep exploring
Every repetitive process between your ERP, CRM, and business apps has a template. Find yours, customize it, and go live today.
Customize the flow
Every trigger and action this template uses is available in the appse ai builder, so the same flow can be rebuilt with your own routing, thresholds and destinations.
Questions & answers
Everything you need to know about this template before you deploy it.
Discover how appse ai has helped businesses automate processes and achieve growth through our users' success stories.
Start free — no credit card, no setup calls required. Use this template as-is or customize every step inside the appse ai no-code builder and go live today.