Keeping product data in sync
One central product database that pushes changes to CRM and invoicing automatically, including the right administrations per product type.
Starting point
Every new product had to be entered into several systems by hand.
A group of B2B service companies sold both services and physical deliveries. Every new or changed product had to be entered by hand in the CRM and in the invoicing system. Changes came periodically, and whenever a supplier sent a new catalogue.
The problem
No source of truth, and a complicated administration structure.
Without one place where product data is correct, teams worked from outdated catalogues and invoices could carry inconsistent product details. The administration structure made it harder still: some product types had to exist in more than one administration, others in exactly one. Keeping that error-free by hand wasn’t realistic.
The consequences:
- invoices with outdated product names or the wrong categories;
- duplicate data entry across systems;
- sales not knowing for sure whether a new product was available yet.
The approach
One central product database that updates every other system.
The product database became the only place where products are created or edited. A change there automatically sends a webhook to the integration, which updates the product in the CRM catalogue and the invoicing system and decides, based on the product type, which administrations it belongs in.
- Product added or changedin the central product database
- Webhook to the integrationincluding the right product group
- Product in the CRM cataloguecreate or update
- What type of product?Type A
- Does it exist per administration?checked per administration
- Create or update in several administrations
Type B- Does it already exist?
- Create or update in one administration
Everywhere the rule is “create or update” (upsert): if the product exists it’s updated, otherwise it’s created. That makes it safe to re-run a sync without duplicates.
Key decisions
Four choices that made the difference.
- One designated source. CRM and invoicing only read along, so sales can no longer create ad-hoc products in the CRM. That’s less flexible, but it’s exactly the kind of inconsistency we set out to eliminate.
- Update instead of create-only. Replaying an event or re-syncing a product doesn’t produce duplicates, which makes recovery after a partial failure safe.
- A signal from the database. A webhook on a real change keeps latency low and avoids the integration repeatedly checking a spreadsheet that hasn’t changed.
- Routing central, not per product. The product type determines the administrations automatically. Ticking target administrations per product would have been one more manual field to get wrong.
What made it hard
The same product, correctly, in several administrations.
Some products need to exist with the same details in more than one administration. One administration may already have the product while another doesn’t, which required a check and branch per administration rather than treating the invoicing system as one target.
The integration was improved later on. The product group used to be looked up per product in a separate data store inside the automation tool, which cost money on every record. That data now lives in the product database itself. The script sends the right product group along directly, and adding a new product group is just a row in a sheet.
The result
Enter once, up to date everywhere.
- Fewer invoice errors from outdated product names, old data or wrong categories.
- No more duplicate data entry across systems.
- New products are available to sales and administration right after a single entry.
- The product structure per administration is created consistently, without anyone having to remember the rules.
- Lower recurring costs in the automation tool, because the per-product lookup is gone.
Built at organisations in finance, operations and business services. Client names and confidential details are left out.