FOXAFFOXAFHelp Centre

iCargos integration

Updated 2 Dec 2026 · 3 min read

Send shipment status changes from your iCargos courier software into your workspace, so workflows can message receivers and track merchant growth.

The iCargos integration sends each shipment status change from your iCargos installation to your workspace. Workflows can then message the receiver, for example when a parcel is "Out for Delivery" or "Delivered". A second feed tracks your merchants' volume and flags those who slow down or stop.

The iCargos integration page with the webhook URL, secret and recent shipments

Before you begin

  • You need the Owner or Admin role.
  • You need access to your iCargos server, or an IT person who can add code to it.
  • To message receivers on WhatsApp, connect a WhatsApp channel. See Connect WhatsApp.

Where to find it

Go to Settings → Channels & Numbers → iCargos integration.

Step 1: Enable the integration

  1. Click Enable iCargos integration.
  2. The badge changes to Connected and two values appear: Webhook URL and Webhook secret (HMAC-SHA256 key).
  3. Click the copy icon next to each and keep them safe.

Step 2: Install the publisher in iCargos

  1. Give the URL and secret to your IT team.
  2. They add the code sample shown under Step 2 · Install the publisher in iCargos to the order-update path of your iCargos installation.
  3. Each status change then posts to FOXAF, signed with your secret.

When events arrive, they appear under Recent shipments on the right, with the old and new status. A ! next to a tracking number means no contact was matched.

Step 3: Turn on the merchant growth feed

  1. Copy the Merchant feed endpoint. It uses the same secret.
  2. Your IT team schedules the merchant push job on the iCargos server.
  3. Once data arrives, the card shows merchants tracked and counts for Volume drop, Gold slipping, Dormant, Churned and Referral-ready.
  4. Click Open Growth dashboard to see each merchant.

Build a workflow on shipments

  1. Click New workflow in the Build a workflow card.
  2. Pick the trigger When an iCargos shipment changes status.
  3. Choose a Status (optional), such as "Out for Delivery", or leave it on any status change.
  4. Add a Send WhatsApp step with an approved template.
  5. Save and switch it on.

See Build a workflow.

Rotate or disconnect

  • Rotate secret keeps the integration on but makes a new secret. iCargos stops syncing until your IT team pastes the new one.
  • Disconnect removes the secret entirely. New events are refused. Shipment data already received is kept, and you can enable it again at any time.

What happens next

Each shipment event can create or update the receiver's contact and start your workflows. Messages those workflows send are charged like any other message. For WhatsApp, Meta charges per delivered template message by category and the receiver's country.

Common questions

Do I need a separate API token for iCargos? Not for shipment events; they use the webhook URL and secret on this page. An API token is only needed for other modules that call the FOXAF API. See API tokens.

Why is the Recent shipments list empty? iCargos has not sent an event yet. Ask your IT team to check the publisher code and the secret.

What happens to old data if I disconnect? It stays. Only new events stop.

Which status should I message on? Most couriers use "Out for Delivery" to alert the receiver and "Delivered" to ask for a review.