# Zapier — Ghost Agent Integrations
> zapier.com/apps/ghost-agent/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
Ghost Agent is a livestream intelligence tool that turns every Whatnot, TikTok, eBay Live and Fanatics show into a report: GMV, buyers and earning affiliates.

- App slug: ghost-agent
- Operations published here: 5 (3 events, 2 functions)

## Authentication
Zapier connects to Ghost Agent via other. Your code references a connection, not a raw credential.

- Auth type: other
- 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 ghost-agent
```

## 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/ghost-agent/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Ghost Agent 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 · find_affiliates`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action ghost-agent write find_affiliates \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Ghost Agent'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: "ghost-agent" }).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 ghost-agent --page-size 50 --max-items 200 --json
```

### Events (3)

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

#### New Earning Affiliate
Triggers when a creator who earns GMV shows up in the rooms you track. Point it at your competitors to find affiliates worth recruiting, then send them straight to a CRM or email tool. Requires the Ghost Agent Growth plan.

- Type: read · Key: `new_affiliate`
- Requires: nothing
- Optional: kind, fields, days
- SDK: `runAction({ app: "ghost-agent", actionType: "read", action: "new_affiliate" })`
- CLI: `npx zapier-sdk run-action ghost-agent read new_affiliate`

#### New Livestream Report
Triggers when Ghost Agent finishes a report for a livestream — one of your brands or a competitor you track.

- Type: read · Key: `new_report`
- Requires: nothing
- Optional: kind, platform, handle
- SDK: `runAction({ app: "ghost-agent", actionType: "read", action: "new_report" })`
- CLI: `npx zapier-sdk run-action ghost-agent read new_report`

#### Show Went Live
Triggers when a brand you track starts streaming and Ghost Agent joins. Set "Which brands" to Competitors only to be alerted the moment a rival goes live.

- Type: read · Key: `show_started`
- Requires: nothing
- Optional: kind, platform, handle
- SDK: `runAction({ app: "ghost-agent", actionType: "read", action: "show_started" })`
- CLI: `npx zapier-sdk run-action ghost-agent read show_started`

### Functions (2)

Functions change something in Ghost Agent.

#### Find Earning Affiliates
Gets creators who earned GMV in the rooms you track, highest earners first. Point it at your competitors to find affiliates worth recruiting, or at your own brands for a list of who already sells for you. Pair with Schedule by Zapier to push them into Klaviyo, a CRM or a sheet on a cadence you choose. Requires the Ghost Agent Growth plan.

- Type: write · Key: `find_affiliates`
- Requires: nothing
- Optional: kind, days, fields, limit
- SDK: `runAction({ app: "ghost-agent", actionType: "write", action: "find_affiliates" })`
- CLI: `npx zapier-sdk run-action ghost-agent write find_affiliates`

#### Track a Brand
Starts tracking a seller in Ghost Agent — as one of your own brands, or as a competitor.

- Type: write · Key: `track_brand`
- Requires: username, platform
- Optional: name, parent_id
- SDK: `runAction({ app: "ghost-agent", actionType: "write", action: "track_brand" })`
- CLI: `npx zapier-sdk run-action ghost-agent write track_brand`

## Popular integrations
- [Ghost Agent + Google Sheets](zapier.com/apps/ghost-agent/integrations/google-sheets.md)
- [Ghost Agent + Gmail](zapier.com/apps/ghost-agent/integrations/gmail.md)
- [Ghost Agent + Slack](zapier.com/apps/ghost-agent/integrations/slack.md)
- [Ghost Agent + Airtable](zapier.com/apps/ghost-agent/integrations/airtable.md)
- [Ghost Agent + ActiveCampaign](zapier.com/apps/ghost-agent/integrations/activecampaign.md)
- [Ghost Agent + Microsoft Teams](zapier.com/apps/ghost-agent/integrations/microsoft-teams.md)

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