← Back to Lawmatics Integration
Lawmatics Integration FAQ
Everything you need to know about connecting CaseHug with Lawmatics.
Data & Sync
What data syncs from CaseHug to Lawmatics?▼
CaseHug syncs three types of data to Lawmatics: (1) Contacts — client first name, last name, email, and phone. (2) Matters — case title, practice area, pipeline stage mapping, and contact association. (3) Activities — intake completion is logged as a note activity on the contact record.
Is the sync real-time?▼
When auto-sync is enabled, data pushes to Lawmatics within seconds of a document being approved or a matter being created in CaseHug. You can also trigger manual syncs at any time.
Does data sync back from Lawmatics to CaseHug?▼
Yes. When you configure Lawmatics webhooks, matter stage changes (e.g., New Lead → Retained) are reflected in CaseHug automatically. Contact creation events are also logged. Full bi-directional sync is on our roadmap.
What happens if a sync fails?▼
Failed syncs are logged in your Integration Settings with the error message. Common causes include expired tokens (CaseHug auto-refreshes, but if issues persist reconnect), rate limits (wait and retry), or network issues. Manual retry is always available.
How does CaseHug avoid creating duplicate contacts?▼
Before creating a new contact, CaseHug searches your existing Lawmatics contacts by email address. If a match is found, the existing contact is linked to the new matter. If no email is provided, CaseHug creates a new contact.
What about existing matters already in Lawmatics?▼
CaseHug doesn't import existing Lawmatics matters. The integration creates new matters from CaseHug intakes. Use the 'Pull Matters' feature to see how many Lawmatics matters exist and which are linked.
Can I sync a matter created before I connected Lawmatics?▼
Yes. Open the matter in CaseHug and click 'Sync to Lawmatics.' The contact, matter, and activity will be pushed to Lawmatics regardless of when the matter was created.
Does CaseHug sync documents to Lawmatics?▼
Lawmatics doesn't have a document upload API like traditional practice management systems. Instead, CaseHug logs intake completion as an activity and includes relevant details. Firms can access documents through the CaseHug portal link included in the activity note.
Pipeline & Campaigns
Can I trigger Lawmatics campaigns when intake completes?▼
Yes. When CaseHug syncs a contact and matter to Lawmatics, the contact is placed in the mapped pipeline stage. You can configure Lawmatics automation rules to trigger campaigns based on contact creation or stage changes — welcome emails, consultation scheduling, drip sequences, etc.
How do pipeline stage mappings work?▼
CaseHug maps each case type (e.g., 'Divorce — Standard') to a Lawmatics pipeline stage (e.g., 'Family Law Intake'). Default mappings are provided for all case types. You can customize them in Settings → Integrations → Case Type Mappings.
Can I use Lawmatics forms with CaseHug?▼
CaseHug can submit data to Lawmatics forms via the Forms API. However, forms with payment gateways or relationship blocks cannot use the API (Lawmatics limitation). For most intake-to-CRM workflows, the contact/matter sync is sufficient.
What happens when a matter stage changes in Lawmatics?▼
If webhooks are configured, CaseHug receives the matter.stage_changed event and updates the local matter status accordingly. For example, a matter moved to 'Retained' in Lawmatics is updated to 'active' in CaseHug. Mapping is configurable.
Can I use Lawmatics lead scoring with CaseHug data?▼
Yes. When CaseHug creates a contact in Lawmatics with complete intake data (name, email, phone, practice area), Lawmatics' lead scoring rules can evaluate that contact automatically. More data = better scores.
Configuration
How do I enable developer settings in Lawmatics?▼
Contact support@lawmatics.com and request that developer settings be enabled on your account. Mention you want to connect CaseHug via OAuth. For API-specific questions, email api@lawmatics.com. This is a one-time setup step.
Does this work with all Lawmatics plans?▼
The integration works with Lawmatics plans that include API access. Developer settings must be enabled. Contact Lawmatics support if you're unsure whether your plan includes API access.
Can multiple users in my firm use the Lawmatics integration?▼
The connection is per-firm, not per-user. Once a firm admin connects Lawmatics, all syncs for that firm use the same connection. Any firm admin can manage the connection and view sync logs.
How do I disconnect Lawmatics?▼
Go to Settings → Integrations and click 'Disconnect' on the Lawmatics card. This revokes CaseHug's access and deletes stored tokens. Your existing data in both systems is unaffected.
What happens if I reconnect after disconnecting?▼
Previously synced matters retain their Lawmatics links (lawmatics_matter_id). If you reconnect the same account, CaseHug won't create duplicates for already-synced cases.
Can I configure custom field mappings?▼
CaseHug supports custom field mappings through the integration settings. Map CaseHug intake fields to Lawmatics custom fields for contacts and matters. This is configured in Settings → Integrations → Field Mappings.
Security & Compliance
Is the Lawmatics integration HIPAA compliant?▼
CaseHug is designed for HIPAA compliance. OAuth tokens are stored encrypted in our database with Row Level Security. All data transmission uses TLS 1.2+ encryption. We recommend firms execute BAAs with both CaseHug and Lawmatics.
How are my Lawmatics credentials stored?▼
CaseHug never sees or stores your Lawmatics username/password. We use OAuth 2.0 authorization code grant flow — Lawmatics gives CaseHug a limited access token. Tokens are stored server-side only, encrypted at rest, never exposed to the browser.
Is there an audit log of sync activity?▼
Yes. Every sync operation is logged with timestamp, action type, status (success/failed), and the Lawmatics resource ID. Webhook events are also logged with full payloads. Firm admins can view the complete history in Settings → Integrations.
What about attorney-client privilege?▼
CaseHug only syncs data that the client has submitted through the firm's intake portal. The integration does not access or transmit attorney work product, internal notes, or privileged communications. Synced data is limited to client-provided intake information.
Technical
What Lawmatics API version does CaseHug use?▼
CaseHug integrates with Lawmatics Open API v1.21.0. We use the Contacts, Matters, Forms, Activities, and Matter Sub Status endpoints. Webhook support covers contact.created, matter.stage_changed, form.submitted, and envelope.completed events.
What are the rate limits?▼
Lawmatics enforces API rate limits. CaseHug respects these and implements exponential backoff. Syncing a single matter (contact + matter + activity) typically completes in under 10 seconds. Bulk operations are serialized to avoid rate limiting.
How does webhook verification work?▼
Lawmatics sends a signature header with webhook payloads. CaseHug verifies this against a stored webhook secret using HMAC-SHA256. Events that fail verification are still logged but not processed.
Is Zapier supported as an alternative?▼
Yes. Lawmatics has a Zapier integration. If you prefer Zapier over native CaseHug sync, you can use CaseHug webhook events (matter.created, document.approved) as Zapier triggers and connect them to Lawmatics actions. The native integration is faster and more reliable.
Downloads
Still have questions?
We're happy to walk you through the setup or answer any questions.
