View as Markdown
BunnyDoc icon

BunnyDoc ACTION

Send Signature Request from Template

Sends a signature request using a pre-designed bunnydoc template. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's BunnyDoc account once, then configure and run Send Signature Request from Template 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: "bunnydoc-send-signature-request-from-template",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    bunnydoc: { 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.

Send Signature Request from Template inputs
Property Type Description
templateId Template ID string
The ID of the bunnydoc template to be used for the signature request.
Required
title Title string
The title of the signature resquest.
Optional
emailMessage Email Message string
The message of the signature resquest.
Optional
signingOrder Signing Order boolean
Set the signing order.
Required
recipients Recipients string
A stringified array of objects of recipients. E.g. [{"role" : "role1", "name" : "Signer1", "email" : "signer1@example.com", "accessCode" : ""}].
Required
fields Fields string
A stringified array of objects of fields. E.g. [{ "apiLabel": "textFieldPatientHistory", "value": "My test value", "readOnly" : 1 }]
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
bunnydoc-send-signature-request-from-template
Version
0.0.2
App
BunnyDoc
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes