View as Markdown
eSignatures.io icon

eSignatures.io ACTION

Create Contract

Creates a contract and sends the links (via email or SMS) to the signers to collect their signatures. See docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's eSignatures.io account once, then configure and run Create Contract from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "esignatures_io-create-contract",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    esignatures_io: { authProvisionId: "apn_xxxxxxx" },
    templateId: "Template ID",
    title: "Title",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Contract inputs
Property Type Description
templateId Template ID string
The ID of the template
Required Dynamic
title Title string
The title of the contract
Required
signers Signers string[]
A list of the signers. E.g { "name": "Lucas Caresia", "email": "user@email.com", "company_name": "Pipedream" }
Required
customWebhookUrl Custom Webhook URL string
The Custom webhook URL to be used for the webhook notifications instead of the default one specified on your API page
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
esignatures_io-create-contract
Version
0.0.3
App
eSignatures.io
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes