# Code by Zapier + eSignatures.com Integrations: Connect with Zapier MCP
> zapier.com/apps/code/integrations/esignaturescom
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Code by Zapier and eSignatures.com in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · add_contract_signer`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "esignaturescom", owner: "me" });

const { data } = await zapier.runAction({
  app: "esignaturescom",
  actionType: "write",
  action: "add_contract_signer",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action esignaturescom write add_contract_signer \
  --inputs '{}'
```

## Code by Zapier

### Identity
Write custom Python or Javascript code in response to any data from any service! Transform, mutate, customize or even do custom HTTP in a native and familiar environment.

- App slug: code
- Operations published here: 4 (2 events, 2 functions)

### Capabilities

#### Events (2)

Events fire when something happens in Code by Zapier. Use them to start a run.

##### Run Python
Use Python to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Python.

- Type: read · Key: `01929fad-d3c3-301b-6108-52ea63edb8ea`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3c3-301b-6108-52ea63edb8ea" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3c3-301b-6108-52ea63edb8ea`

##### Run Javascript
Use Javascript to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Node.

- Type: read · Key: `01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3a5-77c0-55e2-ddf8d28eb2ad" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`

#### Functions (2)

Functions change something in Code by Zapier.

##### Run Javascript
Run Javascript code  This is an advanced action!  Uses the latest supported version of Node.

- Type: write · Key: `01929fad-d3dd-62c2-52ed-7868d5fcc691`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3dd-62c2-52ed-7868d5fcc691" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3dd-62c2-52ed-7868d5fcc691`

##### Run Python
Run Python code  This is an advanced action!  Uses the latest supported version of Python.

- Type: write · Key: `01929fad-d3f6-c57c-1b40-ef8691be1f86`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3f6-c57c-1b40-ef8691be1f86" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3f6-c57c-1b40-ef8691be1f86`

## eSignatures.com

### Identity
eSignatures.com is an AI-friendly e-signature platform for managing Markdown contracts, signers and templates from draft to signature, with pay-per-use pricing.

- App slug: esignaturescom
- Operations published here: 21 (4 events, 11 functions, 6 queries)

### Authentication
Zapier connects to eSignatures.com via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection esignaturescom
```

### Capabilities

#### Events (4)

Events fire when something happens in eSignatures.com. Use them to start a run.

##### Contract Sent to a Signer
Triggers when a contract is sent to a signer.

- Type: read · Key: `contract_sent_to_signer`
- Requires: nothing
- SDK: `runAction({ app: "esignaturescom", actionType: "read", action: "contract_sent_to_signer" })`
- CLI: `npx zapier-sdk run-action esignaturescom read contract_sent_to_signer`

##### Contract Signed
Triggers when a contract is signed by all signers.

- Type: read · Key: `contract_signed`
- Requires: nothing
- SDK: `runAction({ app: "esignaturescom", actionType: "read", action: "contract_signed" })`
- CLI: `npx zapier-sdk run-action esignaturescom read contract_signed`

##### Signature Received
Triggers when a contract is signed by a signer.

- Type: read · Key: `contract_signed_by_signer`
- Requires: nothing
- SDK: `runAction({ app: "esignaturescom", actionType: "read", action: "contract_signed_by_signer" })`
- CLI: `npx zapier-sdk run-action esignaturescom read contract_signed_by_signer`

##### Delivery Failed
Triggers when a delivery error occurs, such as an email that can't be delivered.

- Type: read · Key: `error`
- Requires: nothing
- SDK: `runAction({ app: "esignaturescom", actionType: "read", action: "error" })`
- CLI: `npx zapier-sdk run-action esignaturescom read error`

#### Functions (11)

Functions change something in eSignatures.com.

##### Add Contract Signer
Adds a new signer to an existing contract.

- Type: write · Key: `add_contract_signer`
- Requires: contract_id, name
- Optional: email, mobile, company_name, signature_request_delivery_methods, multi_factor_authentications, redirect_url
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "add_contract_signer" })`
- CLI: `npx zapier-sdk run-action esignaturescom write add_contract_signer`

