English
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
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:
actionis one ofget,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:
actionissend - 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:
actionissend - 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 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
language
Language of emails and page
- Type: One choice (
options) - Required: No
- Default:
fr - Options:
fr— Frenchen— English
- Shown when:
actionissend
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:
actionissend - 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:
actionissend
state
State
- Type: One choice (
options) - Required: No
- Default:
any - Options:
any— Anydraft— Draftstarted— Startedpaused— Pausedcancelled— Cancelledexpired— Expiredclosed— Closedcompleted— Completed
- Shown when:
actionislist
search
Search — Searches the name, identifier, participants, documents and metadata.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionislist - Expressions:
{{ }}accepted
limit
Maximum count
- Type: Number (
number) - Required: No
- Default:
20 - Whole number, from 1 to 100
- Shown when:
actionislist
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:
actionisremind - 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.actionscarries each participant’s signing link (url).{{ data.<step>.state }}—string. Get a transaction only:draft,started,paused,cancelled,expired,closedorcompleted.{{ 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 (withsummaryKeyandsummaryParams).
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 thecompletedstate 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 trueA 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
transactionIdis 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.