# Zapier — LeaseHub Integrations
> zapier.com/apps/leasehub/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
LeaseHub is a management software for leasing companies to make processes more transparent and  structure customer details, requests, and contracts efficiently.

- App slug: leasehub
- Operations published here: 2 (2 functions)

## Authentication
Zapier connects to LeaseHub 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 leasehub
```

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

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action leasehub write create_email \
  --inputs '{}'
```

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

### Functions (2)

Functions change something in LeaseHub.

#### Create Email
Create an Email in LeaseHub

- Type: write · Key: `create_email`
- Requires: from, to
- Optional: subject, body, attachments, filenames, label
- SDK: `runAction({ app: "leasehub", actionType: "write", action: "create_email" })`
- CLI: `npx zapier-sdk run-action leasehub write create_email`

#### Create Request
Create a Request

- Type: write · Key: `create_request`
- Requires: company_name, contact_person_email, contact_person_firstname, contact_person_lastname, price_net_purchase_price
- Optional: company_address_city, company_address_country, company_address_number, company_address_postcode, company_address_street, company_address_suffix, company_founding_date, company_industry, company_legal_form, contact_person_phone, contact_person_position, contact_person_salutation, lead_source, object_equipment, object_first_registration_date, object_group, object_license_plate, object_manufacturer, object_manufacturing_year, object_modell, object_type, object_vin, price_desired_duration_in_month, price_desired_residual_value, price_desired_additional_payment
- SDK: `runAction({ app: "leasehub", actionType: "write", action: "create_request" })`
- CLI: `npx zapier-sdk run-action leasehub write create_request`

## Popular integrations
- [LeaseHub + ChatGPT (OpenAI)](zapier.com/apps/leasehub/integrations/chatgpt.md)

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