# Seam + Code by Zapier Integrations: Connect with Zapier MCP
> zapier.com/apps/seam/integrations/code
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Seam and Code by Zapier 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 · 01929fad-d3dd-62c2-52ed-7868d5fcc691`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "code",
  actionType: "write",
  action: "01929fad-d3dd-62c2-52ed-7868d5fcc691",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action code write 01929fad-d3dd-62c2-52ed-7868d5fcc691 \
  --inputs '{}'
```

## Seam

### Identity
Seam lets you control any smart lock or access system using a single API and dashboard. Unlock doors, grant temporary access, review access logs, and more

- App slug: seam
- Operations published here: 46 (23 events, 15 functions, 8 queries)

### Authentication
Zapier connects to Seam 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 seam
```

### Capabilities

#### Events (23)

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

##### Access Code Created
Triggers when an access code is created.

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

##### Access Code Deleted
Triggers when an access code is deleted.

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

##### Access Code Modified Externally
Triggers when an access code is modified outside of Seam.

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

##### Access Code Removed From Device
Triggers when an access code is removed from a device.

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

##### Access Code Set on Device
Triggers when an access code is successfully set on a device.

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

##### Access Grant Access Granted
Triggers when an access grant has been granted to all doors.

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

##### Access Grant Created
Triggers when an access grant is created.

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

##### Access Grant Deleted
Triggers when an access grant is deleted.

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

##### Connected Account Connected
Triggers when a connected account connects.

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

##### Connected Account Disconnected
Triggers when a connected account disconnects.

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

##### Device Added
Triggers when a new device is added.

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

##### Device Connected
Triggers when a device connects.

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

##### Device Disconnected
Triggers when a device disconnects.

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

##### Device Low Battery
Triggers when a device reports low battery.

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

##### Device Removed
Triggers when a device is removed.

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

##### Device Tampered
Triggers when a device is tampered with.

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

##### Doorbell Rang
Triggers when a doorbell rings.

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

##### Lock Access Denied
Triggers when access is denied at a lock.

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

##### Lock Locked
Triggers when a lock is locked.

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

##### Lock Unlocked
Triggers when a lock is unlocked.

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

##### Noise Threshold Triggered
Triggers when a noise threshold is triggered.

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

##### Thermostat Temperature Changed
Triggers when a thermostat temperature changes.

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

##### Thermostat Temperature Threshold Exceeded
Triggers when a thermostat temperature threshold is exceeded.

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

#### Functions (15)

Functions change something in Seam.

##### Activate Climate Preset
Activates a climate preset on a thermostat.

- Type: write · Key: `activate_climate_preset`
- Requires: device_id, climate_preset_key
- SDK: `runAction({ app: "seam", actionType: "write", action: "activate_climate_preset" })`
- CLI: `npx zapier-sdk run-action seam write activate_climate_preset`

##### Add Devices to Space
Adds devices to a space.

- Type: write · Key: `add_devices_to_space`
- Requires: space_id, device_ids
- SDK: `runAction({ app: "seam", actionType: "write", action: "add_devices_to_space" })`
- CLI: `npx zapier-sdk run-action seam write add_devices_to_space`

##### Create Access Code
Creates a new access code on a device.

- Type: write · Key: `create_access_code`
- Requires: device_id
- Optional: name, code, starts_at, ends_at
- SDK: `runAction({ app: "seam", actionType: "write", action: "create_access_code" })`
- CLI: `npx zapier-sdk run-action seam write create_access_code`

##### Create Access Grant
Creates a new access grant for a user identity.

- Type: write · Key: `create_access_grant`
- Requires: user_identity_id, requested_access_methods
- Optional: space_ids, starts_at, ends_at
- SDK: `runAction({ app: "seam", actionType: "write", action: "create_access_grant" })`
- CLI: `npx zapier-sdk run-action seam write create_access_grant`

##### Create Space
Creates a new space.

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

##### Create User Identity
Creates a new user identity.

- Type: write · Key: `create_user_identity`
- Requires: nothing
- Optional: full_name, email_address, phone_number
- SDK: `runAction({ app: "seam", actionType: "write", action: "create_user_identity" })`
- CLI: `npx zapier-sdk run-action seam write create_user_identity`

##### Delete Access Code
Deletes an access code.

- Type: write · Key: `delete_access_code`
- Requires: access_code_id, device_id
- SDK: `runAction({ app: "seam", actionType: "write", action: "delete_access_code" })`
- CLI: `npx zapier-sdk run-action seam write delete_access_code`

##### Delete Access Grant
Deletes an access grant.

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

##### Delete User Identity
Deletes a user identity.

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

##### Lock Door
Locks a smart lock.

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

##### Set Thermostat Temperature
Sets the heating and cooling set points on a thermostat.

- Type: write · Key: `set_thermostat_temperature`
- Requires: device_id
- Optional: heating_set_point_fahrenheit, cooling_set_point_fahrenheit
- SDK: `runAction({ app: "seam", actionType: "write", action: "set_thermostat_temperature" })`
- CLI: `npx zapier-sdk run-action seam write set_thermostat_temperature`

##### Turn Thermostat Off
Turns off a thermostat.

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

##### Unlock Door
Unlocks a smart lock.

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

##### Update Access Code
Updates an existing access code.

- Type: write · Key: `update_access_code`
- Requires: access_code_id
- Optional: name, code, starts_at, ends_at
- SDK: `runAction({ app: "seam", actionType: "write", action: "update_access_code" })`
- CLI: `npx zapier-sdk run-action seam write update_access_code`

##### Update Access Grant
Updates an existing access grant.

- Type: write · Key: `update_access_grant`
- Requires: access_grant_id
- Optional: starts_at, ends_at
- SDK: `runAction({ app: "seam", actionType: "write", action: "update_access_grant" })`
- CLI: `npx zapier-sdk run-action seam write update_access_grant`

#### Queries (8)

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

##### Find Access Code
Finds an access code by its ID.

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

##### Find Access Grant
Finds an access grant by its ID.

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

##### Find Connected Account
Finds a connected account by its ID.

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

##### Find Device
Finds a device by its ID.

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

##### Find Device by Name
Finds a device by its exact name.

- Type: search · Key: `find_device_by_name`
- Requires: name
- Optional: connected_account_id
- SDK: `runAction({ app: "seam", actionType: "search", action: "find_device_by_name" })`
- CLI: `npx zapier-sdk run-action seam search find_device_by_name`

##### Find Access Codes
Lists all access codes for a device.

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

##### Find Devices
Finds devices in your workspace, optionally filtered by connected account.

- Type: search · Key: `search_devices`
- Requires: nothing
- Optional: connected_account_id
- SDK: `runAction({ app: "seam", actionType: "search", action: "search_devices" })`
- CLI: `npx zapier-sdk run-action seam search search_devices`

##### Find Space
Finds spaces in your workspace, optionally filtered by name.

- Type: search · Key: `search_spaces`
- Requires: nothing
- Optional: name
- SDK: `runAction({ app: "seam", actionType: "search", action: "search_spaces" })`
- CLI: `npx zapier-sdk run-action seam search search_spaces`

## Code by Zapier

### Identity
Write custom Python or Javascript code in response to any data from any service! Transform, mutate, customize or even do custom HTTP in a native and familiar environment.

- App slug: code
- Operations published here: 4 (2 events, 2 functions)

### Capabilities

#### Events (2)

Events fire when something happens in Code by Zapier. Use them to start a run.

##### Run Python
Use Python to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Python.

- Type: read · Key: `01929fad-d3c3-301b-6108-52ea63edb8ea`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3c3-301b-6108-52ea63edb8ea" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3c3-301b-6108-52ea63edb8ea`

##### Run Javascript
Use Javascript to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Node.

- Type: read · Key: `01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3a5-77c0-55e2-ddf8d28eb2ad" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`

#### Functions (2)

Functions change something in Code by Zapier.

##### Run Javascript
Run Javascript code  This is an advanced action!  Uses the latest supported version of Node.

- Type: write · Key: `01929fad-d3dd-62c2-52ed-7868d5fcc691`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3dd-62c2-52ed-7868d5fcc691" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3dd-62c2-52ed-7868d5fcc691`

##### Run Python
Run Python code  This is an advanced action!  Uses the latest supported version of Python.

- Type: write · Key: `01929fad-d3f6-c57c-1b40-ef8691be1f86`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3f6-c57c-1b40-ef8691be1f86" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3f6-c57c-1b40-ef8691be1f86`

## Links
- Seam integrations: zapier.com/apps/seam/integrations.md
- Code by Zapier integrations: zapier.com/apps/code/integrations.md
- Full page: zapier.com/apps/seam/integrations/code
- SDK: npmjs.com/package/@zapier/zapier-sdk