All templates
For FMCG distributors, pharma wholesalers & stockists

Draft purchase orders before you run out of stock

Every morning, WebRun opens Marg ERP, finds items below their reorder level, groups them by preferred supplier, drafts a purchase order for each supplier, mirrors the draft into Xero for the accounts team, and notifies purchasing in Slack, leaving every order unsent for approval.

  • No credit card
  • Under $0.01 per run
  • Cancel anytime
14,115 templates Safe automation No code
Every day at 9:00 AM WebRun
1 Marg ERP find items below reorder level
2 Xero mirror the draft purchase orders
3 Slack notify purchasing
Run a sample
In short

How do I draft purchase orders when stock runs low?

Every morning WebRun opens Marg ERP, finds items below their reorder level, and groups the shortfall by preferred supplier. It drafts a purchase order for each supplier, mirrors it into Xero for accounts, and notifies purchasing in Slack, leaving every order unsent, so stock is reordered on time and nothing is bought without approval.

  • Fast movers get reordered before they stock out
  • Purchase orders arrive pre-drafted, grouped by supplier
  • Every order waits for approval before it is issued

Built for FMCG distributors · pharma wholesalers · stockists · purchasing teams

Step by step

What does WebRun do on every run?

The exact actions WebRun takes, in order - in plain language, so you can adjust anything.

  1. WebRun signs in and gets to work

    Opens www.margcompusoft.com in a real browser with your saved login - no setup, no API keys.

  2. 1
    Marg ERP - find items below reorder level
    margcompusoft.com How to Automate Marg ERP
    WebRun in Marg ERP: find items below reorder level
    WebRun opens Marg ERP to find items below reorder level.
    • Open Marg ERP and list items at or below their reorder level
    • Read the preferred supplier, pack size, and recent sales rate for each
    • Group the shortfall items by supplier and draft a purchase order per supplier, left unsent

    Done when A draft purchase order is prepared for every supplier with items to reorder.

  3. 2
    Xero - mirror the draft purchase orders
    xero.com How to Automate Xero
    WebRun in Xero: mirror the draft purchase orders
    WebRun opens Xero to mirror the draft purchase orders.
    • Open Xero and create a matching draft purchase order for each supplier
    • Copy the item, quantity, and expected cost from Marg ERP
    • Leave every Xero order in draft for the accounts team to approve

    Done when Each drafted order is mirrored into Xero in draft status.

  4. 3
    Slack - notify purchasing
    slack.com How to Automate Slack
    WebRun in Slack: notify purchasing
    WebRun opens Slack to notify purchasing.
    • Post purchasing a summary of the draft orders by supplier and value
    • Flag fast movers that are close to stock-out first
    • Keep it internal. WebRun never sends a purchase order to a supplier on its own

    Done when Purchasing has the draft order summary in Slack.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
www.margcompusoft.com
ScheduleRuns automatically on this cadence
Every day at 9:00 AM
DeliveryHow each run's result reaches you
Draft purchase orders · Slack
OutputWhat each run produces - A supplier-wise set of draft purchase orders for below-reorder items, with suggested quantities, ready for approval.
Text
Setup & safety

Secure by default

Connect once, stays signed in

WebRun signs in once and keeps each session in a persistent environment, so every run picks up right where it left off.

Your credentials stay in your own private environment - WebRun never stores your passwords.
Strict Lockdown

Every action is checked against this policy before it runs.

Domains ALLOWLIST
Typed input ALLOW
Shell command BLOCK
File uploads BLOCK
Runs in a contained environment More on policies
Good to know

Questions, answered

Will it send purchase orders to suppliers?

No. WebRun drafts every purchase order in Marg ERP and Xero and leaves it unsent. Purchasing reviews and issues each one, so no order reaches a supplier without approval.

How does it choose the order quantity?

It reads each item's reorder level, pack size, and recent sales rate in Marg ERP, then suggests a quantity that clears the shortfall without overstocking, which you can adjust before approving.

What if an item has more than one supplier?

It uses the preferred supplier set in Marg ERP and groups items accordingly, so each draft order goes to the right vendor. You can reassign a line before you approve the order.

Put this on autopilot.

Turn it on in minutes - or have our team set it up for you.