n8n: ready workflow
The ready-made n8n workflow receives an order via webhook, calculates rates, purchases the cheapest label with an idempotent key, and responds with the order number and tracking. Insert it into any chain, for example after your CRM trigger.
Downloadable files
- n8n-workflow.json Ready workflow for n8n (file import)
What you’ll need
- n8n (cloud or your own server).
- A ShipPickup account and a live API key (
sk_live_…) with the permissions specified in the instructions. The key is created in the dashboard under “API” and stored in your system settings or environment variable.
Step-by-step instructions
- Download
n8n-workflow.json. In n8n, select "Import from file" and open the file. - Create credentials of type "Header Auth" named "ShipPickup API key": header name
Authorization, valueBearer YOUR_KEY. The key is stored in n8n credentials, not in the workflow. - Select these credentials in the "Get rates" and "Buy label" nodes.
- Enable the workflow and send a POST request to its webhook with fields:
order_id(your order number),from,to,parcel,items,declared_value_cents(format as in the label purchase method, withoutrate_id). - The webhook response contains
order_id,tracking_number,status,carrier,price_cents. Then connect any n8n nodes: CRM record, email, messenger.
Important to know
- The idempotency key is built from
order_id: rerunning for the same order will not purchase a second label.
Files contain no keys or passwords: all secrets are set by you in environment settings. Do not publish files with your values.