lexpact

n8n community node for the LexPact API: generate UK-law contracts (NDA, service agreement, freelance, recruiter Terms of Business, IR35) from a workflow.

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0
Author: LexPact

Available Nodes

Documentation generating…

Documentation

n8n-nodes-lexpact

n8n community node for the LexPact API: generate UK-law contracts from a workflow. Supports NDA, service agreement, freelance agreement, recruiter Terms of Business and IR35 agreement.

Install

In n8n: Settings → Community Nodes → Install → n8n-nodes-lexpact.

Credentials

Create an API key at https://lexpact.co.uk/dashboard/api-keys and add it under LexPact API (sent as X-API-Key). The free tier includes 10 generations in total; paid plans are on the developers page.

Operations

Operation What it does
Generate Contract Starts a job. With Wait for Completion on (default) the node polls every 5 seconds, up to 6 minutes, and returns the finished contract (content_markdown, or pdf_url when Output Format is PDF). Generation takes 1 to 3 minutes.
Get Contract Fetches a contract or job status by ID.
List Templates Lists contract types and the fields each one accepts.

Fields that only apply to some contract types (for example nda_type, duration_months) go in Additional Fields (JSON) and are merged into the request. Run List Templates to see them.

Retries are safe: the node sends an Idempotency-Key, so a re-run of the same execution does not create a second contract.

Notes

Generated contracts are legally structured drafts. Independent legal review is recommended for high-value or complex agreements.

Development

npm install --ignore-scripts
npm run build

Licence: MIT.

Discussion