Skip to docs navigation

LeanLaw integration guide

Verified

How to connect LeanLaw to WEXTL and use its 6 triggers and 37 actions in your workflows. About LeanLaw: Legal practice management software for tracking clients, matters, time, expenses and invoices.

  • 6 triggers
  • 16 searches
  • 21 actions
  • Polling
  • Auth: API key

AI-assisted documentation22 min read

This documentation is compiled from our integration source code, internal specs for LeanLaw, its official API documentation and anonymized requests logs we collect from our support team[2].

Open LeanLaw on WEXTL →
  • LeanLaw
  • WEXTL
  • Classe365
  • EasyPractice
  • Gladly
  • Cliniko
  • CommBox
  • AlfaDocs
  • Dentally
  • eDesk
  • Gorgias
  • Exercise
  • Atomicwork
  • Capacity
  • Enchant
  • Frill
  • Charla
  • Chatling
  • Denser AI
  • Deskpro
  • BoldDesk
  • Healthie
  • Chatwoot
  • Freshservice
  • Freshdesk
  • Front
  • DaySmart Vet
  • Halo
  • Clio Grow
  • Heidi
  • CharmHealth
  • Clio Manage
  • Access TokenpasswordRequired

    Your API key, generated from your account.[1]

  1. Log in to your WEXTL account, add the LeanLaw node module to your workflow, and click Create new credential.
  2. Optional: In the Credential name field, enter a name for the credential.
  3. Enter the authentication credentials you copied from your LeanLaw account, or follow the on-screen instructions to create the credential.
  4. If prompted, authenticate your account and confirm access.
  5. If you want to make changes to your credential in the future, follow the steps in Manage credentials →

Watch Clients

Trigger
Output fields[3]
FieldType
Client IDtext
Nametext
Referencetext
Contactobject
Company Nametext
First Nametext
Last Nametext
Middle Nametext
Suffixtext
Emailemail
Email CCemail
Phonetext
Cell Phonetext
Other Phonetext
Metaobject
Created Atdate
Modified Atdate
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

Watch Expenses

Trigger
Output fields[3]
FieldType
Expense IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Descriptiontext
Amountnumber
Billedboolean
Check Numbertext
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Metaobject
Created Atdate
Modified Atdate

Watch Fixed Fees

Trigger
Output fields[3]
FieldType
Fixed Fee IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Descriptiontext
Amountnumber
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Metaobject
Created Atdate
Modified Atdate

Watch Invoices

Trigger
Output fields[3]
FieldType
Invoice IDtext
Client IDtext
Clientobject
Nametext
Referencetext
Matter IDtext
Matterobject
Nametext
Referencetext
Invoice Datedate
Due Datedate
Amountnumber
Balancenumber
Invoice Numbertext
Invoice Statetext
Metaobject
Created Atdate
Modified Atdate

Watch Matters

Trigger
Output fields[3]
FieldType
Matter IDtext
Nametext
Referencetext
Matter Typetext
Openeddate
Archivedboolean
Client IDtext
Clientobject
Nametext
Referencetext
Responsible IDtext
Responsibleobject
Nametext
Initialstext
First Nametext
Last Nametext
Originator IDsarray
Originator IDtext
Originatorsarray
Nametext
Initialstext
First Nametext
Last Nametext
Practice Area IDtext
Practice Areaobject
Labeltext
LEDES Configurationobject
Enabledboolean
Activity Code Requiredboolean
Task Code Requiredboolean
Expense Code Requiredboolean
Code Set IDsarray
Metaobject
Created Atdate
Modified Atdate
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

Watch Time Entries

Trigger
Output fields[3]
FieldType
Time Entry IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Timetext
Descriptiontext
Hoursnumber
Ratenumber
Amountnumber
Billing Typetext
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Fixed Fee IDtext
Fixed Feeobject
IDtext
Labeltext
Amountnumber
Activity Codetext

2other output fields

Get Client

