# Zapier — Legalesign Integrations
> zapier.com/apps/legalesign/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
Legalesign is electronic signature software where you can receive updates of contract signing events linked to your CRM database and upload or download signed documents between Legalesign and your favourite software.

- App slug: legalesign
- Operations published here: 7 (3 events, 2 functions, 2 queries)

## Authentication
Zapier connects to Legalesign 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 legalesign
```

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

### Getting Started
- **MCP**: connect Legalesign 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_signature_request`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action legalesign write create_signature_request \
  --inputs '{}'
```

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

### Events (3)

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

#### New Signature Request Rejected
Triggers when a new document has been Rejected.

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

#### New Signature Request Sent
Triggers when a new document has been Sent.

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

#### New Signature Request Signed
Triggers when a new document has been Signed.

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

### Functions (2)

Functions change something in Legalesign.

#### Create a PDF Document Signature Request for a Single Signer
Creates and sends a new PDF Document Signature Request to a single signer.

- Type: write · Key: `create_signature_request`
- Requires: group, name, templatepdf, firstname, lastname, email
- Optional: do_email, has_sender_fields
- SDK: `runAction({ app: "legalesign", actionType: "write", action: "create_signature_request" })`
- CLI: `npx zapier-sdk run-action legalesign write create_signature_request`

#### Create Download Document Url
Returns a document url.

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

### Queries (2)

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

#### Signer Fields
Return any Signer fields from a completed document.

- Type: search · Key: `signer_fields`
- Requires: nothing
- Optional: document_id, signer_id
- SDK: `runAction({ app: "legalesign", actionType: "search", action: "signer_fields" })`
- CLI: `npx zapier-sdk run-action legalesign search signer_fields`

#### Template Sender Fields
Find the templates sender fields.

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

## Popular integrations
- [Legalesign + Xero](zapier.com/apps/legalesign/integrations/xero.md)
- [Legalesign + Stripe (Legacy)](zapier.com/apps/legalesign/integrations/stripe-legacy.md)

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