English
Docusign
Sends an email’s attachments or a template for signature, tracks the envelope, fetches the signed PDF into the run, voids an envelope.
The Docusign node sends an email’s attachments (or a template) for signature, tracks the envelope and fetches the signed PDF into the run, through a Docusign connection. Signers are written one per line, Name <address>, and sign in that order.
At a glance
- Type:
docusign.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: Docusign
- Inputs:
main - Outputs:
main
Connection
This node needs a Docusign connection.
Parameters
connection
Docusign connection — The Docusign connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
send - Options:
send— Send the attachments for signaturesendTemplate— Send from a templateget— Get an enveloperecipients— Get the recipientsdownload— Fetch the signed PDFvoid— Void an envelope
selection
Attachments to use
- Type: One choice (
options) - Required: Yes
- Default:
all - Options:
all— All attachments: Those of the triggering email, then the files added by earlier steps (a fetched deed, a signed PDF), in that order.first— The first one only: The first attachment, when only one matters.byMime— By file type: By MIME type:application/pdf, or a whole family withimage/*.byName— By file name: By name pattern:*.pdf,invoice-*.
- Shown when:
actionissend
mime
File type — Exact MIME type (application/pdf) or a whole family (image/*). Left empty, no attachment is kept.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Example:
application/pdf - Shown when:
actionissendandselectionisbyMime - Expressions:
{{ }}accepted
namePattern
File name — Simple pattern: * matches anything, ? one character (*.pdf, invoice-*). Case is ignored.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Example:
*.pdf - Shown when:
actionissendandselectionisbyName - Expressions:
{{ }}accepted
template
Template
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
docusign.template) - Listed with the connection in:
connection - Shown when:
actionissendTemplate
roleName
Signer’s role in the template — The role name as written in the template (“Client”, “Signer 1”).
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 100 characters at most
- Shown when:
actionissendTemplate - Expressions:
{{ }}accepted
signers
Signers — One per line, as Name <address>; they sign in this order. For a template: a single one, the role above.
- Type: Long text (
text) - Required: Yes
- Default:
""(empty) - 10000 characters at most
- Example:
{{ email.from.name }} <{{ email.from.email }}> - Shown when:
actionis one ofsend,sendTemplate - Expressions:
{{ }}accepted
anchor
Signature anchor — A text present in the document (/sig/) where to place the signature. Empty: each signer places their signature themselves.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 100 characters at most
- Shown when:
actionissend - Expressions:
{{ }}accepted
subject
Docusign email subject
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 100 characters at most
- Example:
Please sign: {{ email.subject }} - Shown when:
actionis one ofsend,sendTemplate - Expressions:
{{ }}accepted
message
Message
- Type: Long text (
text) - Required: No
- Default:
""(empty) - 10000 characters at most
- Shown when:
actionis one ofsend,sendTemplate - Expressions:
{{ }}accepted
draft
Keep as a draft — Checked: the envelope is created without being sent, to review in Docusign.
- Type: Yes / no (
boolean) - Required: No
- Default:
false - Shown when:
actionis one ofsend,sendTemplate
envelopeId
Envelope
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 36 characters at most
- Example:
{{ data.docusign.envelopeId }} - Shown when:
actionis one ofget,recipients,download,void - Expressions:
{{ }}accepted
withCertificate
Include the certificate of completion
- Type: Yes / no (
boolean) - Required: No
- Default:
true - Shown when:
actionisdownload
reason
Reason for voiding
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 200 characters at most
- Shown when:
actionisvoid - Expressions:
{{ }}accepted
Outputs
main— Taken once the Docusign call has succeeded. An error answer from Docusign fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.envelopeId }}—string. The envelope ID, to keep for tracking it or fetching the signed PDF.{{ data.<step>.status }}—string. The envelope status (sent,created,completed…).{{ data.<step>.signers }}—array of object. Get the recipients: each signer’s name, address and status.{{ data.<step>.attachmentPosition }}—number. Fetch the signed PDF: the position of the file added to the run, to attach with “Compose an email”.{{ data.<step>.simulated }}—boolean. true when the write was described instead of done (test run).{{ data.<step>.summary }}—string. The one-line summary in the member’s language.