Action
Input fields[3]
FieldType
Client IDRequired
choice
Output fields[3]
FieldType
Client IDtext
Nametext
Referencetext
Contactobject
Company Nametext
First Nametext
Last Nametext
Middle Nametext
Suffixtext
Emailemail
Email CCemail
Phonetext
Cell Phonetext
Other Phonetext
Notestext
Metaobject
Created Atdate
Modified Atdate
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

Get Client Balances

Action
Input fields[3]
FieldType
Client IDRequired
choice
Output fields[3]
FieldType
Balancenumber
Overduenumber
Overdue 30number
Overdue 60number
Overdue 90number

Get Codes

Action
Output fields[3]
FieldType
Activityarray
Codetext
Labeltext
Code Set IDtext
Parent Codetext
Selectableboolean
Taskarray
Codetext
Labeltext
Code Set IDtext
Parent Codetext
Selectableboolean
Expensearray
Codetext
Labeltext
Code Set IDtext
Parent Codetext
Selectableboolean
Code Setsarray
Code Set IDtext
Labeltext
Descriptiontext

Get Expense

Action
Input fields[3]
FieldType
Expense IDRequired
choice
Output fields[3]
FieldType
Expense IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Descriptiontext
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Amountnumber
Expense Codetext
Check Numbertext
Metaobject
Created Atdate
Modified Atdate

Get Fixed Fee

Action
Input fields[3]
FieldType
Fixed Fee IDRequired
choice
Output fields[3]
FieldType
Fixed Fee IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Descriptiontext
Amountnumber
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Activity Codetext
Task Codetext
Metaobject
Created Atdate
Modified Atdate

Get Matter

Action
Input fields[3]
FieldType
Matter IDRequired
choice
Output fields[3]
FieldType
Matter IDtext
Nametext
Referencetext
Client IDtext
Matter Typetext
Clientobject
Nametext
Referencetext
Responsible IDtext
Responsibleobject
Nametext
Initialstext
First Nametext
Last Nametext
Originator IDsarray
Originator IDtext
Originatorsarray
Nametext
Initialstext
First Nametext
Last Nametext
Practice Area IDtext
Practice Areaobject
Labeltext
Openeddate
Archivedboolean
Conflict Informationobject
Adversetext
Related Adversetext
Related Clienttext
Opposingtext
Billing Instructionstext
Notestext
Referral Sourcestext
LEDES Configurationobject
Enabledboolean
Activity Code Requiredboolean
Task Code Requiredboolean
Expense Code Requiredboolean
Code Set IDsarray
Metaobject
Created Atdate
Modified Atdate

1other output field

Get Time Entry

Action
Input fields[3]
FieldType
Time Entry IDRequired
choice
Output fields[3]
FieldType
Time Entry IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Timetext
Descriptiontext
Hoursnumber
Ratenumber
Amountnumber
Billing Typetext
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Fixed Fee IDtext
Fixed Feeobject
IDtext
Labeltext
Amountnumber
Activity Codetext

2other output fields

List Clients

Search
Input fields[3]
FieldType
Querytext
Referencetext
Selecttext
Sorttext
Modified Sincetext
Limitnumber
Output fields[3]
FieldType
Client IDtext
Nametext
Referencetext
Contactobject
Company Nametext
First Nametext
Last Nametext
Middle Nametext
Suffixtext
Emailemail
Email CCemail
Phonetext
Cell Phonetext
Other Phonetext
Metaobject
Created Atdate
Modified Atdate
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

List Custom Fields

Search
Input fields[3]
FieldType
Entitychoice
Limitnumber
Output fields[3]
FieldType
IDtext
Entitytext
Nametext
Value Typetext
Optionsarray
Option IDtext
Labeltext

List Expenses

Search
Input fields[3]
FieldType
Start Datetext
End Datetext
User IDchoice
Matter IDchoice
Client IDchoice
Billedboolean
Invoice IDchoice
Selecttext
Sorttext
Modified Sincetext
Limitnumber
Output fields[3]
FieldType
Expense IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Descriptiontext
Amountnumber
Billedboolean
Check Numbertext
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Metaobject
Created Atdate
Modified Atdate

