create_envelope_from_documents
Create a DocuSign envelope from documents and signers, set email subject, and send or save as draft. Supports base64, file paths, or URLs for document content.
Instructions
Create an envelope from documents (not using a template).
Args:
documents: List of documents, each with name, documentId,
fileExtension, and EXACTLY ONE content source:
- documentBase64: inline base64 content, OR
- documentPath: a file path readable by the server, OR
- documentUrl: an HTTP(S) URL to download
recipients: Dictionary of recipient types to lists:
- signers: List of signers with name, email, recipientId, routingOrder
email_subject: Subject line for the email.
email_blurb: Optional body text for the email.
status: Envelope status - "sent" to send immediately or "created" for draft.
Returns: Dictionary with envelopeId and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | sent | |
| documents | Yes | ||
| recipients | Yes | ||
| email_blurb | No | ||
| email_subject | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||