# Zapier — miu.ai Integrations
> zapier.com/apps/miuai/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
miu.ai is an AI-driven chatbot solution designed to enhance customer engagement and streamline workflows.

- App slug: miuai
- Operations published here: 15 (8 events, 6 functions, 1 query)

## Authentication
Zapier connects to miu.ai via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- 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 miuai
```

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

### Getting Started
- **MCP**: connect miu.ai 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 · add_customer_tags`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action miuai write add_customer_tags \
  --inputs '{}'
```

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

### Events (8)

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

#### Appointment Scheduled
Triggers when an appointment is booked

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

#### Profile Updated
Triggers when a profile is updated

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

#### Tag Assigned
Triggers when a tag is added

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

#### Tag Removed
Triggers when a tag is removed

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

#### Flow Ended
Triggers when a flow completes

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

#### Flow Started
Triggers when a flow begins

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

#### New Chat
Triggers when a new conversation is started by a customer.

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

#### New Message
Triggers when a new message is received from a customer.

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

### Functions (6)

Functions change something in miu.ai.

#### Add Tags
Add tags to a customer

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

#### Remove Tags
Remove tags from a customer

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

#### Run Flow
Start a flow for a customer

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

#### Send Message
Send a message to a customer

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

#### Transfer Chat
Transfer a conversation

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

#### Update Profile
Update customer information

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

### Queries (1)

Queries read from miu.ai and return data. They change nothing.

#### Find Customers
Search customers by filters

- Type: search · Key: `get_customers`
- Requires: nothing
- Optional: email, phone, name, tags, channel_type
- SDK: `runAction({ app: "miuai", actionType: "search", action: "get_customers" })`
- CLI: `npx zapier-sdk run-action miuai search get_customers`

## Popular integrations
- [miu.ai + Diddo AI](zapier.com/apps/miuai/integrations/diddo-ai.md)
- [miu.ai + Eden AI](zapier.com/apps/miuai/integrations/eden-ai.md)
- [miu.ai + Google Drive](zapier.com/apps/miuai/integrations/google-drive.md)
- [miu.ai + ClickUp](zapier.com/apps/miuai/integrations/clickup.md)
- [miu.ai + Digital Influencers](zapier.com/apps/miuai/integrations/digital-influencers.md)

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