##### Create Contract
Creates a legally binding contract from a template or Extended Markdown. Sends it to the signers by email or SMS, or saves it as a draft to review and edit before sending. The output always includes each signer's Sign Page URL for embedded signing or delivery through your own channels.

- Type: write · Key: `create_contract`
- Requires: zapier_signer_name_1
- Optional: test, template_id, zapier_signer_email_1, zapier_signer_mobile_1, zapier_signer_company_name_1, zapier_signer_signature_request_delivery_methods_1, multi_factor_authentications_1, zapier_signer_redirect_url_1, zapier_signer_signing_order_1, zapier_signer_auto_sign_1, zapier_signer_name_2, zapier_signer_email_2, zapier_signer_mobile_2, zapier_signer_company_name_2, zapier_signer_redirect_url_2, zapier_signer_signature_request_delivery_methods_2, multi_factor_authentications_2, zapier_signer_signing_order_2, zapier_signer_auto_sign_2, zapier_signer_name_3, zapier_signer_email_3, zapier_signer_mobile_3, zapier_signer_company_name_3, zapier_signer_redirect_url_3, zapier_signer_signature_request_delivery_methods_3, multi_factor_authentications_3, zapier_signer_signing_order_3, zapier_signer_auto_sign_3, zapier_signer_name_4, zapier_signer_email_4, zapier_signer_mobile_4, zapier_signer_company_name_4, zapier_signer_redirect_url_4, zapier_signer_signature_request_delivery_methods_4, multi_factor_authentications_4, zapier_signer_signing_order_4, zapier_signer_auto_sign_4, zapier_signer_name_5, zapier_signer_email_5, zapier_signer_mobile_5, zapier_signer_company_name_5, zapier_signer_redirect_url_5, zapier_signer_signature_request_delivery_methods_5, multi_factor_authentications_5, zapier_signer_signing_order_5, zapier_signer_auto_sign_5, placeholder_fields_map, placeholder_fields_markdown_map, assigned_user_email, title, markdown, save_as_draft, locale, metadata, custom_branding_company_name, signer_fields_map, custom_fields_map, emails__signature_request_subject, emails__signature_request_text, emails__final_contract_subject, emails__final_contract_text, api_fields_map
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "create_contract" })`
- CLI: `npx zapier-sdk run-action esignaturescom write create_contract`

##### Create Template
Creates a reusable contract template from Extended Markdown. Contracts can then be created from it with Create Contract.

- Type: write · Key: `create_template`
- Requires: title, markdown
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "create_template" })`
- CLI: `npx zapier-sdk run-action esignaturescom write create_template`

##### Remove Contract Signer
Removes a signer from a contract.

- Type: write · Key: `delete_contract_signer`
- Requires: contract_id, signer_id
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "delete_contract_signer" })`
- CLI: `npx zapier-sdk run-action esignaturescom write delete_contract_signer`

##### Resend Contract to Signer
Sends the signature request to a signer again, by email or SMS.

- Type: write · Key: `resend_contract_to_signer`
- Requires: contract_id, signer_id
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "resend_contract_to_signer" })`
- CLI: `npx zapier-sdk run-action esignaturescom write resend_contract_to_signer`

##### Send Existing Draft Contract
Sends a draft contract to its signers. To create and send in one step, use Create Contract.

- Type: write · Key: `send_draft_contract`
- Requires: contract_id
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "send_draft_contract" })`
- CLI: `npx zapier-sdk run-action esignaturescom write send_draft_contract`

##### Update Contract Content
Updates the content of a contract with Extended Markdown find-and-replace edits.

- Type: write · Key: `update_contract_content`
- Requires: contract_id
- Optional: find_markdown, replace_with_markdown, dry_run
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "update_contract_content" })`
- CLI: `npx zapier-sdk run-action esignaturescom write update_contract_content`

