# EmailOctopus + Heartbeat Integrations: Connect with Zapier MCP
> zapier.com/apps/emailoctopus/integrations/heartbeat
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate EmailOctopus and Heartbeat 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_to_group`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action heartbeat write add_to_group \
  --inputs '{}'
```

## EmailOctopus

### Identity
EmailOctopus is a simple to use email marketing platform that helps you grow your audience, send beautiful emails and automate messages effortlessly.

- App slug: emailoctopus
- Operations published here: 12 (6 events, 5 functions, 1 query)

### Authentication
Zapier connects to EmailOctopus 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 emailoctopus
```

### Capabilities

#### Events (6)

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

##### Email Bounced
Triggers when an email to a recipient bounces from a specific campaign.

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

##### Email Clicked
Triggers when a recipient clicks a link in an email from a specific campaign.

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

##### Email Opened
Triggers when a recipient opens an email from a specific campaign.

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

##### Contact Unsubscribes
Triggers when a contact unsubscribes.

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

##### New Contact
Triggers when a new contact is created.

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

##### New or Updated Contact
Triggers when a new contact is created or an existing contact is updated.

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

#### Functions (5)

Functions change something in EmailOctopus.

##### Add Tag to Contact
Adds a tag to an existing contact.

- Type: write · Key: `add_tag_to_contact`
- Requires: list_id, email_address, tags
- SDK: `runAction({ app: "emailoctopus", actionType: "write", action: "add_tag_to_contact" })`
- CLI: `npx zapier-sdk run-action emailoctopus write add_tag_to_contact`

##### Remove Tag From Contact
Removes a tag from an existing contact.

- Type: write · Key: `remove_tag_from_contact`
- Requires: list_id, email_address, tags
- SDK: `runAction({ app: "emailoctopus", actionType: "write", action: "remove_tag_from_contact" })`
- CLI: `npx zapier-sdk run-action emailoctopus write remove_tag_from_contact`

##### Unsubscribe Contact
Unsubscribes a contact from a list.

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

##### Update Contact's Email Address
Updates the email address of a contact.

- Type: write · Key: `update_subscriber_email_address`
- Requires: list_id, current_email_address, new_email_address
- SDK: `runAction({ app: "emailoctopus", actionType: "write", action: "update_subscriber_email_address" })`
- CLI: `npx zapier-sdk run-action emailoctopus write update_subscriber_email_address`

##### Add/Update Contact
Adds a new contact to a list or updates an existing contact.

- Type: write · Key: `upsert_contact`
- Requires: list_id, email_address
- Optional: resubscribe, tags
- SDK: `runAction({ app: "emailoctopus", actionType: "write", action: "upsert_contact" })`
- CLI: `npx zapier-sdk run-action emailoctopus write upsert_contact`

#### Queries (1)

Queries read from EmailOctopus and return data. They change nothing.

##### Find Contact
Find a contact by their email address.

- Type: search · Key: `find_subscriber`
- Requires: list_id, email_address
- SDK: `runAction({ app: "emailoctopus", actionType: "search", action: "find_subscriber" })`
- CLI: `npx zapier-sdk run-action emailoctopus search find_subscriber`

## Heartbeat

### Identity
Heartbeat is a platform for online communities, where members can talk with each other, read content, and attend events all in the same place.

- App slug: heartbeat
- Operations published here: 19 (8 events, 10 functions, 1 query)

### Authentication
Zapier connects to Heartbeat 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 heartbeat
```

### Capabilities

#### Events (8)

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

##### Abandoned Invitation Link
Triggers when someone enters their information in an invitation link, but does not make a purchase or create their account. This will trigger after 4 hours, if the user still has not made a purchase or created their account.

- Type: read · Key: `abandoned_invitation_link`
- Requires: nothing
- Optional: invitationLinkID, groupIDs
- SDK: `runAction({ app: "heartbeat", actionType: "read", action: "abandoned_invitation_link" })`
- CLI: `npx zapier-sdk run-action heartbeat read abandoned_invitation_link`

##### Course Completed
Triggers when a user completes a course.

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

##### New Event
Triggers when a new event is created.

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

##### New Event RSVP
Triggers when someone RSVPs to an event.

