# Dub + CalGet Integrations: Connect with Zapier MCP
> zapier.com/apps/dub/integrations/calget
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Dub and CalGet in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## 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

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action calget write create_event \
  --inputs '{}'
```

## Dub

### Identity
Dub is the open-source link management infrastructure for modern marketing teams.

- App slug: dub
- Operations published here: 18 (9 events, 8 functions, 1 query)

### Authentication
Zapier connects to Dub 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 dub
```

### Capabilities

#### Events (9)

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

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

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

##### New Lead
Triggers when a new lead is created.

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

##### Link Clicked
Triggers when a link is clicked.

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

##### New Link
Triggers when a new link is created.

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

##### Deleted Link
Triggers when a link is deleted.

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

##### Updated Link
Triggers when a link is updated.

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

##### Partner Application Submitted
Triggers when a partner submits an application to your program.

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

##### New Partner Enrollment
Triggers when a new partner is enrolled in your program.

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

##### New Sale
Triggers when a new sale is created.

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

#### Functions (8)

Functions change something in Dub.

##### Create Link
Creates a new short link.

- Type: write · Key: `createLink`
- Requires: url
- Optional: domain, externalId, tagId, key, prefix, publicStats, tagIds, tagNames, comments, expiresAt, expiredUrl, secret-code, rewrite, ios, android
- SDK: `runAction({ app: "dub", actionType: "write", action: "createLink" })`
- CLI: `npx zapier-sdk run-action dub write createLink`

##### Create Tag
Creates a new tag.

- Type: write · Key: `createTag`
- Requires: name
- Optional: color
- SDK: `runAction({ app: "dub", actionType: "write", action: "createTag" })`
- CLI: `npx zapier-sdk run-action dub write createTag`

##### Delete Link
Deletes a short link.

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

##### Track Lead
Track a lead for a short link.

- Type: write · Key: `trackLead`
- Requires: clickId, externalId, eventName
- Optional: eventQuantity, customerName, customerEmail, customerAvatar, mode, metadata
- SDK: `runAction({ app: "dub", actionType: "write", action: "trackLead" })`
- CLI: `npx zapier-sdk run-action dub write trackLead`

##### Track Sale
Track a sale for a short link.

- Type: write · Key: `trackSale`
- Requires: externalId, amount, paymentProcessor
- Optional: eventName, invoiceId, currency, leadEventName, metadata
- SDK: `runAction({ app: "dub", actionType: "write", action: "trackSale" })`
- CLI: `npx zapier-sdk run-action dub write trackSale`

##### Update Link
Update the details of a short link.

- Type: write · Key: `updateLink`
- Requires: linkId
- Optional: url, domain, externalId, tagId, key, prefix, publicStats, tagIds, tagNames, comments, expiresAt, expiredUrl, secret-code, rewrite, ios, android
- SDK: `runAction({ app: "dub", actionType: "write", action: "updateLink" })`
- CLI: `npx zapier-sdk run-action dub write updateLink`

##### Update Tag
Updates an existing tag.

- Type: write · Key: `updateTag`
- Requires: tagId, name
- Optional: color
- SDK: `runAction({ app: "dub", actionType: "write", action: "updateTag" })`
- CLI: `npx zapier-sdk run-action dub write updateTag`

##### Upsert Link
If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.

- Type: write · Key: `upsertLink`
- Requires: url
- Optional: domain, tagId, key, externalId, prefix, publicStats, tagIds, tagNames, comments, expiresAt, expiredUrl, secret-code, rewrite, ios, android
- SDK: `runAction({ app: "dub", actionType: "write", action: "upsertLink" })`
- CLI: `npx zapier-sdk run-action dub write upsertLink`

#### Queries (1)

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

##### Retrieve Link
Retrieve the info for a link.

- Type: search · Key: `retrieveLink`
- Requires: nothing
- Optional: linkId, externalId, domain, key
- SDK: `runAction({ app: "dub", actionType: "search", action: "retrieveLink" })`
- CLI: `npx zapier-sdk run-action dub search retrieveLink`

## CalGet

### Identity
CalGet is an 'Add to Calendar' link generator with RSVP options. Create shareable event links for popular calendar apps.

- App slug: calget
- Operations published here: 2 (1 event, 1 function)

### Authentication
Zapier connects to CalGet 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 calget
```

### Capabilities

#### Events (1)

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

##### Get RSVP Responses
Get submitted RSVP responses from CalGet

- Type: read · Key: `new_rsvp_response`
- Requires: team, event_id
- SDK: `runAction({ app: "calget", actionType: "read", action: "new_rsvp_response" })`
- CLI: `npx zapier-sdk run-action calget read new_rsvp_response`

#### Functions (1)

Functions change something in CalGet.

##### Create Event
Create a new event in CalGet

- Type: write · Key: `create_event`
- Requires: title, description, location, start_date, end_date, timezone, template, calendar
- Optional: team, is_online, is_all_day, has_rsvp, rsvp_template
- SDK: `runAction({ app: "calget", actionType: "write", action: "create_event" })`
- CLI: `npx zapier-sdk run-action calget write create_event`

## Links
- Dub integrations: zapier.com/apps/dub/integrations.md
- CalGet integrations: zapier.com/apps/calget/integrations.md
- Full page: zapier.com/apps/dub/integrations/calget
- SDK: npmjs.com/package/@zapier/zapier-sdk