---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Lawmatics + Paths by Zapier Integrations: Connect with Zapier MCP
> zapier.com/apps/lawmatics/integrations/paths
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Lawmatics and Paths by Zapier in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## 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).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `lawmatics` and `paths`, then `enable_zapier_action`. If Lawmatics or Paths by Zapier isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "paths",
  actionType: "write",
  action: "branch",
  connection: connection.id,
  inputs: {},
});
```

- **CLI**:

```bash
npx zapier-sdk run-action paths write branch \
  --inputs '{}'
```

## Lawmatics

### Identity
Lawmatics is an AI-powered legal CRM and marketing automation platform that converts leads into clients and scales law firm growth.

- App slug: lawmatics
- Operations published here: 21 (8 events, 8 functions, 5 queries)

### Authentication
Zapier connects to Lawmatics 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 lawmatics
```

### Capabilities

#### Events (8)

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

##### Matter Converted
Triggers when a PNC Matter is converted.

- Type: read · Key: `convertedProspects`
- Requires: nothing
- MCP tool: `lawmatics_matter_converted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "convertedProspects" })`
- CLI: `npx zapier-sdk run-action lawmatics read convertedProspects`

##### Appointment Created
Triggers when an Appointment is created.

- Type: read · Key: `createdAppointments`
- Requires: nothing
- MCP tool: `lawmatics_appointment_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "createdAppointments" })`
- CLI: `npx zapier-sdk run-action lawmatics read createdAppointments`

##### Contact Created
Triggers when a Contact is created.

- Type: read · Key: `createdContacts`
- Requires: nothing
- MCP tool: `lawmatics_contact_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "createdContacts" })`
- CLI: `npx zapier-sdk run-action lawmatics read createdContacts`

##### Filled Out a Form
Triggers when a Custom Form Entry is submitted.

- Type: read · Key: `customFormEntries`
- Requires: share_uuid
- MCP tool: `lawmatics_filled_out_a_form` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "customFormEntries" })`
- CLI: `npx zapier-sdk run-action lawmatics read customFormEntries`

##### Custom Form Added
Triggers when a Custom Form is added.

- Type: read · Key: `customForms`
- Requires: nothing
- MCP tool: `lawmatics_custom_form_added` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "customForms" })`
- CLI: `npx zapier-sdk run-action lawmatics read customForms`

##### New Note Created
Triggers when a new Note is created.

- Type: read · Key: `notes`
- Requires: nothing
- MCP tool: `lawmatics_new_note_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "notes" })`
- CLI: `npx zapier-sdk run-action lawmatics read notes`

##### Matter Added
Triggers when a Matter is created.

- Type: read · Key: `prospects`
- Requires: nothing
- MCP tool: `lawmatics_matter_added` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "prospects" })`
- CLI: `npx zapier-sdk run-action lawmatics read prospects`

##### Matter Updated
Triggers when a Matter is updated.

- Type: read · Key: `updatedProspects`
- Requires: nothing
- MCP tool: `lawmatics_matter_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "read", action: "updatedProspects" })`
- CLI: `npx zapier-sdk run-action lawmatics read updatedProspects`

#### Functions (8)

Functions change something in Lawmatics.

##### Create Appointment
Create a new Appointment.

- Type: write · Key: `createAppointment`
- Requires: name, all_day, start_date, end_date, eventable_type, eventable_id, description
- Optional: reminder_delay_length, reminder_type
- MCP tool: `lawmatics_create_appointment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "createAppointment" })`
- CLI: `npx zapier-sdk run-action lawmatics write createAppointment`

##### Create Company
Create a new Company from values.

- Type: write · Key: `createCompany`
- Requires: name
- Optional: email, phone, street, street2, city, state, country, zipcode, primary_contact_id
- MCP tool: `lawmatics_create_company` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "createCompany" })`
- CLI: `npx zapier-sdk run-action lawmatics write createCompany`

##### Create Contact
Create a new Contact from values.

- Type: write · Key: `createContact`
- Requires: first_name
- Optional: last_name, email, phone, title, street, street2, city, state, zipcode, middle_name, citizenship, driver_license, name_prefix, name_sufix, informal_name, marital_status, hobbies, bio, birthdate, social_security, note
- MCP tool: `lawmatics_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "createContact" })`
- CLI: `npx zapier-sdk run-action lawmatics write createContact`

##### Submit Custom Form Entry
Fill out a Custom Form with values.