List Fixed Fees

Search
Input fields[3]
FieldType
Start Datetext
End Datetext
User IDchoice
Matter IDchoice
Client IDchoice
Billedboolean
Invoice IDchoice
Selecttext
Sorttext
Modified Sincetext
Limitnumber
Output fields[3]
FieldType
Fixed Fee IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Descriptiontext
Amountnumber
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Metaobject
Created Atdate
Modified Atdate

List Invoices

Search
Input fields[3]
FieldType
Start Datetext
End Datetext
Invoice Statechoice
Client IDchoice
Matter IDchoice
Selecttext
Sorttext
Modified Sincetext
Limitnumber
Output fields[3]
FieldType
Invoice IDtext
Client IDtext
Clientobject
Nametext
Referencetext
Matter IDtext
Matterobject
Nametext
Referencetext
Invoice Datedate
Due Datedate
Amountnumber
Balancenumber
Invoice Numbertext
Invoice Statetext
Metaobject
Created Atdate
Modified Atdate

List Matters

Search
Input fields[3]
FieldType
Querytext
Referencetext
Client Referencetext
User IDchoice
Responsible IDchoice
Originator IDchoice
Client IDchoice
Practice Area IDchoice
Archivedboolean
Selecttext
Sorttext
Modified Sincetext
Limitnumber
Output fields[3]
FieldType
Matter IDtext
Nametext
Referencetext
Matter Typetext
Openeddate
Archivedboolean
Client IDtext
Clientobject
Nametext
Referencetext
Responsible IDtext
Responsibleobject
Nametext
Initialstext
First Nametext
Last Nametext
Originator IDsarray
Originator IDtext
Originatorsarray
Nametext
Initialstext
First Nametext
Last Nametext
Practice Area IDtext
Practice Areaobject
Labeltext
LEDES Configurationobject
Enabledboolean
Activity Code Requiredboolean
Task Code Requiredboolean
Expense Code Requiredboolean
Code Set IDsarray
Metaobject
Created Atdate
Modified Atdate
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

List Practice Areas

Search
Input fields[3]
FieldType
Limitnumber
Output fields[3]
FieldType
Practice Area IDtext
Labeltext
Defaultboolean

List Time Entries

Search
Input fields[3]
FieldType
Start Datetext
End Datetext
User IDchoice
Matter IDchoice
Client IDchoice
Sorttext
Billing Typechoice
Fixed Fee IDchoice
Selecttext
Billedboolean
Invoice IDchoice
Modified Sincetext
Limitnumber
Output fields[3]
FieldType
Time Entry IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Timetext
Descriptiontext
Hoursnumber
Ratenumber
Amountnumber
Billing Typetext
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Fixed Fee IDtext
Fixed Feeobject
IDtext
Labeltext
Amountnumber
Activity Codetext

2other output fields

List Users

Search
Input fields[3]
FieldType
Emailtext
Rolechoice
Querytext
Query Full Matchboolean
Selecttext
Limitnumber
Output fields[3]
FieldType
User IDtext
Nametext
First Nametext
Last Nametext
Initialstext
Roletext
Emailemail
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

Create Client

Action
Input fields[3]
FieldType
NameRequired
text
Referencetext
Contactobject
Company Nametext
First Nametext
Last Nametext
Middle Nametext
Suffixtext
Emailemail
Email CCemail
Phonetext
Cell Phonetext
Other Phonetext
Notestext
Custom Fieldsarray
Custom FieldRequired
choice
Valuetext
Option IDtext
Output fields[3]
FieldType
Client IDtext
Nametext
Referencetext
Contactobject
Company Nametext
First Nametext
Last Nametext
Middle Nametext
Suffixtext
Emailemail
Email CCemail
Phonetext
Cell Phonetext
Other Phonetext
Notestext
Metaobject
Created Atdate
Modified Atdate
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

