# Actionstep + Gavel Integrations: Connect with Zapier MCP
> zapier.com/apps/actionstep/integrations/gavel
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Actionstep and Gavel 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 · new_session`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action gavel write new_session \
  --inputs '{}'
```

## Actionstep

### Identity
Actionstep is a Legal Practice Management Solution for Law firms.

- App slug: actionstep
- Operations published here: 31 (7 events, 14 functions, 7 queries, 3 search-or-write actions)

### Authentication
Zapier connects to Actionstep 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 actionstep
```

### Capabilities

#### Events (7)

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

##### New Matter
Triggers when an action/matter is created.

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

##### New Matter Participant
Triggers when a participant/contact is added to an action/matter.

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

##### New File Note
Triggers when a new file note is created.

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

##### New Contact
Triggers when a participant/contact is created.

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

##### Matter Step Changed
Triggers when a step change occurs on an action/matter.

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

##### New Task
Triggers when a new task is created.

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

##### Updated Matter
Triggers when an existing Matter is updated.

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

#### Functions (14)

Functions change something in Actionstep.

##### Add Participant to Matter
Adds a participant to an action/matter.

- Type: write · Key: `AddParticipantToAction`
- Requires: participantType, participant, actionId
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "AddParticipantToAction" })`
- CLI: `npx zapier-sdk run-action actionstep write AddParticipantToAction`

##### Create Matter
Creates a new action/matter.

- Type: write · Key: `CreateAction`
- Requires: actionTypeId, actionName, status
- Optional: assignedToParticipant, fileReference, priority, fileNote, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "CreateAction" })`
- CLI: `npx zapier-sdk run-action actionstep write CreateAction`

##### Create Company Contact
Creates a company contact.

- Type: write · Key: `CreateCompanyContact`
- Requires: companyName, physicalCountry, mailingCountry
- Optional: physicalAddressLine1, physicalAddressLine2, physicalCity, physicalStateProvince, physicalPostCode, mailingAddressLine1, mailingAddressLine2, mailingCity, mailingStateProvince, mailingPostCode, phone1Label, phone1Country, phone1Area, phone1Number, phone1Notes, fax, sms, email, website, division, phone2Label, phone2Country, phone2Area, phone2Number, phone2Notes, phone3Label, phone3Country, phone3Area, phone3Number, phone3Notes, phone4Label, phone4Country, phone4Area, phone4Number, phone4Notes, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "CreateCompanyContact" })`
- CLI: `npx zapier-sdk run-action actionstep write CreateCompanyContact`

##### Create File Note
Creates a new file note for an action/matter.

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

##### Create Individual Contact
Creates an individual contact.

- Type: write · Key: `CreateIndividualContact`
- Requires: lastName, physicalCountry, mailingCountry
- Optional: salutation, firstName, middleName, suffix, preferredName, physicalAddressLine1, physicalAddressLine2, physicalCity, physicalStateProvince, physicalPostCode, mailingAddressLine1, mailingAddressLine2, mailingCity, mailingStateProvince, mailingPostCode, phone1Label, phone1Country, phone1Area, phone1Number, phone1Notes, fax, sms, email, website, occupation, birthTimestamp, deathTimestamp, maritalStatus, gender, division, phone2Label, phone2Country, phone2Area, phone2Number, phone2Notes, phone3Label, phone3Country, phone3Area, phone3Number, phone3Notes, phone4Label, phone4Country, phone4Area, phone4Number, phone4Notes, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "CreateIndividualContact" })`
- CLI: `npx zapier-sdk run-action actionstep write CreateIndividualContact`

##### Create Task
Creates a task for an action/matter.

- Type: write · Key: `CreateTask`
- Requires: assignee, action, taskName, status, priority, dueTimestamp, actualHours, billableHours
- Optional: rate, startedTimestamp, completedTimestamp, description
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "CreateTask" })`
- CLI: `npx zapier-sdk run-action actionstep write CreateTask`

##### Create Disbursement
Create a disbursement.

- Type: write · Key: `create_disbursement`
- Requires: MatterId, Date, Description, UnitPrice, IncludesTax, TaxCodeId
- Optional: quantity
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "create_disbursement" })`
- CLI: `npx zapier-sdk run-action actionstep write create_disbursement`

##### Create Time Entry
Creates a time entry.

- Type: write · Key: `create_time_entry`
- Requires: description, actualHours
- Optional: timestampDate, billableHours, rate, action
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "create_time_entry" })`
- CLI: `npx zapier-sdk run-action actionstep write create_time_entry`

