n8n flows
Re-Do Error Runs
Reprocesses previously failed ShipHero-shipment runs by replaying the failing node's logic to backfill missing Supabase data.
A manual repair tool that reprocesses previously failed ShipHero-shipment runs. It replays the failing node's logic against Supabase, backfilling shipment, order, line-item, and Product SKU data that earlier errors left missing.
At a glance
- Status: Inactive (manual only).
- Trigger: Manual ("When clicking 'Test workflow'").
- Runs on: Unsolved rows in the Supabase
Failed runstable (is_solved = false). - Talks to: Supabase, ShipHero GraphQL, and the n8n internal API.
How it works
Get Unsolved Error runspulls SupabaseFailed runswhereis_solved = false.- The
n8nnode fetches the original execution details byexecution_id. - A
Switchbranches on the failednode_nameto resume from the right point. - Branches recreate the original pipeline: warehouse lookup, parse packages, insert
Shipments, find theOrder, expand line items, insertShipment Line Items, then create and linkProduct SKUsvia the m2m table. - Where needed, it fetches order details from ShipHero and patches the
Shipmentsrow with theOrders_id.
Notes
- Manual repair and backfill tool, not scheduled.
- Relies on the original execution's data still being available; it references a
Webhooknode that is not present in this workflow, so it only works while that source data persists.
Related
- Reattempt Failed Runs: a sibling retry tool for the retired queue flow.
- OLD: ShipHero Shipment → Queue: the retired ingestion whose failures this repairs.
- Missing Shipment Data Pull (v1): the current shipment ingestion that superseded the old pipeline.
- Error Handler: the shared error workflow.
- See also Data flows.