Workflow automation

Automate order entry: the morning re-key has no owner

Pasting store orders into the ERP before stand-up is a job a trigger should be doing. Someone copies the customer, the lines, the discount and the tax from the store admin into NetSuite, Odoo or Business Central, one order at a time. The rules live in one person's head and the errors surface at month-end. A webhook, a written mapping, a check and an alert to a named person move the same order in seconds.

Intelligize Digital 5 min readAll notes

An operations worker typing between two monitors at a desk in morning light

Key points

  • The rules live in the head of the person who does it.
  • Shopify, BigCommerce and WooCommerce can each send a webhook when an order is created or paid.
  • Write the sales order with the store order number as its external reference.
  • Make the person who did the re-key the owner of the alerts.
On this page

What the re-key involves

At 8:30 someone opens the store admin, filters yesterday’s paid orders and starts typing. Each order becomes a sales order in NetSuite, Odoo, SAP Business One or Business Central. Find or create the customer, add each line by SKU, enter the price the buyer paid, add the discount, add shipping as its own line, check the tax, paste the payment reference. Then a tick in a spreadsheet, so the next person knows it is done.

For example, a store with 80 orders a day at about three minutes each spends four hours on this. These are round numbers, not a client’s. On Monday the pile holds the whole weekend. The warehouse cannot pick an order the ERP has not seen, so an order paid at 18:05 waits until somebody types it the next morning.

Why nobody owns it

The re-key usually starts as a stopgap at launch. The store went live before the integration, someone offered to copy orders across for a few weeks, and the few weeks became the process.

It sits between teams. Ecommerce runs the store, finance runs the ERP and operations runs the warehouse, and each assumes the step belongs to one of the others. The rules live in the head of the person who does it. Gift wrap goes to a service item. A coupon goes in as a discount line. Marketplace orders are skipped because another connector brings them in. When that person is on leave, orders wait or someone guesses.

The errors it makes

Hand entry fails in predictable ways. A SKU is transposed and the warehouse picks the item next to it. The ERP reprices the line from its own price list, so the invoice disagrees with what the card was charged. The ERP recalculates tax line by line and lands a paisa or a penny away from the store total. Two people work the same filter and the order goes in twice. An order cancelled at 9:15 was entered at 8:50, and nobody reverses it.

Most of these surface at month-end, when finance reconciles payouts against invoices and finds a gap with no trail.

Automate order entry: what a trigger does instead

Shopify, BigCommerce and WooCommerce can each send a webhook when an order is created or paid. That event is the trigger. Put it on a queue first, so a slow ERP or a deploy does not lose orders.

Map the order the way the person did, with the rules written down. Match the customer on email or account number. Match each line on SKU. Send the charged price as the line price so the ERP does not reprice it, and send shipping and discounts as their own lines. Send tax as charged, with the ERP’s tax code beside it.

Check before writing. Every SKU must exist in the item master, the order total must match the payment to the smallest currency unit, and a customer on credit hold goes to a person. When a check fails, alert a named person with the order number and the reason.

Retries need a limit. Retry a timeout or a locked record a few times over ten minutes, then park the order and alert. A validation error, such as an unknown SKU, will fail the same way on every retry, so it goes straight to the person. Cash-on-delivery orders need a rule of their own. Many stores send them to the ERP at once so the warehouse can pick, and post the payment when the courier remits it.

Write the sales order with the store order number as its external reference. NetSuite has an external ID field, Odoo has the customer reference on the sale order, and Business Central has the external document number. A replay then finds the existing order and does not create a second one. Write the ERP document number back to the store order, so support can see it without opening the ERP.

Cancellations, edits and refunds are separate events with their own mapping. Leave them out and the re-key comes back in a smaller form.

Run both for two weeks

For the first two weeks the integration writes the orders and the person who used to type them checks each one. Each morning, compare the count of paid store orders with the count of ERP sales orders that carry a store reference, and compare the totals for the day. Any difference goes to the alert owner with the order number.

Make the person who did the re-key the owner of the alerts. They know the exceptions better than anyone, and their morning becomes a ten-minute review of the orders that failed a check. Our workflow automation work starts from that list of rules, and the ERP side uses the same mapping we describe under ERP integration.

Before you switch off the manual step

5 checks
  • Write down every rule the person follows, including the odd ones.
  • List which order states should reach the ERP and which should not: paid, unpaid cash on delivery, test orders, marketplace orders.
  • Choose the reference that makes a replay safe.
  • Name who receives the alert and how quickly they act on it.
  • Decide how cancellations and refunds reach the ERP.
Certifications

Certifications and partner programmes

Intelligize Digital is a registered partner of these platforms and hosts.

  • BigCommerce BigDev CertifiedBigCommerce Certified
  • BigCommerce Certified PartnerBigCommerce Certified
  • Liquid Storefronts for Theme Developers (Shopify Certified)Liquid Storefronts for Theme DevelopersShopify Certified
  • Headless at Shopify for Developers (Shopify Certified)Headless at Shopify for DevelopersShopify Certified
  • Shopify Foundations (Shopify Certified)Shopify FoundationsShopify Certified

Send us one day of orders and a screenshot of where they end up in the ERP.

We will tell you which rules a trigger can carry and which still need a person.

We save what you type here so we can follow up if you get interrupted.
One file, up to 10 MB: PDF, Word, Excel, CSV, text, PNG or JPG.

An engineer replies within one business day.

What happens next

  1. An engineer replies We aim to reply within one business day, by email.
  2. A free 30-minute audit On a call with an engineer.
  3. A fixed quote Usually within 3 business days of the audit. Nothing is billed before you agree it.

Book a free audit. One form, one reply from an engineer.

Tell us what you are building or fixing. An engineer reads every request and replies within one business day, with a fixed scope, price and dates once we have talked.

Direct
[email protected]
Response time
Within one business day
Cost of asking
Nothing. The first 30-minute audit is free.

An engineer reads every request.