# Lexamica + CalGet Integrations: Connect with Zapier MCP
> zapier.com/apps/lexamica/integrations/calget
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Lexamica and CalGet 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 · create_event`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action calget write create_event \
  --inputs '{}'
```

## Lexamica

### Identity
Lexamica is the first platform dedicated to legal referrals.

- App slug: lexamica
- Operations published here: 27 (11 events, 10 functions, 6 queries)

### Authentication
Zapier connects to Lexamica 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 lexamica
```

### Capabilities

#### Events (11)

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

##### Case Attachment Created
Triggers when a new attachment is created for a case.

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

##### Law Firm List
Triggers when a law firm is found in the list.

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

##### Referral Details Updated
Triggers when a case details is changed by either the sending or receiving law firm.

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

##### Referral Invitation Received
Triggers when my law firm receives a new referral invitation.

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

##### Referral Sent
Triggers when my law firm sends a new referral.

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

##### Referral Invitation Updated
Triggers when a referral invitation is updated by either the sending or receiving law firm.

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

##### Referral Received
Triggers when a new referral is received by my law firm.

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

##### Referral Resolution Created
Triggers when case resolution has been initiated by either the sending or receiving law firm.

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

##### Referral Update Created
Triggers when a new referral update is created by either the sending or receiving law firm.

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

##### Relay Match Found
Triggers when a relay match is found for a referral.

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

##### Relay Match Not Found
Triggers when a relay match is not found for a referral.

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

#### Functions (10)

Functions change something in Lexamica.

##### Create a Case Attachment
Creates a new attachment for a case belonging to my law firm.

- Type: write · Key: `caseAttachment`
- Requires: referralId, filename, file
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "caseAttachment" })`
- CLI: `npx zapier-sdk run-action lexamica write caseAttachment`

##### Convert to Existing Case
This is an advanced action! Converts a case to Open. Useful for importing pre-signed cases and referrals that existed before you started using Lexamica.

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

##### Create Referral
Creates a new referral in my law firm.

- Type: write · Key: `referral`
- Requires: nothing
- Optional: Message, inviteFirm, client.salutation, client.firstName, client.lastName, clientContact.copy, client.email, client.phoneNumber, client.address.copy, client.address.line1, client.address.line2, client.address.city, client.address.state, client.address.zipCode, incident.copy, incident.date, incident.synopsis, incident.address.copy, incident.address.line1, incident.address.line2, incident.address.city, incident.address.state, incident.address.zipCode, feeType, feeValue, integrationPlatform, integrationId, suppressErrors
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "referral" })`
- CLI: `npx zapier-sdk run-action lexamica write referral`

##### Change Referral Details
Updates case details for a referral my law firm has accepted.

- Type: write · Key: `referralDetails`
- Requires: referralId, changes
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "referralDetails" })`
- CLI: `npx zapier-sdk run-action lexamica write referralDetails`

##### Create Referral Invitation
Creates a new referral invitation direct to a new firm for an existing referral.

- Type: write · Key: `referralInvitation`
- Requires: referralId, recipientLawFirmId
- Optional: Message, expires
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "referralInvitation" })`
- CLI: `npx zapier-sdk run-action lexamica write referralInvitation`

##### Respond to a Referral Invitation
Accept, decline, evaluate, or extend a referral invitation that was sent to my firm.

- Type: write · Key: `referralInvitationResponse`
- Requires: referralId
- Optional: referralInvitationResponse, suppressErrors
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "referralInvitationResponse" })`
- CLI: `npx zapier-sdk run-action lexamica write referralInvitationResponse`

##### Resolve a Case
Close a case and generate a recovery report.

- Type: write · Key: `referralResolution`
- Requires: referralId
- Optional: hasFee, suppressErrors
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "referralResolution" })`
- CLI: `npx zapier-sdk run-action lexamica write referralResolution`

##### Create Referral Update 
Creates a new referral update for a case belonging to my law firm.

- Type: write · Key: `referralUpdate`
- Requires: referralId
- Optional: stage, updateNote, suppressErrors
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "referralUpdate" })`
- CLI: `npx zapier-sdk run-action lexamica write referralUpdate`

