Connect Code by Zapier and Legl to power AI-driven automation
- No-code AI automation
- Full audit trails and controls
- SOC 2 and GDPR compliant
- Easy visual workflow builder
- 9,000+ apps, 450+ AI tools
- Free tier available
How Zapier works
Zapier makes it easy to integrate Code by Zapier with Legl - no code necessary. See how you can get setup in minutes.
Choose a trigger
A trigger is the event that starts your Zap—like a "Run Python" from Code by Zapier.
Add your action
An action happens after the trigger—such as "Get Engage Requests" in Legl.
You’re connected!
Zapier seamlessly connects Code by Zapier and Legl, automating your workflow.
Supported triggers and actions
Zapier helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event a Zap performs.
- Zap_id
- Zap_step_id
- CodeRequired
Try ItTriggerPolling- Zap_id
- Zap_step_id
- Input Data
- CodeRequired
ActionWrite- Engage Request Status
Try ItTriggerPolling- Client Reference
- Matter Reference
- Hidden Reference
- Status
- Limit
- Offset
- Engage Request Reference
- Client Reference Null
- Matter Reference Null
- Completed Date Greater Than
- Completed Date Greater Than Equal To
- Completed Date Less Than Equal To
- Completed Date Less than
- Created Date Greater Than Equal To
- Created Date Greater Than
- Created Date Less Than
- Created Date Less Than Equal To
- Reviewed Date Less Than Equal To
- Reviewed Date Less Than
- Reviewed Date Greater Than
- Reviewed Date Greater Than Equal To
- First NameRequired
- Last NameRequired
- Assigned Reviewer EmailRequired
- Email AddressRequired
- Middle Name
- WorkflowRequired
- Send Email?
- Reminder Period
- Redirect URL
- Prefill First Name
- Prefill Last Name
- Prefill Email
- Prefill Address line 1
- Prefill Address Line 2
- Prefill City
- Prefill Postcode
- Prefill Country
- Prefill Middle Name
- Prefill Phone Number
- Prefill DOB
- Prefill State
ActionSearch or write
- Zap_id
- Zap_step_id
- CodeRequired
Try ItTriggerPolling- Zap_id
- Zap_step_id
- Input Data
- CodeRequired
ActionWrite- Client Reference
- Matter Reference
- Hidden Reference
- Status
- Limit
- Offset
- Engage Request Reference
- Client Reference Null
- Matter Reference Null
- Completed Date Greater Than
- Completed Date Greater Than Equal To
- Completed Date Less Than Equal To
- Completed Date Less than
- Created Date Greater Than Equal To
- Created Date Greater Than
- Created Date Less Than
- Created Date Less Than Equal To
- Reviewed Date Less Than Equal To
- Reviewed Date Less Than
- Reviewed Date Greater Than
- Reviewed Date Greater Than Equal To
ActionSearch
For AI agents & developers
Use Code by Zapier and Legl with AI agents and code
Beyond Zap workflows. Call Code by Zapier and Legl actions directly from your AI client or your codebase, using the same 9,000+ app integrations Zapier already runs.
Connect via Zapier MCP
Expose Code by Zapier and Legl actions as tools in any MCP client. Authenticate once, then call them in natural language.
Example actions on this page
Works with
Claude · ChatGPT · Cursor · any MCP-compatible client
Call from code with the Zapier SDK
Trigger Code by Zapier and Legl actions from backend services, scripts, or agent code.
Install
# TypeScript / Node npm install @zapier/zapier-sdk
Run an action
import { createZapierSdk } from '@zapier/zapier-sdk';
const zapier = createZapierSdk();
await zapier.runAction({ /* code / legl action */ });There is no Python package yet. SDK is TypeScript-only (@zapier/zapier-sdk). The MCP server URL is personal to your account; get it at zapier.com/mcp.
Zapier is the automation platform of choice for 87% of Forbes Cloud 100 companies in 2023




93%
Customers who say using Zapier has made them better at their job
25m
Customers have created over 25 million Zaps on the platform
6 mins
The average user takes less than 6 minutes to set up a Zap

