KeyCRM

KeyCRM: label on status change

When the order reaches the required status, KeyCRM calls the bridge script: it buys the cheapest label and records tracking in the delivery and manager’s comment.

Downloadable files

What you’ll need

Step-by-step instructions

  1. Download keycrm-bridge.php and shippickup.php, upload them to the same folder on your server.
  2. In the ShipPickup dashboard, create a live API key (rates:read, labels:create). Set environment variables from the top of the file: SHIPPICKUP_API_KEY, SHIPPICKUP_FROM, SHIPPICKUP_PARCEL, BRIDGE_SECRET, KEYCRM_TOKEN.
  3. In KeyCRM, under “Settings” → “Webhooks”: add a webhook for the order status change event with URL https://your-server/keycrm-bridge.php?secret=BRIDGE_SECRET_VALUE.
  4. To trigger the bridge only for one status, specify its ID in KEYCRM_STATUS_ID.
  5. In the order, fill in the delivery block: recipient, phone, address, city, region, postal code, and country (two-letter code).

Important to know

Files contain no keys or passwords: all secrets are set by you in environment settings. Do not publish files with your values.

← All ready-made solutions · Common Scenarios