##### Project Relay Run
Projects a future relay run.

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

##### Submit Case to Relay
Submits a case to the Lexmaica Network.

- Type: write · Key: `relaySubmission`
- Requires: referralId
- Optional: Message
- SDK: `runAction({ app: "lexamica", actionType: "write", action: "relaySubmission" })`
- CLI: `npx zapier-sdk run-action lexamica write relaySubmission`

#### Queries (6)

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

##### Find an Attachment by ID
Find a Attachment ID.

- Type: search · Key: `attachmentSearch`
- Requires: attachmentId
- Optional: noMetadataCopy
- SDK: `runAction({ app: "lexamica", actionType: "search", action: "attachmentSearch" })`
- CLI: `npx zapier-sdk run-action lexamica search attachmentSearch`

##### Find a Case Invitation by Case ID and Law Firm Role
Finds a case invitation by case ID and law firm role.

- Type: search · Key: `caseInvitationByCaseAndRoleSearch`
- Requires: caseId, role
- Optional: noMetadataCopy, includeRawData
- SDK: `runAction({ app: "lexamica", actionType: "search", action: "caseInvitationByCaseAndRoleSearch" })`
- CLI: `npx zapier-sdk run-action lexamica search caseInvitationByCaseAndRoleSearch`

##### Get Law Firm by ID
Gets a law firm by ID.

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

##### Find Law Firm
Finds a Law Firm by name.

- Type: search · Key: `law_firmSearch`
- Requires: name
- Optional: hasMFSA
- SDK: `runAction({ app: "lexamica", actionType: "search", action: "law_firmSearch" })`
- CLI: `npx zapier-sdk run-action lexamica search law_firmSearch`

##### Find a Referral by ID
Finds a referral in my law firm by ID.

- Type: search · Key: `referralSearch`
- Requires: referralId
- Optional: noMetadataCopy, addMostRecentInvitation, includeRawData
- SDK: `runAction({ app: "lexamica", actionType: "search", action: "referralSearch" })`
- CLI: `npx zapier-sdk run-action lexamica search referralSearch`

##### Search Relay Nodes (Advanced)
Retrieves the relay nodes for a user's law firm. This action returns a list of line items.

- Type: search · Key: `relayNodeSearch`
- Requires: nothing
- Optional: firmNamePattern, caseTypePattern, incidentStatePattern, start, end
- SDK: `runAction({ app: "lexamica", actionType: "search", action: "relayNodeSearch" })`
- CLI: `npx zapier-sdk run-action lexamica search relayNodeSearch`

## CalGet

### Identity
CalGet is an 'Add to Calendar' link generator with RSVP options. Create shareable event links for popular calendar apps.

- App slug: calget
- Operations published here: 2 (1 event, 1 function)

### Authentication
Zapier connects to CalGet 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 calget
```

### Capabilities

#### Events (1)

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

##### Get RSVP Responses
Get submitted RSVP responses from CalGet

- Type: read · Key: `new_rsvp_response`
- Requires: team, event_id
- SDK: `runAction({ app: "calget", actionType: "read", action: "new_rsvp_response" })`
- CLI: `npx zapier-sdk run-action calget read new_rsvp_response`

#### Functions (1)

Functions change something in CalGet.

##### Create Event
Create a new event in CalGet

- Type: write · Key: `create_event`
- Requires: title, description, location, start_date, end_date, timezone, template, calendar
- Optional: team, is_online, is_all_day, has_rsvp, rsvp_template
- SDK: `runAction({ app: "calget", actionType: "write", action: "create_event" })`
- CLI: `npx zapier-sdk run-action calget write create_event`

## Links
- Lexamica integrations: zapier.com/apps/lexamica/integrations.md
- CalGet integrations: zapier.com/apps/calget/integrations.md
- Full page: zapier.com/apps/lexamica/integrations/calget
- SDK: npmjs.com/package/@zapier/zapier-sdk