n8n flows
Create ShipHero Hooks (Helper)
Operator helper for registering and managing per-brand ShipHero webhooks that push shipment updates to the Cloudflare Worker handler.
An operator helper for registering ShipHero webhooks per brand, so ShipHero pushes shipment updates to the project's Cloudflare Worker handler. Run by hand during brand onboarding and setup.
At a glance
- Status: Inactive
- Trigger: Manual only, an operator helper run by hand.
- Runs on: One target brand at a time, keyed by
n8n_id. - Talks to: ShipHero (public GraphQL webhook create/list/delete); Supabase (
Brandslookup); Cloudflare Worker (shiphero-handlerreceiver).
How it works
Edit Fieldssets the target brand'sn8n_id.Supabaselooks up theBrandsrecord byn8n_id, includingshiphero_access_token.Register Shipment Hook On Shipherosends a GraphQLwebhook_createmutation for a "Shipment Update" hook pointing at the Cloudflare Workershiphero-handler...workers.dev/process_shiphero_shipment?brand=<n8n_id>, and ShipHero returns the hook's shared signature secret.- Disconnected helper nodes exist for manual use:
Get Shiphero Hookslists hooks andDelete Shipment Hook On Shipheroruns awebhook_delete.
Notes
- The "Delete Shipment Hook" node has a hardcoded ShipHero bearer JWT embedded inline.
- The returned
shared_signature_secretis stored elsewhere to verify inbound webhook signatures.