- Type: write · Key: `createCustomFormEntry`
- Requires: share_uuid
- MCP tool: `lawmatics_submit_custom_form_entry` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "createCustomFormEntry" })`
- CLI: `npx zapier-sdk run-action lawmatics write createCustomFormEntry`

##### Create Matter
Create a new Matter from values.

- Type: write · Key: `createProspect`
- Requires: first_name
- Optional: last_name, company_name, email, phone, title, case_blurb, case_title, street, street2, city, state, zipcode, middle_name, citizenship, driver_license, name_prefix, name_sufix, informal_name, marital_status, hobbies, bio, birthdate, social_security, actual_value_cents, estimated_value_cents, lead_cost_cents
- MCP tool: `lawmatics_create_matter` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "createProspect" })`
- CLI: `npx zapier-sdk run-action lawmatics write createProspect`

##### Update Company
Update an existing Company with values.

- Type: write · Key: `updateCompany`
- Requires: id, name
- Optional: email, phone, street, street2, city, state, country, zipcode, primary_contact_id, note
- MCP tool: `lawmatics_update_company` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "updateCompany" })`
- CLI: `npx zapier-sdk run-action lawmatics write updateCompany`

##### Update Contact
Update an existing Contact with values.

- Type: write · Key: `updateContact`
- Requires: id, first_name
- Optional: last_name, email, phone, title, street, street2, city, state, zipcode, middle_name, citizenship, driver_license, name_prefix, name_sufix, informal_name, marital_status, hobbies, bio, birthdate, social_security, note, tags
- MCP tool: `lawmatics_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "updateContact" })`
- CLI: `npx zapier-sdk run-action lawmatics write updateContact`

##### Update Matter
Update an existing Matter with values.

- Type: write · Key: `updateProspect`
- Requires: id, first_name
- Optional: last_name, email, phone, title, case_blurb, case_title, street, street2, city, state, zipcode, middle_name, citizenship, driver_license, name_prefix, name_sufix, informal_name, marital_status, hobbies, bio, birthdate, social_security, actual_value_cents, estimated_value_cents, lead_cost_cents, note
- MCP tool: `lawmatics_update_matter` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "write", action: "updateProspect" })`
- CLI: `npx zapier-sdk run-action lawmatics write updateProspect`

#### Queries (5)

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

##### Find Company
Find Company by email, name or phone

- Type: search · Key: `find_company`
- Requires: searchType, value
- MCP tool: `lawmatics_find_company` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "search", action: "find_company" })`
- CLI: `npx zapier-sdk run-action lawmatics search find_company`

##### Find Contact
Find Contact by email, name or phone

- Type: search · Key: `find_contact`
- Requires: searchType, value
- MCP tool: `lawmatics_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action lawmatics search find_contact`

##### Find Matter
Find Matter by email, name or phone

- Type: search · Key: `find_matter`
- Requires: searchType, value
- MCP tool: `lawmatics_find_matter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "search", action: "find_matter" })`
- CLI: `npx zapier-sdk run-action lawmatics search find_matter`

##### Get Matter
Find a Matter by ID.

- Type: search · Key: `prospect`
- Requires: id
- MCP tool: `lawmatics_get_matter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "search", action: "prospect" })`
- CLI: `npx zapier-sdk run-action lawmatics search prospect`

##### Get User
Find User by ID.

- Type: search · Key: `user`
- Requires: id
- MCP tool: `lawmatics_get_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lawmatics", actionType: "search", action: "user" })`
- CLI: `npx zapier-sdk run-action lawmatics search user`

## Paths by Zapier

### Identity
Conditional logic for your Zapier workflows. Paths let your apps take different actions based on conditions you choose.

- App slug: paths
- Operations published here: 2 (1 function, 1 filter)

### Capabilities

#### Functions (1)

Functions change something in Paths by Zapier.

##### Conditionally run...
Creates a new branch.

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

#### Filters (1)

Filters stop a Zap from continuing unless a condition is met.

##### Filter Tasks
Only allow task to continue if certain conditions are met.

- Type: filter · Key: `filter`
- Requires: filter_criteria
- Optional: color, emoji
- SDK: `runAction({ app: "paths", actionType: "filter", action: "filter" })`
- CLI: `npx zapier-sdk run-action paths filter filter`

## Frequently asked questions about automating with Lawmatics and Paths by Zapier

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Lawmatics integrations: zapier.com/apps/lawmatics/integrations.md
- Paths by Zapier integrations: zapier.com/apps/paths/integrations.md
- Full page: zapier.com/apps/lawmatics/integrations/paths
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk