# Zapier — Heyy Integrations
> zapier.com/apps/heyy/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
Heyy is an omnichannel platform that offers team inbox, workflows, automation, and many more features.

- App slug: heyy
- Operations published here: 27 (3 events, 19 functions, 5 queries)

## Authentication
Zapier connects to Heyy 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 heyy
```

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

### Getting Started
- **MCP**: connect Heyy 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 · addLabelsToContact`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action heyy write addLabelsToContact \
  --inputs '{}'
```

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

### Events (3)

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

#### Message Received
Triggers when a new message is received.

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

#### Message Sent
Triggers when a message is sent.

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

#### Message Updated
Triggers when a message is updated.

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

### Functions (19)

Functions change something in Heyy.

#### Add Labels to Contact
Adds one or more labels to a contact.

- Type: write · Key: `addLabelsToContact`
- Requires: contactId
- Optional: labels
- SDK: `runAction({ app: "heyy", actionType: "write", action: "addLabelsToContact" })`
- CLI: `npx zapier-sdk run-action heyy write addLabelsToContact`

#### Assign Chat to Team
Assigns a chat to a team.

- Type: write · Key: `assignChatToTeam`
- Requires: chatId, teamId
- Optional: triggerAutomations
- SDK: `runAction({ app: "heyy", actionType: "write", action: "assignChatToTeam" })`
- CLI: `npx zapier-sdk run-action heyy write assignChatToTeam`

#### Assign Chat to User
Assigns a chat to a user.

- Type: write · Key: `assignChatToUser`
- Requires: chatId, userId
- Optional: triggerAutomations
- SDK: `runAction({ app: "heyy", actionType: "write", action: "assignChatToUser" })`
- CLI: `npx zapier-sdk run-action heyy write assignChatToUser`

#### Update Chat Status
Changes the status of a chat (open, closed, or snoozed).

- Type: write · Key: `changeChatStatus`
- Requires: chatId, status
- Optional: triggerAutomations
- SDK: `runAction({ app: "heyy", actionType: "write", action: "changeChatStatus" })`
- CLI: `npx zapier-sdk run-action heyy write changeChatStatus`

#### Create a Contact
Creates a new contact.

- Type: write · Key: `createContact`
- Requires: nothing
- Optional: firstName, lastName, phoneNumber, email, labels
- SDK: `runAction({ app: "heyy", actionType: "write", action: "createContact" })`
- CLI: `npx zapier-sdk run-action heyy write createContact`

#### Get Public File URL
Returns a stable public URL for an uploaded file.

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

#### Mark Chat as Unread
Marks a chat as not read (unread).

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

#### Mark Chat as Not Sensitive
Marks a chat as not sensitive.

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

#### Mark Chat as Read
Marks a chat as read.

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

#### Mark Chat as Sensitive
Marks a chat as sensitive.

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

#### Remove Labels From Contact
Removes one or more labels from a contact.

- Type: write · Key: `removeLabelsFromContact`
- Requires: contactId
- Optional: labels
- SDK: `runAction({ app: "heyy", actionType: "write", action: "removeLabelsFromContact" })`
- CLI: `npx zapier-sdk run-action heyy write removeLabelsFromContact`

#### Send a Message
Sends a message to a chat.

- Type: write · Key: `sendMessage`
- Requires: nothing
- Optional: body, attachmentType, attachmentFileId, header, footer, replyToMessageId, scheduledAt
- SDK: `runAction({ app: "heyy", actionType: "write", action: "sendMessage" })`
- CLI: `npx zapier-sdk run-action heyy write sendMessage`

#### Send a Template Message
Sends a template message to a chat.

- Type: write · Key: `sendTemplateMessage`
- Requires: nothing
- Optional: scheduledAt
- SDK: `runAction({ app: "heyy", actionType: "write", action: "sendTemplateMessage" })`
- CLI: `npx zapier-sdk run-action heyy write sendTemplateMessage`

#### Subscribe Contact
Subscribes a contact.

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

#### Start an Automation
Triggers (starts) an automation for a specific contact.

- Type: write · Key: `triggerAutomation`
- Requires: automationId, contactId, automationVariableName, automationVariableValue
- Optional: scheduledAt
- SDK: `runAction({ app: "heyy", actionType: "write", action: "triggerAutomation" })`
- CLI: `npx zapier-sdk run-action heyy write triggerAutomation`

#### Unsubscribe Contact
Unsubscribes a contact.

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

#### Update a Contact
Updates an existing contact.

- Type: write · Key: `updateContact`
- Requires: contactId
- Optional: firstName, lastName, labels
- SDK: `runAction({ app: "heyy", actionType: "write", action: "updateContact" })`
- CLI: `npx zapier-sdk run-action heyy write updateContact`

#### Upload a File
Uploads a file.

- Type: write · Key: `uploadFile`
- Requires: type, file
- SDK: `runAction({ app: "heyy", actionType: "write", action: "uploadFile" })`
- CLI: `npx zapier-sdk run-action heyy write uploadFile`

#### Upsert a Contact
Creates or updates a contact matched by phone number or email.

- Type: write · Key: `upsertContact`
- Requires: nothing
- Optional: firstName, lastName, phoneNumber, email, labels
- SDK: `runAction({ app: "heyy", actionType: "write", action: "upsertContact" })`
- CLI: `npx zapier-sdk run-action heyy write upsertContact`

### Queries (5)

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

#### Get a Chat
Retrieves the details of a single chat.

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

#### Get a Contact
Retrieves the details of a single contact.

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

#### Get a File
Retrieves the details of a file.

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

#### Search Chats
Searches for chats matching the given filters.

- Type: search · Key: `searchChats`
- Requires: nothing
- Optional: query, search, sortBy, limit
- SDK: `runAction({ app: "heyy", actionType: "search", action: "searchChats" })`
- CLI: `npx zapier-sdk run-action heyy search searchChats`

#### Search Contacts
Searches for contacts matching the given filters.

- Type: search · Key: `searchContacts`
- Requires: nothing
- Optional: query, search, sortBy, limit
- SDK: `runAction({ app: "heyy", actionType: "search", action: "searchContacts" })`
- CLI: `npx zapier-sdk run-action heyy search searchContacts`

## Popular integrations
- [Heyy + WhatsApp Notifications](zapier.com/apps/heyy/integrations/whatsapp-notifications.md)
- [Heyy + Responder (רב מסר)](zapier.com/apps/heyy/integrations/responder.md)
- [Heyy + Google Sheets](zapier.com/apps/heyy/integrations/google-sheets.md)

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