# Zapier — VerdictFlow Integrations
> zapier.com/apps/verdictflow/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
VerdictFlow is a legal intake and referral automation platform that helps law firms capture, route, and track leads effortlessly.

- App slug: verdictflow
- Operations published here: 15 (6 events, 6 functions, 2 queries, 1 search-or-write action)

## Authentication
Zapier connects to VerdictFlow 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 verdictflow
```

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

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action verdictflow write accept_referral \
  --inputs '{}'
```

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

### Events (6)

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

#### Lead Status Changed
Triggers when a lead's status changes in VerdictFlow (instant). Includes the previous status.

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

#### Lead Updated
Triggers when any lead information is updated in VerdictFlow (instant).

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

#### New Lead
Triggers when a new lead is created in VerdictFlow (instant).

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

#### New Referral
Triggers when a referral your firm sent or received is created (instant).

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

#### Referral Status Changed
Triggers when a referral your firm is party to changes status (instant). Includes the previous status. Does not fire for changes your own Zaps make.

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

#### Referral Sub-Status Changed
Triggers when a referral's progress sub-status changes (instant) — e.g. In contact, Documents requested, Retainer sent. Does not fire for changes your own Zaps make.

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

### Functions (6)

Functions change something in VerdictFlow.

#### Accept Referral
Accepts an incoming, pending referral and creates the working lead in your account. Receiver-only; requires Pro or higher.

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

#### Create Lead
Creates a new lead in VerdictFlow with comprehensive field support.

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

#### Decline Referral
Declines an incoming, pending referral with an optional reason shared with the referring firm. Receiver-only; requires Pro or higher.

- Type: write · Key: `decline_referral`
- Requires: referral_id
- Optional: reason
- SDK: `runAction({ app: "verdictflow", actionType: "write", action: "decline_referral" })`
- CLI: `npx zapier-sdk run-action verdictflow write decline_referral`

#### Send Referral
Sends an existing lead as a referral to a linked partner firm. Sender-only; requires the Enterprise plan.

- Type: write · Key: `send_referral`
- Requires: lead_id, receiving_account_id, case_types
- Optional: fee_sharing_enabled, fee_percentage, notes, expires_at
- SDK: `runAction({ app: "verdictflow", actionType: "write", action: "send_referral" })`
- CLI: `npx zapier-sdk run-action verdictflow write send_referral`

#### Update Lead
Updates an existing lead in VerdictFlow with comprehensive field support.

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

#### Update Referral Status
Updates a received referral: set an in-progress stage (e.g. In contact, Documents requested) or an outcome (Retained, Settled, or Not a fit). Receiver-only; requires Pro or higher.

- Type: write · Key: `update_referral_status`
- Requires: referral_id, stage
- SDK: `runAction({ app: "verdictflow", actionType: "write", action: "update_referral_status" })`
- CLI: `npx zapier-sdk run-action verdictflow write update_referral_status`

### Queries (2)

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

#### Find Lead
Searches for an existing lead by email, phone, name, or ID. Optionally creates one if not found.

- Type: search · Key: `find_lead`
- Requires: nothing
- Optional: email, phone, name, lead_id, status, source
- SDK: `runAction({ app: "verdictflow", actionType: "search", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action verdictflow search find_lead`

#### Find Referral
Finds a referral your firm sent or received, by ID or by filtering recent referrals.

- Type: search · Key: `find_referral`
- Requires: nothing
- Optional: referral_id, direction, status, lead_email, lead_name
- SDK: `runAction({ app: "verdictflow", actionType: "search", action: "find_referral" })`
- CLI: `npx zapier-sdk run-action verdictflow search find_referral`

### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

#### Find or Create Lead
Finds an existing lead by email, phone, or name. Creates one if not found.

- Type: search_or_write · Key: `find_lead`
- Requires: nothing
- Optional: email, phone, name, lead_id, status, source
- SDK: `runAction({ app: "verdictflow", actionType: "search_or_write", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action verdictflow search_or_write find_lead`

## Popular integrations
- [VerdictFlow + Facebook Lead Ads](zapier.com/apps/verdictflow/integrations/facebook-lead-ads.md)
- [VerdictFlow + Facebook Lead Ads (for Business admins)](zapier.com/apps/verdictflow/integrations/facebook-lead-ads-beta.md)
- [VerdictFlow + CallRail](zapier.com/apps/verdictflow/integrations/callrail.md)
- [VerdictFlow + Calendly](zapier.com/apps/verdictflow/integrations/calendly.md)
- [VerdictFlow + Jotform](zapier.com/apps/verdictflow/integrations/jotform.md)
- [VerdictFlow + PandaDoc](zapier.com/apps/verdictflow/integrations/pandadoc.md)

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