##### Update Company Contact
Update company contact

- Type: write · Key: `update_company_contact`
- Requires: participantId
- Optional: companyName, physicalAddressLine1, physicalAddressLine2, physicalCity, physicalStateProvince, physicalPostCode, physicalCountry, mailingAddressLine1, mailingAddressLine2, mailingCity, mailingStateProvince, mailingPostCode, mailingCountry, phone1Label, phone1Country, phone1Area, phone1Number, phone1Notes, fax, sms, email, website, phone2Label, phone2Country, phone2Area, phone2Number, phone2Notes, phone3Label, phone3Country, phone3Area, phone3Number, phone3Notes, phone4Label, phone4Country, phone4Area, phone4Number, phone4Notes, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "update_company_contact" })`
- CLI: `npx zapier-sdk run-action actionstep write update_company_contact`

##### Update File Note
Updates an existing file note.

- Type: write · Key: `update_file_note`
- Requires: file_note_id, note_content
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "update_file_note" })`
- CLI: `npx zapier-sdk run-action actionstep write update_file_note`

##### Update Individual Contact
Update an individual contact

- Type: write · Key: `update_individual_contact`
- Requires: nothing
- Optional: participantId, salutation, firstName, middleName, lastName, suffix, preferredName, physicalAddressLine1, physicalAddressLine2, physicalCity, physicalStateProvince, physicalPostCode, physicalCountry, mailingAddressLine1, mailingAddressLine2, mailingCity, mailingStateProvince, mailingPostCode, mailingCountry, phone1Label, phone1Country, phone1Area, phone1Number, phone1Notes, fax, sms, email, website, occupation, birthTimestamp, deathTimestamp, maritalStatus, gender, phone2Label, phone2Country, phone2Area, phone2Number, phone2Notes, phone3Label, phone3Country, phone3Area, phone3Number, phone3Notes, phone4Label, phone4Country, phone4Area, phone4Number, phone4Notes, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "update_individual_contact" })`
- CLI: `npx zapier-sdk run-action actionstep write update_individual_contact`

##### Update Matter
Updates a matter.

- Type: write · Key: `update_matter`
- Requires: actionId
- Optional: assignedTo, name, status, reference, priority, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "update_matter" })`
- CLI: `npx zapier-sdk run-action actionstep write update_matter`

##### Update Matter Custom Field Value
Updates a matter custom field value.

- Type: write · Key: `update_matter_custom_field_value`
- Requires: CustomFieldValueId, CustomFieldValue
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "update_matter_custom_field_value" })`
- CLI: `npx zapier-sdk run-action actionstep write update_matter_custom_field_value`

##### Update Task
Updates a task.

- Type: write · Key: `update_task`
- Requires: taskId
- Optional: status, priority, assignee, dueDate, actualHours, billableHours, completedTimestamp
- SDK: `runAction({ app: "actionstep", actionType: "write", action: "update_task" })`
- CLI: `npx zapier-sdk run-action actionstep write update_task`

#### Queries (7)

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

##### Find Matter Custom Field
Find a matter custom field based on the supplied custom field name.

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

##### Find Tax Code
Finds a tax code record based on the supplied code.

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

##### Retrieve Matter Custom Field Value
Retrieve a matter custom field value based on the supplied custom field id and matter id.

- Type: search · Key: `retrieve_matter_custom_field_value`
- Requires: CustomFieldId, MatterId
- SDK: `runAction({ app: "actionstep", actionType: "search", action: "retrieve_matter_custom_field_value" })`
- CLI: `npx zapier-sdk run-action actionstep search retrieve_matter_custom_field_value`

##### Find Contact
Find a contact/participant by name or ID.

- Type: search · Key: `SearchContacts`
- Requires: searchBy, searchValue
- SDK: `runAction({ app: "actionstep", actionType: "search", action: "SearchContacts" })`
- CLI: `npx zapier-sdk run-action actionstep search SearchContacts`

##### Find Matter
Finds a matter/action by name or ID.

- Type: search · Key: `SearchMatters`
- Requires: searchBy, searchValue
- SDK: `runAction({ app: "actionstep", actionType: "search", action: "SearchMatters" })`
- CLI: `npx zapier-sdk run-action actionstep search SearchMatters`

##### Search for a Contact
Find a contact based on different search criteria.

- Type: search · Key: `search_for_contact`
- Requires: searchProperty, searchValue
- SDK: `runAction({ app: "actionstep", actionType: "search", action: "search_for_contact" })`
- CLI: `npx zapier-sdk run-action actionstep search search_for_contact`

##### Search for Matter
Find a matter based on different search criteria.

- Type: search · Key: `search_for_matter`
- Requires: searchProperty, searchValue
- SDK: `runAction({ app: "actionstep", actionType: "search", action: "search_for_matter" })`
- CLI: `npx zapier-sdk run-action actionstep search search_for_matter`

#### Search or Write Actions (3)

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

##### Find or Create Contact
Find or Create Contact

- Type: search_or_write · Key: `SearchContacts`
- Requires: searchBy, searchValue, isCompany, physicalCountry, mailingCountry
- Optional: companyName, salutation, firstName, middleName, lastName, suffix, preferredName, physicalAddressLine1, physicalAddressLine2, physicalCity, physicalStateProvince, physicalPostCode, mailingAddressLine1, mailingAddressLine2, mailingCity, mailingStateProvince, mailingPostCode, phone1Label, phone1Country, phone1Area, phone1Number, phone1Notes, fax, sms, email, website, occupation, birthTimestamp, deathTimestamp, maritalStatus, gender, division, phone2Label, phone2Country, phone2Area, phone2Number, phone2Notes, phone3Label, phone3Country, phone3Area, phone3Number, phone3Notes, phone4Label, phone4Country, phone4Area, phone4Number, phone4Notes, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "search_or_write", action: "SearchContacts" })`
- CLI: `npx zapier-sdk run-action actionstep search_or_write SearchContacts`