Create Expense

Action
Input fields[3]
FieldType
User IDchoice
Matter IDRequired
choice
DateRequired
date
DescriptionRequired
text
AmountRequired
number
Expense Codechoice

Create Fixed Fee

Action
Input fields[3]
FieldType
User IDchoice
Matter IDRequired
choice
DateRequired
date
DescriptionRequired
text
AmountRequired
number
Activity Codechoice
Task Codechoice

Create Matter

Action
Input fields[3]
FieldType
NameRequired
text
Referencetext
Matter Typechoice
Client IDRequired
choice
Responsible IDRequired
choice
Originator IDchoice
Openedtext
Archivedboolean
Conflict Informationobject
Adversetext
Related Adversetext
Related Clienttext
Opposingtext
Billing Instructionstext
Notestext
Referral Sourcestext
Practice Area IDchoice
Rate Group IDtext
Custom Fieldsarray
Custom FieldRequired
choice
Valuetext
Option IDtext
Output fields[3]
FieldType
Matter IDtext
Nametext
Referencetext
Client IDtext
Matter Typetext
Clientobject
Nametext
Referencetext
Responsible IDtext
Responsibleobject
Nametext
Initialstext
First Nametext
Last Nametext
Originator IDsarray
Originator IDtext
Originatorsarray
Nametext
Initialstext
First Nametext
Last Nametext
Practice Area IDtext
Practice Areaobject
Labeltext
Openeddate
Archivedboolean
Conflict Informationobject
Adversetext
Related Adversetext
Related Clienttext
Opposingtext
Billing Instructionstext
Notestext
Referral Sourcestext
LEDES Configurationobject
Enabledboolean
Activity Code Requiredboolean
Task Code Requiredboolean
Expense Code Requiredboolean
Code Set IDsarray
Metaobject
Created Atdate
Modified Atdate

1other output field

Create Practice Area

Action
Input fields[3]
FieldType
LabelRequired
text
Defaultboolean
Output fields[3]
FieldType
Practice Area IDtext
Labeltext
Defaultboolean

Create Time Entry

Action
Input fields[3]
FieldType
User IDchoice
Matter IDRequired
choice
DateRequired
date
Timetext
DescriptionRequired
text
HoursRequired
number
Ratenumber
Billing Typechoice
Fixed Fee IDchoice
Activity Codechoice
Task Codechoice
Output fields[3]
FieldType
Time Entry IDtext
User IDtext
Userobject
Nametext
Initialstext
First Nametext
Last Nametext
Matter IDtext
Matterobject
Nametext
Referencetext
Client IDtext
Clientobject
Nametext
Referencetext
Datedate
Timetext
Descriptiontext
Hoursnumber
Ratenumber
Amountnumber
Billing Typetext
Billedboolean
Invoice IDtext
Invoiceobject
Invoice IDtext
Invoice Numbertext
Invoice Datedate
Invoice Statetext
Invoice Amountnumber
Invoice Balancenumber
Fixed Fee IDtext
Fixed Feeobject
IDtext
Labeltext
Amountnumber
Activity Codetext

2other output fields

Delete Client

Action
Input fields[3]
FieldType
Client IDRequired
choice

Delete Expense

Action
Input fields[3]
FieldType
Expense IDRequired
choice

Delete Fixed Fee

Action
Input fields[3]
FieldType
Fixed Fee IDRequired
choice

Delete Matter

Action
Input fields[3]
FieldType
Matter IDRequired
choice

Delete Practice Area

Action
Input fields[3]
FieldType
Practice Area IDRequired
choice

Delete Time Entry

Action
Input fields[3]
FieldType
Time Entry IDRequired
choice

Health Check

Action
Output fields[3]
FieldType
Statustext
Versionobject
Buildtext
Updatedtext
Branchtext
Messagetext

Make an API Call

