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

Integrate Prefinery 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 '{}'
```

## Prefinery

### Identity
More than just a landing page, Prefinery is a complete beta management launch platform that encourages social sharing and helps you learn from your users.

- App slug: prefinery
- Operations published here: 16 (13 events, 3 functions)

### Authentication
Zapier connects to Prefinery 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 prefinery
```

### Capabilities

#### Events (13)

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

##### Reward Delivered
Triggered when a reward is delivered.

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

##### Reward Earned
Triggered when a user earns a reward.

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

##### Reward Revoked
Triggered when a reward is revoked.

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

##### User Activated
Triggered when a user is activated.

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

##### User Applied
Triggered when a user applies.

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

##### User Created
Triggered when a new user is created, irrespective of their status.

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

##### User Invited
Triggered when a user is invited.

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

##### User Rejected
Triggered when a user is rejected.

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

##### User Resubscribed
Triggered when a user re-subscribes to receive emails.

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

##### User Suspended
Triggered when a user is suspended.

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

##### User Unconfirmed
Triggered when a user applies and is pending opt-in confirmation.

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

##### User Unsubscribed
Triggered when a user unsubscribes from receiving emails.

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

##### User Updated
Triggered when a user is updated or modified. For example, when they change status or their profile is modified.

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

#### Functions (3)

Functions change something in Prefinery.

##### Unsubscribe User
Unsubscribe a User and add their email address to the suppression list.

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

##### Create User
Creates a new user.

- Type: write · Key: `TESTERS_CREATE`
- Requires: tester__email, beta_id, tester__status
- Optional: tester__profile__first_name, tester__profile__last_name, tester__profile__employer, tester__profile__jobtitle, tester__profile__address_line1, tester__profile__address_line2, tester__profile__city, tester__profile__state, tester__profile__postal_code, tester__profile__country, tester__profile__telephone, tester__profile__age, tester__referrer_id, tester__profile__ip, tester__profile__facebook_username, tester__profile__twitter_username, tester__profile__linkedin_username, tester__profile__custom_var1, tester__profile__custom_var2, tester__profile__custom_var3, tester__profile__http_referrer, tester__profile__utm_source, tester__profile__utm_medium, tester__profile__utm_campaign, tester__profile__utm_term, tester__profile__utm_content
- SDK: `runAction({ app: "prefinery", actionType: "write", action: "TESTERS_CREATE" })`
- CLI: `npx zapier-sdk run-action prefinery write TESTERS_CREATE`

##### Trigger Rewards
Trigger rewards when a user performs a custom event.

- Type: write · Key: `TRIGGER_REWARD`
- Requires: beta_id, email, event
- SDK: `runAction({ app: "prefinery", actionType: "write", action: "TRIGGER_REWARD" })`
- CLI: `npx zapier-sdk run-action prefinery write TRIGGER_REWARD`

## 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
- Prefinery integrations: zapier.com/apps/prefinery/integrations.md
- UpViral integrations: zapier.com/apps/upviral/integrations.md
- Full page: zapier.com/apps/prefinery/integrations/upviral
- SDK: npmjs.com/package/@zapier/zapier-sdk