# EMnify + Sub-Zap by Zapier Integrations: Connect with Zapier MCP
> zapier.com/apps/emnify/integrations/sub-zap-by-zapier
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate EMnify and Sub-Zap 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 · call_subzap`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "sub-zap-by-zapier",
  actionType: "write",
  action: "call_subzap",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action sub-zap-by-zapier write call_subzap \
  --inputs '{}'
```

## EMnify

### Identity
EMnify is a cloud communication platform for IoT that transforms complex global cellular connectivity into an easy to consume cloud resource.

- App slug: emnify
- Operations published here: 10 (4 events, 6 functions)

### Authentication
Zapier connects to EMnify 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 emnify
```

### Capabilities

#### Events (4)

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

##### All EMnify Events
Allows you to execute actions on any selected EMnify event.

- Type: read · Key: `all_emnify_events`
- Requires: event_type
- Optional: data_streamer_name
- SDK: `runAction({ app: "emnify", actionType: "read", action: "all_emnify_events" })`
- CLI: `npx zapier-sdk run-action emnify read all_emnify_events`

##### Device Disabled
Triggers when a Device is Disabled.

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

##### Device Enabled
Triggers when a Device is enabled.

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

##### Usage Limit Reached
Triggers when data or sms usage limit is reached.

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

#### Functions (6)

Functions change something in EMnify.

##### Block Current Network
Blocks a device's current network and switches to a different network by ICCID.

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

##### Create a Device
Creates a device and assigns the SIM by ICCID.

- Type: write · Key: `create_device`
- Requires: iccid, device_name, enable_device, service_policy, coverage_policy, imei_lock, choose_ip_address
- Optional: tags
- SDK: `runAction({ app: "emnify", actionType: "write", action: "create_device" })`
- CLI: `npx zapier-sdk run-action emnify write create_device`

##### Disable a Device
Disables a device and deactivates the assigned SIM by ICCID.

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

##### Enable a Device
Enables a device and activates the assigned SIM by ICCID.

- Type: write · Key: `enable_device`
- Requires: ICCID
- Optional: tags
- SDK: `runAction({ app: "emnify", actionType: "write", action: "enable_device" })`
- CLI: `npx zapier-sdk run-action emnify write enable_device`

##### Reconfigure a Device
Reconfigure and activate a device by ICCID.

- Type: write · Key: `reconfigure_device`
- Requires: iccid, device_name, enable_device, service_policy, coverage_policy
- Optional: tags
- SDK: `runAction({ app: "emnify", actionType: "write", action: "reconfigure_device" })`
- CLI: `npx zapier-sdk run-action emnify write reconfigure_device`

##### Send an SMS
Sends an SMS to a device by ICCID.

- Type: write · Key: `send_sms`
- Requires: ICCID, message_text
- Optional: sms_source
- SDK: `runAction({ app: "emnify", actionType: "write", action: "send_sms" })`
- CLI: `npx zapier-sdk run-action emnify write send_sms`

## Sub-Zap by Zapier

### Identity
Build reusable Zap components and systems by building and calling "Sub-Zaps".

- App slug: sub-zap-by-zapier
- Operations published here: 3 (1 event, 2 functions)

### Capabilities

#### Events (1)

Events fire when something happens in Sub-Zap by Zapier. Use them to start a run.

##### Start a Sub-Zap
Triggers when an outside Zap calls this Sub-Zap. Always used inside of a Sub-Zap. A later step in the Sub-Zap should be the "Return from a Sub-Zap" action.

- Type: read · Key: `start_subzap`
- Requires: nothing
- Optional: input_list, zap_id, blank_sample_notice
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "read", action: "start_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier read start_subzap`

#### Functions (2)

Functions change something in Sub-Zap by Zapier.

##### Call a Sub-Zap
Used outside of a Sub-Zap, this will activate a Sub-Zap, which should contain both the "Start a Sub-Zap" trigger and "Return from a Sub-Zap" action.

- Type: write · Key: `call_subzap`
- Requires: account_id, zap_id
- Optional: parent_zap_directions, live_testing_info, blank_sample_notice, zap_path_run_id
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "write", action: "call_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier write call_subzap`

##### Return From a Sub-Zap
Used inside of a Sub-Zap, this is the final step of a Sub-Zap and should be after the "Start a Sub-Zap" trigger.

- Type: write · Key: `return_subzap`
- Requires: nothing
- Optional: output_dict, zap_path_run_id, zap_run_id
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "write", action: "return_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier write return_subzap`

## Links
- EMnify integrations: zapier.com/apps/emnify/integrations.md
- Sub-Zap by Zapier integrations: zapier.com/apps/sub-zap-by-zapier/integrations.md
- Full page: zapier.com/apps/emnify/integrations/sub-zap-by-zapier
- SDK: npmjs.com/package/@zapier/zapier-sdk