# Mailshake + AdRoll Integrations: Connect with Zapier MCP
> zapier.com/apps/mailshake/integrations/adroll
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Mailshake and AdRoll 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_user_to_segment`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action adroll write add_user_to_segment \
  --inputs '{}'
```

## Mailshake

### Identity
Mailshake is a simple outreach tool that works with any Google account.

- App slug: mailshake
- Operations published here: 14 (6 events, 8 functions)

### Authentication
Zapier connects to Mailshake 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 mailshake
```

### Capabilities

#### Events (6)

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

##### New Click
Triggers when a recipient clicks on a link.

- Type: read · Key: `new_click`
- Requires: nothing
- Optional: campaignID, excludeDuplicates, matchUrl
- SDK: `runAction({ app: "mailshake", actionType: "read", action: "new_click" })`
- CLI: `npx zapier-sdk run-action mailshake read new_click`

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

- Type: read · Key: `new_lead`
- Requires: nothing
- Optional: assignedToEmailAddress, campaignID
- SDK: `runAction({ app: "mailshake", actionType: "read", action: "new_lead" })`
- CLI: `npx zapier-sdk run-action mailshake read new_lead`

##### New Lead Status
Triggers when the status of a lead changes.

- Type: read · Key: `new_lead_status`
- Requires: nothing
- Optional: campaignID, status
- SDK: `runAction({ app: "mailshake", actionType: "read", action: "new_lead_status" })`
- CLI: `npx zapier-sdk run-action mailshake read new_lead_status`

##### New Message Sent
Triggers when an email is sent to a recipient from one of the campaign sequence messages.

- Type: read · Key: `new_message_sent`
- Requires: nothing
- Optional: campaignID, campaignMessageType
- SDK: `runAction({ app: "mailshake", actionType: "read", action: "new_message_sent" })`
- CLI: `npx zapier-sdk run-action mailshake read new_message_sent`

##### New Open
Triggers when a recipient opens an email.

- Type: read · Key: `new_open`
- Requires: nothing
- Optional: campaignID, excludeDuplicates
- SDK: `runAction({ app: "mailshake", actionType: "read", action: "new_open" })`
- CLI: `npx zapier-sdk run-action mailshake read new_open`

##### New Reply
Triggers when a recipient replies to one of your messages.

- Type: read · Key: `new_reply`
- Requires: nothing
- Optional: campaignID, replyType
- SDK: `runAction({ app: "mailshake", actionType: "read", action: "new_reply" })`
- CLI: `npx zapier-sdk run-action mailshake read new_reply`

#### Functions (8)

Functions change something in Mailshake.

##### Add Recipient by Email Address
Adds a single recipient to a campaign. NOTE: This can cause emails to immediately be sent.

- Type: write · Key: `add_recipient`
- Requires: campaignID, emailAddress
- Optional: fullName, first, last, phoneNumber, facebookUrl, instagramID, linkedInUrl, twitterID, account, fields
- SDK: `runAction({ app: "mailshake", actionType: "write", action: "add_recipient" })`
- CLI: `npx zapier-sdk run-action mailshake write add_recipient`

##### Add Recipients by Email Addresses
Adds multiple recipients to a campaign. NOTE: this can cause emails to be immediately sent.

- Type: write · Key: `add_recipients`
- Requires: campaignID, listOfEmails
- SDK: `runAction({ app: "mailshake", actionType: "write", action: "add_recipients" })`
- CLI: `npx zapier-sdk run-action mailshake write add_recipients`

##### Add Recipients From CSV
Adds a list of recipients to a campaign via a CSV file. Each column can be used as a text replacement. NOTE: This can cause emails to immediately be sent.

- Type: write · Key: `add_recipients_advanced`
- Requires: campaignID, link, emailColumnName
- Optional: fullNameColumnName, phoneNumberColumnName, facebookUrlColumnName, instagramIDColumnName, linkedInUrlColumnName, twitterIDColumnName, accountColumnName
- SDK: `runAction({ app: "mailshake", actionType: "write", action: "add_recipients_advanced" })`
- CLI: `npx zapier-sdk run-action mailshake write add_recipients_advanced`

##### Create Leads
Creates leads from existing recipients that match the given email addresses.

- Type: write · Key: `create_leads`
- Requires: campaignID, emailAddresses
- SDK: `runAction({ app: "mailshake", actionType: "write", action: "create_leads" })`
- CLI: `npx zapier-sdk run-action mailshake write create_leads`

##### Pause/Unpause Campaign
Pauses or unpauses all sending for a campaign. When pausing, emails currently being sent will not be stopped. When unpausing, the sending calendar will be rescheduled to account for any pending emails.

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

##### Pause/Unpause Recipient
Pauses or unpauses a recipient from receiving pending emails. WARNING: When unpausing, this may cause emails to be sent immediately.

- Type: write · Key: `pause_unpause_recipient`
- Requires: campaignID, emailAddress, action
- SDK: `runAction({ app: "mailshake", actionType: "write", action: "pause_unpause_recipient" })`
- CLI: `npx zapier-sdk run-action mailshake write pause_unpause_recipient`

##### Unsubscribe Recipients
Unsubscribes one or more recipients from all current and future campaigns for your team.

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

##### Update Lead Status
Updates lead status to Won, Lost, Ignored, or Reopened.

- Type: write · Key: `update_lead`
- Requires: campaignID, emailAddress
- Optional: status
- SDK: `runAction({ app: "mailshake", actionType: "write", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action mailshake write update_lead`

## AdRoll

### Identity
AdRoll helps you advertise to potential customers (website visitors or email addresses) and make them come to your site and convert!

- App slug: adroll
- Operations published here: 1 (1 function)

### Authentication
Zapier connects to AdRoll 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 adroll
```

### Capabilities

#### Functions (1)

Functions change something in AdRoll.

##### Add Email to CRM Audience
Adds an email address to a CRM audience

- Type: write · Key: `add_user_to_segment`
- Requires: advertisable_eid, segment_id, email
- SDK: `runAction({ app: "adroll", actionType: "write", action: "add_user_to_segment" })`
- CLI: `npx zapier-sdk run-action adroll write add_user_to_segment`

## Frequently asked questions about automating with Mailshake and AdRoll

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Mailshake integrations: zapier.com/apps/mailshake/integrations.md
- AdRoll integrations: zapier.com/apps/adroll/integrations.md
- Full page: zapier.com/apps/mailshake/integrations/adroll
- SDK: npmjs.com/package/@zapier/zapier-sdk