- Type: read · Key: `eventRSVPHook`
- Requires: userType
- Optional: eventID
- SDK: `runAction({ app: "heartbeat", actionType: "read", action: "eventRSVPHook" })`
- CLI: `npx zapier-sdk run-action heartbeat read eventRSVPHook`

##### On Group Join
Triggers when a user joins a group.

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

##### New or Updated User
Triggers when a new user joins your community or their information is updated.

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

##### New Thread
Triggers when a new thread is created.

- Type: read · Key: `threadHook`
- Requires: triggerOnMove
- Optional: channelID
- SDK: `runAction({ app: "heartbeat", actionType: "read", action: "threadHook" })`
- CLI: `npx zapier-sdk run-action heartbeat read threadHook`

##### New User
Triggers when a new user joins your community.

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

#### Functions (10)

Functions change something in Heartbeat.

##### Add to Group
Add users to a group

- Type: write · Key: `add_to_group`
- Requires: emails, groupID, shouldRemoveFromSiblingGroups
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "add_to_group" })`
- CLI: `npx zapier-sdk run-action heartbeat write add_to_group`

##### Create Channel
Create a new channel in your community.

- Type: write · Key: `channelCreate`
- Requires: name, channelCategoryID, isPrivate
- Optional: description
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "channelCreate" })`
- CLI: `npx zapier-sdk run-action heartbeat write channelCreate`

##### Create Comment
Create a new comment in your community.

- Type: write · Key: `commentCreate`
- Requires: threadID
- Optional: plainText, htmlText, parentCommentID, userID
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "commentCreate" })`
- CLI: `npx zapier-sdk run-action heartbeat write commentCreate`

##### Deactivate User
Deactivate a user on Heartbeat, preventing them from accessing your community

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

##### Send Direct Message
Send a direct message in your community.

- Type: write · Key: `directMessageCreate`
- Requires: receivingUserID
- Optional: plainText, htmlText, sendingUserID
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "directMessageCreate" })`
- CLI: `npx zapier-sdk run-action heartbeat write directMessageCreate`

##### Create Event
Create a new event in your community.

- Type: write · Key: `eventCreate`
- Requires: name, startTime, duration, location
- Optional: description, invitedUsers, invitedGroups
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "eventCreate" })`
- CLI: `npx zapier-sdk run-action heartbeat write eventCreate`

##### Create Group
Create a new group in your community.

- Type: write · Key: `groupCreate`
- Requires: name
- Optional: description, members, parentGroupID
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "groupCreate" })`
- CLI: `npx zapier-sdk run-action heartbeat write groupCreate`

##### Invite Users
Send an email to new users, inviting them to join Heartbeat. If a pre-approved invitation link is selected, the email will be approved automatically.

- Type: write · Key: `invite_user`
- Requires: emails, invitationID
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "invite_user" })`
- CLI: `npx zapier-sdk run-action heartbeat write invite_user`

##### Remove From Group
Remove users from a group

- Type: write · Key: `remove_from_group`
- Requires: groupID, emails
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "remove_from_group" })`
- CLI: `npx zapier-sdk run-action heartbeat write remove_from_group`

##### Create Thread
Create a new thread in your community.

- Type: write · Key: `threadCreate`
- Requires: channelID
- Optional: plainText, htmlText, userID
- SDK: `runAction({ app: "heartbeat", actionType: "write", action: "threadCreate" })`
- CLI: `npx zapier-sdk run-action heartbeat write threadCreate`

#### Queries (1)

Queries read from Heartbeat and return data. They change nothing.

##### Find User
Finds an existing user by email

- Type: search · Key: `userSearch`
- Requires: email
- SDK: `runAction({ app: "heartbeat", actionType: "search", action: "userSearch" })`
- CLI: `npx zapier-sdk run-action heartbeat search userSearch`

## Links
- EmailOctopus integrations: zapier.com/apps/emailoctopus/integrations.md
- Heartbeat integrations: zapier.com/apps/heartbeat/integrations.md
- Full page: zapier.com/apps/emailoctopus/integrations/heartbeat
- SDK: npmjs.com/package/@zapier/zapier-sdk