# Gumroad + UpViral Integrations: Connect with Zapier MCP
> zapier.com/apps/gumroad/integrations/upviral
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Gumroad and UpViral 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 · add_contact`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action upviral write add_contact \
  --inputs '{}'
```

## Gumroad

### Identity
Gumroad allows all types of creators to sell their work (music, art, books, films, etc) directly to their audiences.

- App slug: gumroad
- Operations published here: 4 (4 events)

### Authentication
Zapier connects to Gumroad 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 gumroad
```

### Capabilities

#### Events (4)

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

##### Cancellation
This Trigger fires every time a cancellation of a subscription occurs.

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

##### New Product
Triggers when you add a new product to your Gumroad account.

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

##### Refund
This Trigger fires every time a sale is refunded.

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

##### Sale
This Trigger fires every time a sale occurs.

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

## UpViral

### Identity
UpViral is a referral platform to run viral giveaways and sweepstakes.

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

### Authentication
Zapier connects to UpViral 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 upviral
```

### Capabilities

#### Events (2)

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

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

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

##### Unlock Rewards
Triggers when a new reward unlocks.

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

#### Functions (3)

Functions change something in UpViral.

##### Add Contact
Adds a new contact to a campaign.

- Type: write · Key: `add_contact`
- Requires: list_id, email
- Optional: name
- SDK: `runAction({ app: "upviral", actionType: "write", action: "add_contact" })`
- CLI: `npx zapier-sdk run-action upviral write add_contact`

##### Add Points
Add points to a lead.

- Type: write · Key: `add_points`
- Requires: list_id, lead_email, points
- SDK: `runAction({ app: "upviral", actionType: "write", action: "add_points" })`
- CLI: `npx zapier-sdk run-action upviral write add_points`

##### Unlock Rewards
Unlocks a reward.

- Type: write · Key: `unlock_rewards`
- Requires: campaign_id, email
- SDK: `runAction({ app: "upviral", actionType: "write", action: "unlock_rewards" })`
- CLI: `npx zapier-sdk run-action upviral write unlock_rewards`

## Links
- Gumroad integrations: zapier.com/apps/gumroad/integrations.md
- UpViral integrations: zapier.com/apps/upviral/integrations.md
- Full page: zapier.com/apps/gumroad/integrations/upviral
- SDK: npmjs.com/package/@zapier/zapier-sdk