##### Find or Create Matter
Find or Create Matter

- Type: search_or_write · Key: `SearchMatters`
- Requires: searchBy, searchValue, actionTypeId, actionName, status
- Optional: assignedToParticipant, fileReference, priority, fileNote, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "search_or_write", action: "SearchMatters" })`
- CLI: `npx zapier-sdk run-action actionstep search_or_write SearchMatters`

##### Search or Create Contact
Find a contact based on different search criteria.

- Type: search_or_write · Key: `search_for_contact`
- Requires: searchProperty, searchValue, isCompany, physicalCountry, mailingCountry
- Optional: companyName, salutation, firstName, middleName, lastName, suffix, preferredName, physicalAddressLine1, physicalAddressLine2, physicalCity, physicalStateProvince, physicalPostCode, mailingAddressLine1, mailingAddressLine2, mailingCity, mailingStateProvince, mailingPostCode, phone1Label, phone1Country, phone1Area, phone1Number, phone1Notes, fax, sms, email, website, occupation, birthTimestamp, deathTimestamp, maritalStatus, gender, division, phone2Label, phone2Country, phone2Area, phone2Number, phone2Notes, phone3Label, phone3Country, phone3Area, phone3Number, phone3Notes, phone4Label, phone4Country, phone4Area, phone4Number, phone4Notes, importExternalReference
- SDK: `runAction({ app: "actionstep", actionType: "search_or_write", action: "search_for_contact" })`
- CLI: `npx zapier-sdk run-action actionstep search_or_write search_for_contact`

## Gavel

### Identity
Gavel is a no-code platform for document automation and building expert systems.

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

### Authentication
Zapier connects to Gavel 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 gavel
```

### Capabilities

#### Events (1)

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

##### Workflow Completed
Triggers when a workflow is completed.

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

#### Functions (1)

Functions change something in Gavel.

##### Create and Populate a New Session
Creates a new session of an existing workflow, populates it with the provided variables, and outputs a session ID and a link that can be used to continue the workflow.

- Type: write · Key: `new_session`
- Requires: workflow_name
- Optional: review_answers
- SDK: `runAction({ app: "gavel", actionType: "write", action: "new_session" })`
- CLI: `npx zapier-sdk run-action gavel write new_session`

## Frequently asked questions about automating with Actionstep and Gavel

### 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.
- 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
- Actionstep integrations: zapier.com/apps/actionstep/integrations.md
- Gavel integrations: zapier.com/apps/gavel/integrations.md
- Full page: zapier.com/apps/actionstep/integrations/gavel
- SDK: npmjs.com/package/@zapier/zapier-sdk