# Zapier — Referral Rock Integrations
> zapier.com/apps/referral-rock/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
Referral Rock helps businesses to design, track and manage referral programs.

- App slug: referral-rock
- Operations published here: 15 (5 events, 6 functions, 3 queries, 1 search-or-write action)

## Authentication
Zapier connects to Referral Rock 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 referral-rock
```

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

### Getting Started
- **MCP**: connect Referral Rock 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 · AddMember`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action referral-rock write AddMember \
  --inputs '{}'
```

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

### Events (5)

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

#### New Member
Triggers when a new member signs up.

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

#### New Referral
Triggers when a new referral is created.

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

#### New Reward
Triggers when a new reward is created.

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

#### Updated Member
Triggers when a member is updated.

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

#### Updated Referral
Triggers when a referral is updated.

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

### Functions (6)

Functions change something in Referral Rock.

#### Add Member
Add a new member to a referral program.

- Type: write · Key: `AddMember`
- Requires: programId, firstName, email
- Optional: lastName, referralCode, phone, dateOfBirth, addressLine1, addressLine2, city, region, country, postalCode, externalIdentifier, disabledFlag, customOverrideURL, customOption1Name, customOption1Value, customText1Name, customText1Value, customText2Name, customText2Value, shouldSendEmail, payoutInfo__payoutType, payoutInfo__useDefaultValues, payoutInfo__email, recruiterSourceId, recruiterAssignedId, recruiterSourceEmail, allowExcessPayments, recruiterSourceExternalId, recruiterAssignedExternalId, recruiterAssignedEmail
- SDK: `runAction({ app: "referral-rock", actionType: "write", action: "AddMember" })`
- CLI: `npx zapier-sdk run-action referral-rock write AddMember`

#### Add Referral
Adds a new referral from a member.

- Type: write · Key: `AddReferral`
- Requires: firstName, email, referralCode
- Optional: lastName, amount, companyName, phoneNumber, note, publicnote, externalIdentifier, preferredContact, customoption1name, customOption2Name, customText1Name, customText2Name, customText3Name, customOption1Value, customOption2Value, customText1Value, customText2Value, customText3Value, addressLine1, addressLine2, city, region, postalCode, country, recruiterAssignedId, recruiterAssignedEmail, recruiterAssignedExternalId
- SDK: `runAction({ app: "referral-rock", actionType: "write", action: "AddReferral" })`
- CLI: `npx zapier-sdk run-action referral-rock write AddReferral`

#### Add Referral Action
Creates a new Referral Action to be used for processing new recurring rewards.

- Type: write · Key: `AddReferralAction`
- Requires: nothing
- Optional: amount, referralQuery, programQuery, name, externalIdentifier
- SDK: `runAction({ app: "referral-rock", actionType: "write", action: "AddReferralAction" })`
- CLI: `npx zapier-sdk run-action referral-rock write AddReferralAction`

#### Feed Customer
Update the status of matching referrals to Approved across all programs and add contacts as preloaded members based on account settings.

- Type: write · Key: `FeedCustomer`
- Requires: email
- Optional: externalId, firstName, lastName, phone, addressLine1, addressLine2, city, region, postalCode, amount, purchaseDate
- SDK: `runAction({ app: "referral-rock", actionType: "write", action: "FeedCustomer" })`
- CLI: `npx zapier-sdk run-action referral-rock write FeedCustomer`

#### Update Member
Update fields on an existing member

- Type: write · Key: `MemberUpdate`
- Requires: nothing
- Optional: queryMemberId, queryEmail, queryExternalId, queryProgramId, recruiterAssignedEmail, recruiterAssignedExternalId, recruiterAssignedId, firstName, lastName, email, phone, externalIdentifier, dateOfBirth, addressLine1, addressLine2, city, region, country, postalCode, customOption1Name, customOption1Value, customText1Name, customText1Value, customText2Name, customText2Value
- SDK: `runAction({ app: "referral-rock", actionType: "write", action: "MemberUpdate" })`
- CLI: `npx zapier-sdk run-action referral-rock write MemberUpdate`

#### Update Referral
Update a referral.

- Type: write · Key: `ReferralUpdate`
- Requires: referralId
- Optional: programId, amount, status, firstName, lastName, phoneNumber, email, companyName, publicNote, note, preferredContact, externalIdentifier, customOption1Name, customOption2Name, customText1Name, customText2Name, customText3Name, customOption1Value, customOption2Value, customText1Value, customText2Value, customText3Value, addressLine1, addressLine2, city, region, postalCode, country, recruiterAssignedId, recruiterAssignedEmail, recruiterAssignedExternalId
- SDK: `runAction({ app: "referral-rock", actionType: "write", action: "ReferralUpdate" })`
- CLI: `npx zapier-sdk run-action referral-rock write ReferralUpdate`

### Queries (3)

Queries read from Referral Rock and return data. They change nothing.

#### Find Member
Find a member.

- Type: search · Key: `FindMember`
- Requires: nothing
- Optional: query
- SDK: `runAction({ app: "referral-rock", actionType: "search", action: "FindMember" })`
- CLI: `npx zapier-sdk run-action referral-rock search FindMember`

#### Find Program
Find a program.

- Type: search · Key: `FindSingleProgram`
- Requires: programName
- SDK: `runAction({ app: "referral-rock", actionType: "search", action: "FindSingleProgram" })`
- CLI: `npx zapier-sdk run-action referral-rock search FindSingleProgram`

#### Find Referral
Find a Referral by Referral ID, Email Address or External ID.

- Type: search · Key: `FindSingleReferral`
- Requires: nothing
- Optional: email, referralId, externalId
- SDK: `runAction({ app: "referral-rock", actionType: "search", action: "FindSingleReferral" })`
- CLI: `npx zapier-sdk run-action referral-rock search FindSingleReferral`

### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

#### Find or Add Referral
Find or Add Referral

- Type: search_or_write · Key: `FindSingleReferral`
- Requires: email, firstName, referralCode
- Optional: referralId, externalId, lastName, amount, companyName, phoneNumber, note, publicnote, externalIdentifier, preferredContact, customoption1name, customOption2Name, customText1Name, customText2Name, customText3Name, customOption1Value, customOption2Value, customText1Value, customText2Value, customText3Value, addressLine1, addressLine2, city, region, postalCode, country, recruiterAssignedId, recruiterAssignedEmail, recruiterAssignedExternalId
- SDK: `runAction({ app: "referral-rock", actionType: "search_or_write", action: "FindSingleReferral" })`
- CLI: `npx zapier-sdk run-action referral-rock search_or_write FindSingleReferral`

## Popular integrations
- [Referral Rock + HubSpot](zapier.com/apps/referral-rock/integrations/hubspot.md)
- [Referral Rock + Google Forms (Legacy)](zapier.com/apps/referral-rock/integrations/google-forms-legacy.md)
- [Referral Rock + Unbounce](zapier.com/apps/referral-rock/integrations/unbounce.md)
- [Referral Rock + ServiceTitan](zapier.com/apps/referral-rock/integrations/servicetitan.md)
- [Referral Rock + SuperSaaS](zapier.com/apps/referral-rock/integrations/supersaas.md)
- [Referral Rock + Pipedrive](zapier.com/apps/referral-rock/integrations/pipedrive.md)
- [Referral Rock + QuickBooks Online](zapier.com/apps/referral-rock/integrations/quickbooks.md)
- [Referral Rock + Facebook Lead Ads (for Business admins)](zapier.com/apps/referral-rock/integrations/facebook-lead-ads-beta.md)
- [Referral Rock + LeadConnector](zapier.com/apps/referral-rock/integrations/leadconnector.md)
- [Referral Rock + Keap](zapier.com/apps/referral-rock/integrations/keap.md)
- [Referral Rock + Perspective](zapier.com/apps/referral-rock/integrations/perspective.md)
- [Referral Rock + Tango](zapier.com/apps/referral-rock/integrations/tango.md)
- [Referral Rock + Mailchimp](zapier.com/apps/referral-rock/integrations/mailchimp.md)
- [Referral Rock + Trello](zapier.com/apps/referral-rock/integrations/trello.md)
- [Referral Rock + Microsoft Excel](zapier.com/apps/referral-rock/integrations/excel.md)
- [Referral Rock + Xero](zapier.com/apps/referral-rock/integrations/xero.md)
- [Referral Rock + MySQL](zapier.com/apps/referral-rock/integrations/mysql.md)
- [Referral Rock + Podio](zapier.com/apps/referral-rock/integrations/podio.md)
- [Referral Rock + SQL Server](zapier.com/apps/referral-rock/integrations/sql-server.md)
- [Referral Rock + Odoo ERP Self Hosted](zapier.com/apps/referral-rock/integrations/openerp.md)
- [Referral Rock + Typeform](zapier.com/apps/referral-rock/integrations/typeform.md)
- [Referral Rock + monday.com](zapier.com/apps/referral-rock/integrations/monday.md)
- [Referral Rock + Close](zapier.com/apps/referral-rock/integrations/close.md)
- [Referral Rock + PayPal](zapier.com/apps/referral-rock/integrations/paypal.md)
- [Referral Rock + Zoho Invoice](zapier.com/apps/referral-rock/integrations/zoho-invoice.md)
- [Referral Rock + PersistIQ](zapier.com/apps/referral-rock/integrations/persistiq.md)
- [Referral Rock + Gravity Forms](zapier.com/apps/referral-rock/integrations/gravity-forms.md)
- [Referral Rock + Facebook Conversions](zapier.com/apps/referral-rock/integrations/facebook-conversions.md)
- [Referral Rock + LinkedIn Conversions](zapier.com/apps/referral-rock/integrations/linkedin-conversions.md)
- [Referral Rock + Wufoo](zapier.com/apps/referral-rock/integrations/wufoo.md)

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