# Zapier — TrackMage Integrations
> zapier.com/apps/trackmage/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
TrackMage is an order tracking platform that combines order fulfillment and customer support to provide customer's with a comprehensive post-purchase experience.

- App slug: trackmage
- Operations published here: 14 (7 events, 3 functions, 2 queries, 2 search-or-write actions)

## Authentication
Zapier connects to TrackMage via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection trackmage
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/trackmage/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect TrackMage through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · orderCreate`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "trackmage", owner: "me" });

const { data } = await zapier.runAction({
  app: "trackmage",
  actionType: "write",
  action: "orderCreate",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action trackmage write orderCreate \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing TrackMage's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "trackmage" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions trackmage --page-size 50 --max-items 200 --json
```

### Events (7)

Events fire when something happens in TrackMage. Use them to start a run.

#### New Order Created
Triggers when a new order is created.

- Type: read · Key: `order_create`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "read", action: "order_create" })`
- CLI: `npx zapier-sdk run-action trackmage read order_create`

#### Deleted Order
Triggers when a order gets deleted.

- Type: read · Key: `order_delete`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "read", action: "order_delete" })`
- CLI: `npx zapier-sdk run-action trackmage read order_delete`

#### Updated Order
Triggers when an existing order is updated.

- Type: read · Key: `order_update`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "read", action: "order_update" })`
- CLI: `npx zapier-sdk run-action trackmage read order_update`

#### New Shipment Created
Triggers when a new parcel is created.

- Type: read · Key: `shipment_create`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "read", action: "shipment_create" })`
- CLI: `npx zapier-sdk run-action trackmage read shipment_create`

#### Deleted Shipment
Triggers when a shipment gets deleted.

- Type: read · Key: `shipment_delete`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "read", action: "shipment_delete" })`
- CLI: `npx zapier-sdk run-action trackmage read shipment_delete`

#### Updated Shipment Tracking Status
Triggers when a shipment tracking status changes.

- Type: read · Key: `shipment_tracking_status_change`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "read", action: "shipment_tracking_status_change" })`
- CLI: `npx zapier-sdk run-action trackmage read shipment_tracking_status_change`

#### Updated Shipment
Triggers when an existing parcel is updated.

- Type: read · Key: `shipment_update`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "read", action: "shipment_update" })`
- CLI: `npx zapier-sdk run-action trackmage read shipment_update`

### Functions (3)

Functions change something in TrackMage.

#### Create Order
Create a new Order.

- Type: write · Key: `orderCreate`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "write", action: "orderCreate" })`
- CLI: `npx zapier-sdk run-action trackmage write orderCreate`

#### Create Shipment
Create a new Shipment.

- Type: write · Key: `shipmentCreate`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "write", action: "shipmentCreate" })`
- CLI: `npx zapier-sdk run-action trackmage write shipmentCreate`

#### Create Tracking Page Link
Create an individual link to your tracking page where your customers/vendors can see statuses of their parcels. Links get created using specified parameters. For example, you will get a link to all your customers shipments on one page if you pass in their email as a parameter.

- Type: write · Key: `tracking_page_linkCreate`
- Requires: workspace, trackingPageId
- SDK: `runAction({ app: "trackmage", actionType: "write", action: "tracking_page_linkCreate" })`
- CLI: `npx zapier-sdk run-action trackmage write tracking_page_linkCreate`

### Queries (2)

Queries read from TrackMage and return data. They change nothing.

#### Find Order
Find a order by specified criteria.

- Type: search · Key: `orderSearch`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "search", action: "orderSearch" })`
- CLI: `npx zapier-sdk run-action trackmage search orderSearch`

#### Find Shipment
Find a shipment by specified criteria.

- Type: search · Key: `shipmentSearch`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "search", action: "shipmentSearch" })`
- CLI: `npx zapier-sdk run-action trackmage search shipmentSearch`

### Search or Write Actions (2)

These operations search for a match first, and create one only if nothing is found.

#### Find or Create Order
Find a order by specified criteria.

- Type: search_or_write · Key: `orderSearch`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "search_or_write", action: "orderSearch" })`
- CLI: `npx zapier-sdk run-action trackmage search_or_write orderSearch`

#### Find or Create Shipment
Find a shipment by specified criteria.

- Type: search_or_write · Key: `shipmentSearch`
- Requires: workspace
- SDK: `runAction({ app: "trackmage", actionType: "search_or_write", action: "shipmentSearch" })`
- CLI: `npx zapier-sdk run-action trackmage search_or_write shipmentSearch`

## Popular integrations
- [TrackMage + Google Sheets](zapier.com/apps/trackmage/integrations/google-sheets.md)
- [TrackMage + Trello](zapier.com/apps/trackmage/integrations/trello.md)
- [TrackMage + Newsletter2Go](zapier.com/apps/trackmage/integrations/newsletter2go.md)
- [TrackMage + Slack](zapier.com/apps/trackmage/integrations/slack.md)
- [TrackMage + Facebook Lead Ads](zapier.com/apps/trackmage/integrations/facebook-lead-ads.md)
- [TrackMage + MySQL](zapier.com/apps/trackmage/integrations/mysql.md)

## Links
- Full app page: zapier.com/apps/trackmage/integrations
- MCP: zapier.com/mcp/trackmage
- SDK: npmjs.com/package/@zapier/zapier-sdk