# Zapier — Peerdom Integrations
> zapier.com/apps/peerdom/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
Peerdom helps teams navigate change with smart org charts that boost collaboration and performance.

- App slug: peerdom
- Operations published here: 15 (5 events, 9 functions, 1 query)

## Authentication
Zapier connects to Peerdom 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 peerdom
```

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

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action peerdom write assign_role \
  --inputs '{}'
```

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

### Events (5)

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

#### New Group
Triggers when a new group (circle, bubble, pod, etc.) is created.

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

#### New Map
Triggers when a new map is created.

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

#### New Peer
Triggers when a new peer is created.

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

#### New Project
Triggers when a new project is created.

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

#### New Role
Triggers when a new role is created.

- Type: read · Key: `Role`
- Requires: nothing
- Optional: group, peer, with
- SDK: `runAction({ app: "peerdom", actionType: "read", action: "Role" })`
- CLI: `npx zapier-sdk run-action peerdom read Role`

### Functions (9)

Functions change something in Peerdom.

#### Assign Role to Peer
Assigns an existing role to a peer in Peerdom.

- Type: write · Key: `assign_role`
- Requires: roleId, peerId
- Optional: percentage, focus
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "assign_role" })`
- CLI: `npx zapier-sdk run-action peerdom write assign_role`

#### Create Draft Map
Creates a new draft map in Peerdom (Drafts App must be activated).

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

#### Create Group
Creates a new group in Peerdom.

- Type: write · Key: `new_group`
- Requires: mapId, parentId, name
- Optional: electable, external, color, shape, customFields, groupEmail
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "new_group" })`
- CLI: `npx zapier-sdk run-action peerdom write new_group`

#### Create Peer
Creates a new peer in Peerdom.

- Type: write · Key: `new_peer`
- Requires: firstName
- Optional: lastName, nickName, birthdate, percentage, customFields
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "new_peer" })`
- CLI: `npx zapier-sdk run-action peerdom write new_peer`

#### Create Role
Creates a new role in Peerdom.

- Type: write · Key: `new_role`
- Requires: mapId, parentId, name
- Optional: electable, external, shape, customFields, groupEmail, color, representing
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "new_role" })`
- CLI: `npx zapier-sdk run-action peerdom write new_role`

#### Unassign Peer From Role
Unassign peer from a given role.

- Type: write · Key: `unassign_peer_from_role`
- Requires: roleId, peerId
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "unassign_peer_from_role" })`
- CLI: `npx zapier-sdk run-action peerdom write unassign_peer_from_role`

#### Update Group
Updates an existing group (circle, bubble, pod, etc.) in Peerdom.

- Type: write · Key: `update_group`
- Requires: id
- Optional: parentId, name, color, external, shape, customFields, groupEmail
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "update_group" })`
- CLI: `npx zapier-sdk run-action peerdom write update_group`

#### Update Peer
Updates an existing peer in Peerdom.

- Type: write · Key: `update_peer`
- Requires: id
- Optional: firstName, lastName, nickName, birthdate, percentage, customFields
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "update_peer" })`
- CLI: `npx zapier-sdk run-action peerdom write update_peer`

#### Update Role
Updates an existing role in Peerdom.

- Type: write · Key: `update_role`
- Requires: id
- Optional: name, parentId, external, customFields, shape, representing, representingAll, electable, groupEmail
- SDK: `runAction({ app: "peerdom", actionType: "write", action: "update_role" })`
- CLI: `npx zapier-sdk run-action peerdom write update_role`

### Queries (1)

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

#### Get Peer by E-Mail
Get Peer by a Given E-Mail.

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

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