Skip to content

Universign ​

Sends attachments for e-signature, follows transactions, reminds signers and fetches the signed documents.

The Universign node gets an email’s attachments signed with Universign, follows transactions and brings the signed documents back into the run’s attachments, so that a Compose step can send them.

It works with a Universign connection created once in Connections. See Universign.

At a glance ​

  • Type: universign.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: Universign
  • Inputs: main
  • Outputs: main
The ports of “Universign”: 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 Universign connection.Universignuniversign.apimainmainerror · only with “Follow the Error output”Connection: Universign
The ports of “Universign”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Universign connection.

Parameters ​

connection ​

Universign connection — The Universign 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 attachments for signature: Creates the transaction, adds the selected attachments, adds the signers and, if asked, starts it.
    • get — Get a transaction: Its state, participants, documents and signing links.
    • list — List transactions: Most recent first, filterable by state and text.
    • remind — Remind signers: Sends a reminder to the participants who have not acted yet.
    • cancel — Cancel a transaction: Only draft, started or paused transactions can be cancelled.
    • downloadSigned — Fetch the signed documents: Adds them to the run’s attachments, to attach them to a reply.

transactionId ​

Transaction — The Universign identifier (tx_…), as returned by the send action, the list or the trigger.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 100 characters at most
  • Example: {{ data.universign.transactionId }}
  • Shown when: action is one of get, remind, cancel, downloadSigned
  • Expressions: {{ }} accepted

name ​

Transaction name — Shown to signers. 100 characters at most. Accepts {{ }} expressions.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 100 characters at most
  • Example: {{ email.subject }}
  • Shown when: action is send
  • Expressions: {{ }} accepted

signers ​

Signers — Their email addresses, separated by commas. Each one signs every document.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 2000 characters at most
  • Example: {{ email.from.email }}
  • Shown when: action is send
  • Expressions: {{ }} accepted

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

language ​

Language of emails and page

  • Type: One choice (options)
  • Required: No
  • Default: fr
  • Options:
    • fr — French
    • en — English
  • Shown when: action is send

invitationMessage ​

Invitation message — Optional: the text added to the invitation email. 1,000 characters at most.

  • Type: Long text (text)
  • Required: No
  • Default: "" (empty)
  • 1000 characters at most
  • Shown when: action is send
  • Expressions: {{ }} accepted

start ​

Start right away — Sends the invitations and uses the plan’s signatures. Unchecked, the transaction stays a draft in Universign.

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

state ​

State

  • Type: One choice (options)
  • Required: No
  • Default: any
  • Options:
    • any — Any
    • draft — Draft
    • started — Started
    • paused — Paused
    • cancelled — Cancelled
    • expired — Expired
    • closed — Closed
    • completed — Completed
  • Shown when: action is list

Search — Searches the name, identifier, participants, documents and metadata.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is list
  • Expressions: {{ }} accepted

limit ​

Maximum count

  • Type: Number (number)
  • Required: No
  • Default: 20
  • Whole number, from 1 to 100
  • Shown when: action is list

reminderEmail ​

Participant to remind — Optional: left empty, every participant who has not acted yet is reminded.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 320 characters at most
  • Shown when: action is remind
  • Expressions: {{ }} accepted

Outputs ​

  • main — Taken once the Universign call succeeds, whatever the action. An error response from Universign 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>.transactionId }} — string. Send, Remind, Cancel, Fetch the signed documents: the transaction identifier (tx_…). Empty on a test run for Send, since nothing is created.
  • {{ data.<step>.transaction }} — { id, name, state, createdAt, startedAt, expiresAt, stalled, participants, documents, actions }. Send and Get a transaction: the transaction. actions carries each participant’s signing link (url).
  • {{ data.<step>.state }} — string. Get a transaction only: draft, started, paused, cancelled, expired, closed or completed.
  • {{ data.<step>.documents }} — array of { id, name }. Send only: the documents added to the transaction, one per selected attachment.
  • {{ data.<step>.signers }} — array of string. Send only: the signers’ addresses.
  • {{ data.<step>.started }} — boolean. Send only: true when the transaction was started (invitations sent).
  • {{ data.<step>.transactions }} — array of transaction. List transactions only: the transactions, most recent first.
  • {{ data.<step>.count }} — number. List and Fetch the signed documents: the number of items returned.
  • {{ data.<step>.truncated }} — boolean. List only: true when Universign had more transactions beyond the Maximum count.
  • {{ data.<step>.files }} — array of { attachmentPosition, filename, deduplicated }. Fetch the signed documents only: the documents added to the run’s attachments.
  • {{ data.<step>.attachmentPosition }} — number. Fetch the signed documents only: the first document’s position, to cite in Compose.
  • {{ data.<step>.simulated }} — boolean. true when the action was described instead of performed (test run). Reads always go out for real.
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language (with summaryKey and summaryParams).

Operations ​

The Action parameter (action) picks the operation.

  • Send attachments for signature (send, the default). Selects the run’s attachments with Attachments to use (selection, mime, namePattern), creates a transaction named Transaction name (name), adds one document per attachment and one signature field per Signer (signers, comma-separated addresses) on each document, invites each signer by email with the Invitation message (invitationMessage) in the chosen Language (language), then starts the transaction if Start right away (start) is checked. Starting sends the invitations and uses the plan’s signatures; unchecked, the transaction stays a draft.
  • Get a transaction (get). Reads Transaction (transactionId).
  • List transactions (list). Filters by State (state) and Search (search), up to Maximum count (limit, 100 at most).
  • Remind signers (remind). Reminds Participant to remind (reminderEmail), or everyone who has not acted when the field is empty.
  • Cancel a transaction (cancel). Only draft, started or paused transactions can be cancelled.
  • Fetch the signed documents (downloadSigned). Requires a transaction in the completed state and adds each signed document to the run’s attachments (name followed by -signe.pdf).

Example ​

A broker receives a management mandate to have signed by the client. The workflow starts on the email, then a Universign node:

text
action      send
name        Mandate — {{ email.subject }}
signers     {{ email.from.email }}
selection   byMime
mime        application/pdf
start       true

A second workflow starts on Universign transaction completed, fetches the signed documents with transactionId = {{ data.universign.transactionId }}, then attaches them to a reply.

Tips ​

  • Test runs. On a test run no transaction is created: the send is described and transactionId is empty.
  • Size. Universign accepts files up to 25 MB; Loop & Roll uploads at most 10 MB per attachment.
  • Delay. Signed documents can be downloaded through the transaction for 60 days after it ends.

Loop & Roll — the workflow builder for email.