Skip to content

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
The ports of “Docusign”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Docusign connection.Docusigndocusign.apimainmainerror · only with “Follow the Error output”Connection: Docusign
The ports of “Docusign”: what comes in on the left, what goes out on the right

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 signature
    • sendTemplate — Send from a template
    • get — Get an envelope
    • recipients — Get the recipients
    • download — Fetch the signed PDF
    • void — 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 with image/*.
    • byName — By file name: By name pattern: *.pdf, invoice-*.
  • Shown when: action is send

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: action is send and selection is byMime
  • 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: action is send and selection is byName
  • 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: action is sendTemplate

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: action is sendTemplate
  • 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: action is one of send, 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: action is send
  • Expressions: {{ }} accepted

subject ​

Docusign email subject

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 100 characters at most
  • Example: Please sign: {{ email.subject }}
  • Shown when: action is one of send, sendTemplate
  • Expressions: {{ }} accepted

message ​

Message

  • Type: Long text (text)
  • Required: No
  • Default: "" (empty)
  • 10000 characters at most
  • Shown when: action is one of send, 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: action is one of send, sendTemplate

envelopeId ​

Envelope

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 36 characters at most
  • Example: {{ data.docusign.envelopeId }}
  • Shown when: action is one of get, recipients, download, void
  • Expressions: {{ }} accepted

withCertificate ​

Include the certificate of completion

  • Type: Yes / no (boolean)
  • Required: No
  • Default: true
  • Shown when: action is download

reason ​

Reason for voiding

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is void
  • 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.

Loop & Roll — the workflow builder for email.