n8n flows
Missing Shipment Data Pull 2.0 (Reconciliation)
A disabled reconciliation copy of the 2.0 flow that backfills missing ShipHero shipment data into Supabase for every active brand.
A one-off reconciliation copy of the 2.0 pull, left disabled. It backfills missing ShipHero shipment data into Supabase for all active brands, reconciling orders, packages, line items, Product SKUs, customers, stores, and brand links.
At a glance
- Status: Inactive, a reconciliation copy kept disabled.
- Trigger: A self-restarting webhook, a daily schedule (~03:00), and a manual Test trigger.
- Runs on: Every active brand, one brand/date at a time.
- Talks to: ShipHero GraphQL, Supabase, and internal n8n webhooks (SKU lookup, self-restart, voided-label cleanup).
How it works
- It loads all active brands and iterates one brand/date at a time; a merge node normalizes the cursor, date, and brand inputs from the webhook or schedule.
- It calls ShipHero GraphQL for one day of shipments, paginating by end-cursor, and re-invokes its own webhook to restart after about 150 run-index iterations or to advance one day.
- It looks up each shipment/package by
Tracking_IDand creates it if missing (box dims, weight, label cost, warehouse link). - It resolves the order, creates
Ordersrecords, and links order to shipment, brand, and store. - It finds or creates
Shipment Line Items, links them to packages and toProduct SKUs(resolved via an internal webhook), dedupes, and marks them valid. - It creates customer records, increments brand onboarding progress, and calls the voided-labels webhook to prune voided shipments, with rate-limit handling.
Notes
- Nearly identical to the backup flow (~130 nodes) but disabled. It uses recursive webhook self-calls for pagination and day-advancement to survive long runs.
Related
- Missing Shipment Data Pull 2.0 (Backup): the live version this copies.
- Missing Shipment Data Pull (v1): the original, superseded flow.
- Delete Voided Shipment Labels (Daily): the voided-label cleanup webhook this flow calls.
- Backfill Missing Product SKUs: repairs line items left with a null SKU.
- SKU Information Handler: the shared SKU-resolution service.
- Error Handler: the shared error workflow.
- Features: Shipments, Inventory. See also Data flows.
Missing Shipment Data Pull 2.0 (Backup)
The live 2.0 flow that pulls missing ShipHero shipment data into Supabase for every active brand and reconciles the full shipment graph.
Missing Shipment Data Pull (v1)
The original single-tenant flow that backfilled missing ShipHero shipment data into Supabase one day at a time, now disabled.