AfterShip logo

Integrate AfterShip with your AI CRM

AfterShip provides shipment tracking, courier detection and connections, and estimated delivery date prediction for ecommerce operations.

Explore Triggers and Actions

Create Courier Connection

Connect one courier account using the courier-specific credential fields advertised by courier metadata.

ActionTry it

Create Tracking

Create one shipment tracking record from a tracking number and optional courier, order, route, customer, and delivery metadata.

ActionTry it

Create Trackings Batch

Sequentially create 1-20 tracking records through AfterShip's single-record create endpoint. This operation is non-atomic: each item consumes one request, successful earlier creates are not rolled back, and no create is retried automatically. Item-specific 400 and 409 rejections do not stop later items; authentication, permission, rate-limit, server, malformed-success, and transport failures stop processing and mark remaining items not_attempted.

ActionTry it

Delete Courier Connection

Permanently remove one courier account connection by an ID obtained from list or create. Warning: this destructive action cannot be undone.

ActionTry it

Delete Tracking

Permanently delete one tracking record by its AfterShip tracking ID. Warning: this destructive action cannot be undone.

ActionTry it

Detect Courier

Return couriers that may handle a tracking number, using optional courier and shipment hints to narrow detection.

ActionTry it

Get Courier Connection

Return one courier account connection by an ID obtained from list or create.

ActionTry it

Get Tracking

Return one tracking record by its AfterShip tracking ID, with optional field selection and checkpoint translation.

ActionTry it

List Courier Connections

Return one cursor-controlled page of courier account connections, optionally filtered by courier slug.

ActionTry it

List Couriers

Return courier metadata, optionally limited to account-activated couriers or selected courier slugs, including required tracking and credential field definitions.

ActionTry it

List Trackings

Return one cursor-controlled page of shipment trackings, optionally filtered by identifiers, courier, status, dates, route, or shipment metadata.

ActionTry it

Mark Tracking Completed

Mark a tracking as delivered, lost, or returned to sender. Warning: a successful call stops automatic tracking updates until the tracking is retracked.

ActionTry it

Predict Estimated Delivery Date

Predict an estimated delivery date before a tracking number exists. This paid endpoint requires Predict trial access or an AfterShip advanced plan.

ActionTry it

Predict Estimated Delivery Dates Batch

Predict estimated delivery dates atomically for one to five planned shipments. One invalid item fails the whole batch. The connected AfterShip organization must have a Predict trial or advanced-plan entitlement.

ActionTry it

Retrack Tracking

Restart automatic updates for an expired tracking. Only expired trackings are eligible, and each successful call irreversibly consumes one of at most three retrack attempts for that tracking.

ActionTry it

Update Courier Connection

Replace carrier-specific credentials on an existing courier account connection. Warning: this consequential credential rotation replaces the complete credential set; incorrect values can stop future tracking updates.

ActionTry it

Update Tracking

Update editable order, courier, route, customer, and delivery metadata on an existing tracking record.

ActionTry it

How the AfterShip integration works

The AfterShip integration connects your Dench AI CRM directly to AfterShip, so agents can read and act on your AfterShip data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

17 actions are available for agents to invoke on your behalf. Every call runs through AfterShip's own authorization, scoped to the account you connect.

Set up AfterShip in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find AfterShip and click Connect — you'll authorize access through AfterShip's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use AfterShip in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the AfterShip integration work with Dench?

The Dench AfterShip integration connects your AI CRM to AfterShip, so AI agents can work with your AfterShip data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with AfterShip via Dench?

The AfterShip integration currently exposes 17 actions, including Create Courier Connection, Create Tracking, Create Trackings Batch, Delete Courier Connection, Delete Tracking, and Detect Courier. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect AfterShip to Dench?

No. You connect AfterShip from your Dench workspace using AfterShip's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the AfterShip integration secure?

Connections are authorized through AfterShip's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the AfterShip connection from your workspace settings at any time.

AfterShip | Dench AI CRM