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

Integrate Lawmatics and Salesmate 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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## 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**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **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
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · addCustomModuleNote`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action salesmate write addCustomModuleNote \
  --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.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 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- SDK: `runAction({ app: "lawmatics", actionType: "search", action: "user" })`
- CLI: `npx zapier-sdk run-action lawmatics search user`

## Salesmate

### Identity
Salesmate is an All-in-one Sales Management, Automation, and Acceleration Software for Teams of All Sizes & Shapes.

- App slug: salesmate
- Operations published here: 54 (17 events, 16 functions, 16 queries, 5 search-or-write actions)

### Authentication
Zapier connects to Salesmate 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 salesmate
```

### Capabilities

#### Events (17)

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

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

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

##### New De-Activated User
Triggers when a user is de-activated.

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

##### New Activity
Triggers when a new activity is created.

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

##### New Activity Note
Triggers when a new activity note is created.

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

##### New Company
Triggers when a new company is created.

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

##### New Company Note
Triggers when a new company note is created.

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

##### New Contact
Triggers when a new contact is created.

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

##### New Contact Note
Triggers when a new contact note is created.

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

##### New Deal
Triggers when a new deal is created.

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

##### New Deal Note
Triggers when a new deal note is created.

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

##### New Custom Module Record
Triggers when a new record is created for custom selected module.

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

##### New Custom Module Record Note
Triggers when a new note is created for selected custom module

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

##### Update Activity
Triggers when a new activity update is found.

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

##### Update Company
Triggers when a new company update is found.

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

##### Update Contact
Triggers when a new contact update is found.

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

##### Update Deal
Triggers when a new deal update is found.

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

##### Update Custom Module Record
Triggers when a record is updated for selected custom module.

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

#### Functions (16)

Functions change something in Salesmate.

##### Add Note for Custom Module
Adds Note based on previous step.

- Type: write · Key: `addCustomModuleNote`
- Requires: moduleId, objectId
- Optional: note
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "addCustomModuleNote" })`
- CLI: `npx zapier-sdk run-action salesmate write addCustomModuleNote`

##### Add Note
Adds Note based on previous step.

- Type: write · Key: `addNote`
- Requires: moduleId, objectId
- Optional: note
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "addNote" })`
- CLI: `npx zapier-sdk run-action salesmate write addNote`

##### Add New User
Created new User, probably with input from previous step.

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

##### Create Activity
Creates a new Activity, probably with input from previous steps.

- Type: write · Key: `createActivity`
- Requires: nothing
- Optional: teammates, participants
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "createActivity" })`
- CLI: `npx zapier-sdk run-action salesmate write createActivity`

##### Create Company
Creates a new Company, probably with input from previous steps.

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

##### Create Contact
Creates a new Contact, probably with input from previous steps.

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

##### Create Deal
Creates a new Deal, probably with input from previous steps.

- Type: write · Key: `createDeal`
- Requires: nothing
- Optional: teammates, participants
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "createDeal" })`
- CLI: `npx zapier-sdk run-action salesmate write createDeal`

##### Create Custom Module Record
Creates a new Custom Module Record, probably with input from previous steps.

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

##### Random User
Select a random user from active user

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

##### Update Activity
Update Activity, probably with input from previous steps.

- Type: write · Key: `updateActivity`
- Requires: id
- Optional: teammates, participants
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "updateActivity" })`
- CLI: `npx zapier-sdk run-action salesmate write updateActivity`

##### Update Company
Update Company, probably with input from previous steps.

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

##### Update Contact
Update Contact, probably with input from previous steps.

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

##### Update Custom Module Note
Updates a note based on previous step.

- Type: write · Key: `updateCustomModuleNote`
- Requires: moduleId, objectId, noteId
- Optional: note
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "updateCustomModuleNote" })`
- CLI: `npx zapier-sdk run-action salesmate write updateCustomModuleNote`

##### Update Deal
Update Deal, probably with input from previous steps.

- Type: write · Key: `updateDeal`
- Requires: id
- Optional: teammates, participants
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "updateDeal" })`
- CLI: `npx zapier-sdk run-action salesmate write updateDeal`

##### Update Note
Updates a note based on previous step.

- Type: write · Key: `updateNote`
- Requires: moduleId, objectId, noteId
- Optional: note
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "updateNote" })`
- CLI: `npx zapier-sdk run-action salesmate write updateNote`

##### Update Custom Module Record
Update Record, probably with input from previous steps.

- Type: write · Key: `updateRecord`
- Requires: moduleId, id
- SDK: `runAction({ app: "salesmate", actionType: "write", action: "updateRecord" })`
- CLI: `npx zapier-sdk run-action salesmate write updateRecord`

#### Queries (16)

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

##### Search for Total Rows in Activity
Searches Total Rows in Activities

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

##### Search for Total Rows in Company
Searches Total Rows in Company

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

##### Search for Total Rows in Contacts
Searches Total Rows in Contacts

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

##### Search for Total Rows in Deal
Searches Total Rows in Deal

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

##### Search for Total Rows of Selected Custom Module
Searches Total Rows of Selected Custom Module

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

##### Search Activity
Finds an activity based on different fields

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

##### Search Company
Finds a company based on different fields

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

##### Search Contact
Finds a contact based on different fields

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

##### Search Deal
Finds a deal based on different fields

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

##### Search Record
Finds a Record based on different fields

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

##### Search or Create Activity
Search or create Activity , if activity does not exist.

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

##### Search or Create Company
Search or create Company, if does not exist. Optionally, create one if none are found.

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

##### Search or Create Contact
Search or create Contact , if contact does not exist.

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

##### Search or Create Deal
Search or Create a deal , if deal does not exist.

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

##### Search or Create Custom Module Record
Search or create custom module Record , if record does not exist.

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

##### Search User
Find an User based on different fields.

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

#### Search or Write Actions (5)

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

##### Find or Create an Activity
x

- Type: search_or_write · Key: `searchActivity`
- Requires: nothing
- Optional: teammates, participants
- SDK: `runAction({ app: "salesmate", actionType: "search_or_write", action: "searchActivity" })`
- CLI: `npx zapier-sdk run-action salesmate search_or_write searchActivity`

##### Find or Create a Company
x

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

##### Find or create a contact
x

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

##### Find or Create a Deal
x

- Type: search_or_write · Key: `searchDeal`
- Requires: nothing
- Optional: teammates, participants
- SDK: `runAction({ app: "salesmate", actionType: "search_or_write", action: "searchDeal" })`
- CLI: `npx zapier-sdk run-action salesmate search_or_write searchDeal`

##### Find or Create a Record
x

- Type: search_or_write · Key: `searchRecord`
- Requires: moduleId
- SDK: `runAction({ app: "salesmate", actionType: "search_or_write", action: "searchRecord" })`
- CLI: `npx zapier-sdk run-action salesmate search_or_write searchRecord`

## Links
- Lawmatics integrations: zapier.com/apps/lawmatics/integrations.md
- Salesmate integrations: zapier.com/apps/salesmate/integrations.md
- Full page: zapier.com/apps/lawmatics/integrations/salesmate
- SDK: npmjs.com/package/@zapier/zapier-sdk