universal
Input fields[3]
FieldType
URLRequired
text
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status codenumber

Update Client

Action
Input fields[3]
FieldType
Client IDRequired
choice
Nametext
Referencetext
Contactobject
Company Nametext
First Nametext
Last Nametext
Middle Nametext
Suffixtext
Emailemail
Email CCemail
Phonetext
Cell Phonetext
Other Phonetext
Notestext
Custom Fieldsarray
Custom FieldRequired
choice
Valuetext
Option IDtext
Output fields[3]
FieldType
Client IDtext
Nametext
Referencetext
Contactobject
Company Nametext
First Nametext
Last Nametext
Middle Nametext
Suffixtext
Emailemail
Email CCemail
Phonetext
Cell Phonetext
Other Phonetext
Notestext
Metaobject
Created Atdate
Modified Atdate
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

Update Expense

Action
Input fields[3]
FieldType
Expense IDRequired
choice
Matter IDchoice
User IDchoice
Datetext
Descriptiontext
Amountnumber
Expense Codechoice

Update Fixed Fee

Action
Input fields[3]
FieldType
Fixed Fee IDRequired
choice
Datetext
Matter IDchoice
User IDchoice
Descriptiontext
Amountnumber
Activity Codechoice
Task Codechoice

Update Matter

Action
Input fields[3]
FieldType
Matter IDRequired
choice
Nametext
Referencetext
Client IDchoice
Responsible IDchoice
Openedtext
Archivedboolean
Conflict Informationobject
Adversetext
Related Adversetext
Related Clienttext
Opposingtext
Billing Instructionstext
Notestext
Referral Sourcestext
Practice Area IDchoice
Custom Fieldsarray
Custom FieldRequired
choice
Valuetext
Option IDtext
Output fields[3]
FieldType
Matter IDtext
Nametext
Referencetext
Client IDtext
Matter Typetext
Clientobject
Nametext
Referencetext
Responsible IDtext
Responsibleobject
Nametext
Initialstext
First Nametext
Last Nametext
Originator IDsarray
Originator IDtext
Originatorsarray
Nametext
Initialstext
First Nametext
Last Nametext
Practice Area IDtext
Practice Areaobject
Labeltext
Openeddate
Archivedboolean
Conflict Informationobject
Adversetext
Related Adversetext
Related Clienttext
Opposingtext
Billing Instructionstext
Notestext
Referral Sourcestext
LEDES Configurationobject
Enabledboolean
Activity Code Requiredboolean
Task Code Requiredboolean
Expense Code Requiredboolean
Code Set IDsarray
Metaobject
Created Atdate
Modified Atdate

1other output field

Update Practice Area

Action
Input fields[3]
FieldType
Practice Area IDRequired
choice
Labeltext
Defaultboolean
Output fields[3]
FieldType
Practice Area IDtext
Labeltext
Defaultboolean

Update Time Entry

Action
Input fields[3]
FieldType
Time Entry IDRequired
choice
User IDchoice
Matter IDchoice
Datetext
Timetext
Descriptiontext
Hoursnumber
Ratenumber
Billing Typechoice
Fixed Fee IDchoice
Activity Codechoice
Task Codechoice

Update User

Action
Input fields[3]
FieldType
User IDRequired
choice
Custom Fieldsarray
Custom FieldRequired
choice
Valuetext
Option IDtext
Output fields[3]
FieldType
User IDtext
Nametext
First Nametext
Last Nametext
Initialstext
Roletext
Emailemail
Custom Fieldsarray
IDtext
Nametext
Value Typetext
Valuetext
Option IDtext

Look for LeanLaw templates in the WEXTL template library.

Browse templates →
  1. WEXTL® LeanLaw Source Code connector implementation.
  2. Our users use cases and automations.
  3. Official API Documentation for LeanLaw.
  4. WEXTL® visual workflow builder data.

Last updated: Oct 31, 2026 22:52

How we write our apps documentation

How we compile these docs — sources, AI's role, and how we verify.