Field-service rollout
Moved field crews from paper onto Zuper job types built from the client’s own procedures, and ten years of history from the ERP it was retiring into HubSpot.
Data paths and guards
- HubSpot: Deals, tickets and the building record, with the flows that route jobs and move stages.
- Zuper field app: 4 job types with gated statuses and checklists, where the crews work.
- Zuper workflows: Code steps for project nesting, building memory, line items and invoices.
- History loader: Node.js scripts: dry run, journaled match-or-create writes and a revert script.
- Dataforma, the old ERP: Ten years of companies, contacts, buildings and work orders.
- From HubSpot to Zuper field app: Jobs by job type. A job of the right type for each routed deal or ticket, created through Zuper’s HubSpot connector. A HubSpot flow at the right stage.
- From Zuper field app to HubSpot: Status moves stages. Job status and ids written back, which HubSpot flows turn into pipeline stages. A status change in the field.
- From Zuper field app to Zuper workflows: Finished checklists. Checklist answers, picked materials and logged time from a finished job. A job reaches a completion status.
- From Zuper workflows to HubSpot: Answers to the building. 205 checklist answers saved on the building record in HubSpot. A completed job.
- From Zuper workflows to Zuper field app: Prefills and invoices. 31 items prefilled on the next visit’s checklist, and invoices built from the job’s line items. A new visit, or a project marked Invoiced.
- From Dataforma, the old ERP to History loader: History, read once. Companies, contacts, buildings and work orders from the old ERP’s API. A one-time migration, May and June 2026.
- From History loader to HubSpot: Journaled writes. Records matched or created on the old ERP’s id, and work orders into a fenced pipeline. A run that passed its dry run and canary.
- On History, read once: Dry run against live data. A dry run dedups against live HubSpot and checks every value before anything is written.
- On Journaled writes: Journal and revert. Every write is matched on the old ERP’s id and journaled with its prior value, so a revert script can undo a run.
- On Journaled writes: Fenced history pipeline. Old work orders land in their own ticket pipeline, which no live flow watches.
- On Zuper workflows: Merge, then verify. Workflow writes read the job first, merge the change and read it back, because Zuper replaces the whole field list.
- Built by me
- Platforms I connect to
- Guards
- Data paths
- In production
| Jobs by job type A job of the right type for each routed deal or ticket, created through Zuper’s HubSpot connector |
|---|
| Status moves stages Job status and ids written back, which HubSpot flows turn into pipeline stages |
| Finished checklists Checklist answers, picked materials and logged time from a finished job |
| Answers to the building 205 checklist answers saved on the building record in HubSpot |
| Prefills and invoices 31 items prefilled on the next visit’s checklist, and invoices built from the job’s line items |
| History, read once Companies, contacts, buildings and work orders from the old ERP’s API |
|---|
| Journaled writes Records matched or created on the old ERP’s id, and work orders into a fenced pipeline |
-
Systems
Sales and service run in HubSpot. Crews work in Zuper, on 4 job types built from the client’s own procedures, and Zuper workflows carry code steps between the two. The old roofing ERP held ten years of history.
-
Data paths
HubSpot flows send each deal and ticket to the right job type, and field status moves the pipeline stages. Finished checklists save 205 answers to the building record, prefill 31 items on the next visit and become invoices.
- a Jobs by job type
- b Status moves stages
- c Finished checklists
- d Answers to the building
- e Prefills and invoices
-
History load
A loader read the old ERP, deduplicated against live HubSpot and wrote companies, contacts, buildings and 2,002 work orders, journaling every write so any run could be reverted.
- f History, read once
- g Journaled writes
-
Guards
A dry run checks every record before a write. Every write is journaled for a revert, and history lands in a pipeline no live flow watches. Workflow writes to Zuper merge and read back, because Zuper replaces whole lists.
- Dry run against live data on f
- Journal and revert on g
- Fenced history pipeline on g
- Merge, then verify on Workflows
-
Result
Crews moved from paper to gated statuses, building history and generated invoices. A final check passed 30 of 30 over 36 live jobs, and 2,002 work orders migrated with 0 failed.
Paper in the field, and ten years of history to move
Crews worked from paper on a Zuper tenant cloned from a demo, its automations still tied to demo job types. Ten years of history sat in a roofing ERP the client was retiring, and HubSpot already held real records that a plain import would have duplicated.
What I built
- 4 Zuper job types built from the client’s own procedures by idempotent scripts; the inspection type alone has 15 gated statuses and 131 checklist fields.
- HubSpot flows that send each deal and ticket to the right job type and move pipeline stages from field status, with one Zuper project per deal.
- A building-memory loop: 205 checklist answers saved to the building record in HubSpot, and 31 items prefilled on the next visit.
- A checklist-to-invoice loop: picked materials and logged time become line items, and invoices render from Handlebars and Puppeteer templates.
- An ERP history loader: a dry run that dedups against live HubSpot, journaled match-or-create writes, a revert script and a canary.
- A fenced ticket pipeline for the work-order history, so 2,002 old work orders could not start live field jobs.
What the guards protect against
| The risk | The guard |
|---|---|
| Hand-entered records are duplicated, or writes fail validation. | Dry run against live data A dry run dedups against live HubSpot and checks every value before anything is written. |
| A bad load cannot be undone, or a rerun duplicates records. | Journal and revert Every write is matched on the old ERP’s id and journaled with its prior value, so a revert script can undo a run. |
| Historical work orders start live field jobs. | Fenced history pipeline Old work orders land in their own ticket pipeline, which no live flow watches. |
| A write wipes the job’s other fields. | Merge, then verify Workflow writes read the job first, merge the change and read it back, because Zuper replaces the whole field list. |
Results
- 2,002 work orders migrated with 0 failed writes, and none started a live field job.
- 464 companies, 520 contacts, 748 buildings and 1,805 associations migrated, journaled and reversible.
- A final check of the field setup passed 30 of 30 over 36 live jobs.
Facts
- 455 buildings enriched with roof condition, 0 wrong on an independent recompute
- 1,997 work orders linked to their building and 1,908 to their contact
- Rerunning the history loader after the load creates 0 records
- Prefills write only blank fields, so a crew’s own answer is never overwritten
Related builds
-
Project-link backfills
Date: Jul 2026
Fact: 832 deals linked to their Zuper projects
Client: For four roofing contractors
Systems: Zuper
Status: Active
-
Multi-tenant booking platform
Date: Apr 2026
Fact: 4 live tenants, 21 of 21 production smoke checks on each
Client: For four roofing contractors
Systems: Zuper, Demand IQ and n8n
Status: In production
-
Per-trade deal budgets
Date: Feb 2026
Fact: Revenue, material and labor budgets across 11 trades
Client: For a residential roofing and exteriors contractor
Systems: SumoQuote and Zuper
Status: In production