Mandala
Tools

DocuSign

Send documents for e-signature via DocuSign

Usage Instructions

Create and send envelopes for e-signature, use templates, check signing status, download signed documents, and manage recipients with DocuSign.

Tools

docusign_send_envelope

Create and send a DocuSign envelope with a document for e-signature

Input

ParameterTypeRequiredDescription
emailSubjectstringYesEmail subject for the envelope
emailBodystringNoEmail body message
signerEmailstringYesEmail address of the signer
signerNamestringYesFull name of the signer
ccEmailstringNoEmail address of carbon copy recipient
ccNamestringNoFull name of carbon copy recipient
filefileNoDocument file to send for signature
statusstringNoEnvelope status: "sent" to send immediately, "created" for draft (default: "sent")

Output

ParameterTypeDescription
envelopeIdstringCreated envelope ID
statusstringEnvelope status
statusDateTimestringStatus change datetime
uristringEnvelope URI

docusign_create_from_template

Create and send a DocuSign envelope using a pre-built template

Input

ParameterTypeRequiredDescription
templateIdstringYesDocuSign template ID to use
emailSubjectstringNoOverride email subject (uses template default if not set)
emailBodystringNoOverride email body message
templateRolesstringYesJSON array of template roles, e.g. [{"roleName":"Signer","name":"John","email":"john@example.com"}]
statusstringNoEnvelope status: "sent" to send immediately, "created" for draft (default: "sent")

Output

ParameterTypeDescription
envelopeIdstringCreated envelope ID
statusstringEnvelope status
statusDateTimestringStatus change datetime
uristringEnvelope URI

docusign_get_envelope

Get the details and status of a DocuSign envelope

Input

ParameterTypeRequiredDescription
envelopeIdstringYesThe envelope ID to retrieve

Output

ParameterTypeDescription
envelopeIdstringEnvelope ID
statusstringEnvelope status (created, sent, delivered, completed, declined, voided)
emailSubjectstringEmail subject line
sentDateTimestringWhen the envelope was sent
completedDateTimestringWhen all recipients completed signing
createdDateTimestringWhen the envelope was created
statusChangedDateTimestringWhen the status last changed
voidedReasonstringReason the envelope was voided
signerCountnumberNumber of signers
documentCountnumberNumber of documents

docusign_list_envelopes

List envelopes from your DocuSign account with optional filters

Input

ParameterTypeRequiredDescription
fromDatestringNoStart date filter (ISO 8601). Defaults to 30 days ago
toDatestringNoEnd date filter (ISO 8601)
envelopeStatusstringNoFilter by status: created, sent, delivered, completed, declined, voided
searchTextstringNoSearch text to filter envelopes
countstringNoMaximum number of envelopes to return (default: 25)

Output

ParameterTypeDescription
envelopesarrayArray of DocuSign envelopes
totalSetSizenumberTotal number of matching envelopes
resultSetSizenumberNumber of envelopes returned in this response

docusign_void_envelope

Void (cancel) a sent DocuSign envelope that has not yet been completed

Input

ParameterTypeRequiredDescription
envelopeIdstringYesThe envelope ID to void
voidedReasonstringYesReason for voiding the envelope

Output

ParameterTypeDescription
envelopeIdstringVoided envelope ID
statusstringEnvelope status (voided)

docusign_download_document

Download a signed document from a completed DocuSign envelope

Input

ParameterTypeRequiredDescription
envelopeIdstringYesThe envelope ID containing the document
documentIdstringNoSpecific document ID to download, or "combined" for all documents merged (default: "combined")

Output

ParameterTypeDescription
filefileStored downloaded document file
base64ContentstringDeprecated legacy inline content. New downloads return file.
mimeTypestringMIME type of the document
fileNamestringOriginal file name

docusign_list_templates

List available templates in your DocuSign account

Input

ParameterTypeRequiredDescription
searchTextstringNoSearch text to filter templates by name
countstringNoMaximum number of templates to return

Output

ParameterTypeDescription
templatesarrayArray of DocuSign templates
totalSetSizenumberTotal number of matching templates
resultSetSizenumberNumber of templates returned in this response

docusign_list_recipients

Get the recipient status details for a DocuSign envelope

Input

ParameterTypeRequiredDescription
envelopeIdstringYesThe envelope ID to get recipients for

Output

ParameterTypeDescription
signersarrayArray of DocuSign recipients
carbonCopiesarrayArray of carbon copy recipients

Notes

  • Category: tools
  • Type: docusign
DocuSign