# Zapier — Delightree Integrations
> zapier.com/apps/delightree/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
Delightree is a workflow automation and franchise management platform that helps franchises digitizing tasks, training, and communication

- App slug: delightree
- Operations published here: 21 (5 events, 3 functions, 13 queries)

## Authentication
Zapier connects to Delightree 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 delightree
```

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

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action delightree write archive_user \
  --inputs '{}'
```

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

### Events (5)

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

#### New Location
Triggers when a new location is created.

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

#### New User
Triggers when a new user is created.

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

#### User Archived
Triggers when a user is archived in Delightree.

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

#### User Deleted 
Triggers when a user is deleted in Delightree.

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

#### User Updated
Triggers when a user is updated in Delightree.

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

### Functions (3)

Functions change something in Delightree.

#### Archive User
Archives a user in Delightree. 

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

#### Create New User
Creates a new user in Delightree with the provided details.

- Type: write · Key: `new_user`
- Requires: name, email, roles, locations
- SDK: `runAction({ app: "delightree", actionType: "write", action: "new_user" })`
- CLI: `npx zapier-sdk run-action delightree write new_user`

#### Update User  
Updates a user in Delightree.

- Type: write · Key: `update_user`
- Requires: email
- Optional: name, newEmail
- SDK: `runAction({ app: "delightree", actionType: "write", action: "update_user" })`
- CLI: `npx zapier-sdk run-action delightree write update_user`

### Queries (13)

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

#### Find Active User Analytics
Finds analytics data for active users based on the selected timeframe and filters.

- Type: search · Key: `active_users_search`
- Requires: nothing
- Optional: type, days
- SDK: `runAction({ app: "delightree", actionType: "search", action: "active_users_search" })`
- CLI: `npx zapier-sdk run-action delightree search active_users_search`

#### Find Site Visit Average Score
Finds the average score across completed site visits based on the selected criteria.

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

#### Find Site Visit Completion Rate
Finds the percentage of site visits that have been completed based on the selected criteria.

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

#### Find Site Visit Incomplete Rate
Finds the percentage of site visits that remain incomplete based on the selected criteria.

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

#### Find Compliance Documents Approaching Expiry
Finds compliance documents that are approaching their expiration date based on the specified timeframe and filters.

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

#### Find Expired Compliance Documents
Finds compliance documents that have already expired based on the selected criteria.

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

#### Find Compliance Validity Percentage
Finds the percentage of compliance documents that are currently valid based on the selected criteria.

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

#### Find Users
Finds existing users in Delightree.

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

#### Find Forms Submitted Count
Finds the total number of forms submitted within the selected timeframe and filters.

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

#### Find Task Completion Rate
Finds the percentage of tasks that have been completed based on the selected timeframe and filters.

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

#### Find Task Overdue Rate
Finds the percentage of tasks that are overdue based on the selected criteria.

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

#### Find Task SLA Adherence
Finds the SLA adherence rate for assigned tasks based on the selected criteria.

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

#### Find Training Path Completion Percentage
Finds the completion percentage for assigned training paths based on the selected criteria.

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

## Popular integrations
- [Delightree + Snowflake](zapier.com/apps/delightree/integrations/snowflake.md)
- [Delightree + Microsoft Excel](zapier.com/apps/delightree/integrations/excel.md)
- [Delightree + Google Business Profile](zapier.com/apps/delightree/integrations/google-business-profile.md)
- [Delightree + QuickBooks Online](zapier.com/apps/delightree/integrations/quickbooks.md)

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