n8n flows
ShipHero Login + Case/Base SKU Storage
Inactive prototype that scrapes case and base SKUs from ShipHero's web dashboard using a simulated browser login.
An inactive, experimental precursor to the API-based SKU pulls. It logs into the ShipHero web app (not the public API) by simulating the full browser OAuth login, then scrapes Case SKUs and their Base SKU components from the internal dashboard and stores them in Supabase.
At a glance
- Status: Inactive
- Trigger: Manual ("When clicking 'Test workflow'"). No production trigger.
- Runs on: Hand-run tests only.
- Talks to: ShipHero (internal web dashboard endpoints via scraped session cookies); Supabase (
Case SKUs,Base SKUs).
How it works
- A multi-step manual login sequence (Open First Page, Auth Scopes, Login ID, extract hidden
statevia regex, Verify, Password, Submit, Resume, Do Login) accumulates cookies across redirects viaCookie Arraycode nodes. Get Case SKUs1calls the internaldashboard/products/v2/getProductsDataTables endpoint (filtered tois_product_case=1);Parse Resultparses the JSON.- A counter loop over case SKUs looks each up in the Supabase
Case SKUstable and fetches its components viagetProductCaseComponents. - Components are parsed, base SKUs are extracted from HTML anchors via regex, then each is looked up in the Supabase
Base SKUstable.
Notes
- Inactive, manual-only experimental precursor to the API-based SKU pulls.
- Contains hardcoded plaintext credentials and hardcoded
customer_id/warehouse_id. - Fragile, since it depends on ShipHero's HTML markup.