# Freshmarketer Classic + UpViral Integrations: Connect with Zapier MCP
> zapier.com/apps/freshmarketer-classic/integrations/upviral
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

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

## Freshmarketer Classic

### Identity
Freshmarketer Classic is a cloud-based marketing automation with integrated email campaigns, behavior tracking, analytics, CRO, and more.

- App slug: freshmarketer-classic
- Operations published here: 10 (5 events, 4 functions, 1 query)

### Authentication
Zapier connects to Freshmarketer Classic 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 freshmarketer-classic
```

### Capabilities

#### Events (5)

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

##### Contact Added
Triggers when a contact is newly added.

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

##### Contact Added to a List
Triggers when a contact is newly added to list.

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

##### Contact Removed From List
Triggers when a contact is removed from the list.

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

##### Contact Unsubscribed
Triggers when a contact opts out from one or many subscription type(s)

- Type: read · Key: `contact_unsubscribed`
- Requires: subscription_type
- SDK: `runAction({ app: "freshmarketer-classic", actionType: "read", action: "contact_unsubscribed" })`
- CLI: `npx zapier-sdk run-action freshmarketer-classic read contact_unsubscribed`

##### Contact Updated
Triggers when a contact is updated.

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

#### Functions (4)

Functions change something in Freshmarketer Classic.

##### Add or Update a Contact to a List
Add or Update a contact to a list

- Type: write · Key: `add_to_list`
- Requires: list_id
- SDK: `runAction({ app: "freshmarketer-classic", actionType: "write", action: "add_to_list" })`
- CLI: `npx zapier-sdk run-action freshmarketer-classic write add_to_list`

##### Add/Update Contact
Add or Update a contact

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

##### Delete Contact
Delete a contact

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

##### Remove Contact From a List
Remove contact from a list

- Type: write · Key: `remove_from_list`
- Requires: list_id, email
- SDK: `runAction({ app: "freshmarketer-classic", actionType: "write", action: "remove_from_list" })`
- CLI: `npx zapier-sdk run-action freshmarketer-classic write remove_from_list`

#### Queries (1)

Queries read from Freshmarketer Classic and return data. They change nothing.

##### Find a contact
Find a contact by Email

- Type: search · Key: `find_contact`
- Requires: nothing
- Optional: email
- SDK: `runAction({ app: "freshmarketer-classic", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action freshmarketer-classic search find_contact`

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