Integration · Legal
AI agents for Leegality
Send documents for legally valid eSigning in India with Leegality (Aadhaar eSign, DSC, virtual signatures, e-stamping), using a workflow set up in the Leegality dashboard.
- Actions
- 7
- Read
- 4
- Write
- 3
Actions
What your agents can do in Leegality
Send documents for legally valid eSigning in India with Leegality (Aadhaar eSign, DSC, virtual signatures, e-stamping), using a workflow set up in the Leegality dashboard: start a signing request with a PDF or template values and the signers, get each signer's signing link, track who has signed, download the signed PDF and its audit trail as files, list documents, extend an expired request and delete documents. Also reads the eSign credit balance.
Read 4
Look things up. Nothing changes.
Get a document's signing status
Reads where a document stands: for each invitee whether they signed, rejected or expired, whose turn it is (active), their signUrl, expiryDate and signType (AADHAAR, VIRTUAL, DSC).
Download the signed PDF
Downloads a completed document's signed PDF, or its audit trail, as a file reference in file.
List documents
Searches the account's documents by name, document ID or your reference (IRN), optionally by status, newest first.
Get the eSign credit balance
Reads the account's eSign credits: unused (available), reserved for documents in progress, consumed, expired and total.
Write 3
Create, change or send.
Send a document for eSigning
Starts an eSigning request from a published Leegality workflow (its workflow ID, from the dashboard's API payload download).
Extend an expired request
Reopens a document whose invitations expired, with a new expiry expiry_days from today (0 ends today at 11:59 PM, up to 365), so the remaining signers can sign with the same links.
Delete a documentDeletes data
Deletes a document and all its data from Leegality for good, cancelling any signing still open.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Paste an API key from your Leegality account.
What you enter
- Auth Token
Settings
- Environment
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Leegality data
Ask a question in plain words. The agent can get a document's signing status, download the signed PDF or list documents in Leegality, then answers with what it found.
- 02
Let an agent update Leegality
Have the agent send a document for eSigning or delete a document in Leegality as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent Leegality and Slack: it can get a document's signing status in Leegality and post a summary to a Slack channel in the same run.
FAQ
Leegality and MyDeepAgents
Can MyDeepAgents connect to Leegality?
Yes. The Leegality connector has 7 actions: 4 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Leegality?
Paste an API key from your Leegality account. You'll need: Auth Token. The connection also asks for: Environment. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Leegality without asking?
Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs, and the one that deletes data asks first by default.
Can I use Leegality in workflows as well as agents?
Yes. Every Leegality action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Leegality to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.