# Zapier — OfferLab Integrations
> zapier.com/apps/offerlab/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
OfferLab is an affiliate marketing platform for managing affiliates, tracking commissions, and growing through partnerships

- App slug: offerlab
- Operations published here: 16 (13 events, 1 function, 2 queries)

## Authentication
Zapier connects to OfferLab 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 offerlab
```

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

### Getting Started
- **MCP**: connect OfferLab 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 · mark_order_invoice_as_completed`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action offerlab write mark_order_invoice_as_completed \
  --inputs '{}'
```

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

### Events (13)

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

#### Affiliate Signed Up
Triggers when a new affiliate signs up through your referral link.

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

#### Collaboration Approved
Triggers when a collaboration is approved (either manually or automatically).

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

#### Commission Created
Triggers when a new commission is created.

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

#### Customer Created
Triggers when a new customer is created.

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

#### Customer Updated
Triggers when a customer is updated.

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

#### One-Time Order Completed
Triggers when an order is paid and completed.

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

#### Order Invoice Created
Triggers when an order invoice is created.

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

#### Order Invoice Paid
Triggers when an order invoice is paid.

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

#### Order Status Changed
Triggers when an order status changes.

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

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

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

#### Subscription Created
Triggers when a new subscription is created.

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

#### Subscription Updated
Triggers when a subscription is updated.

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

#### New Team Member
Triggers when a new team member is created.

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

### Functions (1)

Functions change something in OfferLab.

#### Mark Order Invoice as Complete
Marks an order invoice as complete.

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

### Queries (2)

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

#### Search Customers by Email or ID
Search for customers using the customer's ID or email address

- Type: search · Key: `search_customer_by_email_or_id`
- Requires: nothing
- Optional: search_type, search_value
- SDK: `runAction({ app: "offerlab", actionType: "search", action: "search_customer_by_email_or_id" })`
- CLI: `npx zapier-sdk run-action offerlab search search_customer_by_email_or_id`

#### Search Order Invoice by ID or Invoice Number
Search for an order invoice using the invoice's ID or invoice number (e.g., OL-77847065)

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

## Popular integrations
- [OfferLab + WhatsApp Notifications](zapier.com/apps/offerlab/integrations/whatsapp-notifications.md)
- [OfferLab + MailerLite](zapier.com/apps/offerlab/integrations/mailerlite.md)
- [OfferLab + ClickFunnels](zapier.com/apps/offerlab/integrations/clickfunnels.md)
- [OfferLab + SendFox](zapier.com/apps/offerlab/integrations/sendfox.md)
- [OfferLab + Facebook Lead Ads](zapier.com/apps/offerlab/integrations/facebook-lead-ads.md)
- [OfferLab + Shopify](zapier.com/apps/offerlab/integrations/shopify.md)
- [OfferLab + Kit](zapier.com/apps/offerlab/integrations/kit.md)
- [OfferLab + Stan](zapier.com/apps/offerlab/integrations/stan-creator.md)
- [OfferLab + Facebook Messenger](zapier.com/apps/offerlab/integrations/facebook-messenger.md)
- [OfferLab + FunnelCockpit](zapier.com/apps/offerlab/integrations/funnelcockpit.md)
- [OfferLab + Manus](zapier.com/apps/offerlab/integrations/manus.md)

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