##### Update Contract Placeholder Fields
Updates the Placeholder Field values of a contract, such as amounts, addresses, and dates.

- Type: write · Key: `update_contract_placeholder_fields`
- Requires: contract_id
- Optional: placeholder_fields_map, placeholder_fields_markdown_map
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "update_contract_placeholder_fields" })`
- CLI: `npx zapier-sdk run-action esignaturescom write update_contract_placeholder_fields`

##### Update Contract Signer
Updates a signer's details on a contract, such as their name, email, mobile number, or MFA requirements.

- Type: write · Key: `update_signer`
- Requires: contract_id, signer_id
- Optional: name, email, mobile, company_name, signature_request_delivery_methods, multi_factor_authentications, redirect_url
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "update_signer" })`
- CLI: `npx zapier-sdk run-action esignaturescom write update_signer`

##### Update Template Content
Updates the content of a template with Extended Markdown find-and-replace edits.

- Type: write · Key: `update_template_content`
- Requires: template_id
- Optional: find_markdown, replace_with_markdown, dry_run
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "update_template_content" })`
- CLI: `npx zapier-sdk run-action esignaturescom write update_template_content`

##### Withdraw Contract
Withdraws a sent contract so it can no longer be signed.

- Type: write · Key: `withdraw_contract`
- Requires: contract_id
- SDK: `runAction({ app: "esignaturescom", actionType: "write", action: "withdraw_contract" })`
- CLI: `npx zapier-sdk run-action esignaturescom write withdraw_contract`

#### Queries (6)

Queries read from eSignatures.com and return data. They change nothing.

##### List Templates
Lists all templates with their IDs and titles. Use it to find the template ID for other actions.

- Type: search · Key: `list_templates`
- Requires: nothing
- Optional: template_filter
- SDK: `runAction({ app: "esignaturescom", actionType: "search", action: "list_templates" })`
- CLI: `npx zapier-sdk run-action esignaturescom search list_templates`

##### Get Contract
Returns a contract's details, including its status and signers.

- Type: search · Key: `query_contract`
- Requires: contract_id
- SDK: `runAction({ app: "esignaturescom", actionType: "search", action: "query_contract" })`
- CLI: `npx zapier-sdk run-action esignaturescom search query_contract`

##### Get Contract Content
Returns the full content of a contract in Extended Markdown.

- Type: search · Key: `query_contract_content`
- Requires: contract_id
- SDK: `runAction({ app: "esignaturescom", actionType: "search", action: "query_contract_content" })`
- CLI: `npx zapier-sdk run-action esignaturescom search query_contract_content`

##### Get Contract Placeholder Fields
Returns the Placeholder Fields of a contract with their current values.

- Type: search · Key: `query_contract_placeholder_fields`
- Requires: contract_id
- SDK: `runAction({ app: "esignaturescom", actionType: "search", action: "query_contract_placeholder_fields" })`
- CLI: `npx zapier-sdk run-action esignaturescom search query_contract_placeholder_fields`

##### Get Template
Returns a template's details.

- Type: search · Key: `query_template`
- Requires: template_id
- SDK: `runAction({ app: "esignaturescom", actionType: "search", action: "query_template" })`
- CLI: `npx zapier-sdk run-action esignaturescom search query_template`

##### Get Template Content
Returns the full content of a template in Extended Markdown.

- Type: search · Key: `query_template_content`
- Requires: template_id
- SDK: `runAction({ app: "esignaturescom", actionType: "search", action: "query_template_content" })`
- CLI: `npx zapier-sdk run-action esignaturescom search query_template_content`

## Links
- Code by Zapier integrations: zapier.com/apps/code/integrations.md
- eSignatures.com integrations: zapier.com/apps/esignaturescom/integrations.md
- Full page: zapier.com/apps/code/integrations/esignaturescom
- SDK: npmjs.com/package/@zapier/zapier-sdk