The DocuSign connector publishes events when the status of a DocuSign envelope changes. These events can be consumed by Studio Modeler triggers and used to start or continue business processes based on signing activity.
For example, a process can wait for a document to be signed before continuing, or take a different path when a recipient declines an envelope.
The DocuSign connector publishes the following envelope events:
| Event | Description |
|---|---|
| ENVELOPE_SENT | Triggered when the envelope notification is sent to at least one recipient or when it becomes a recipient's turn to sign during embedded signing. |
| ENVELOPE_DELIVERED | Triggered when all recipients have opened the envelope through the DocuSign signing experience. This event does not indicate email delivery. |
| ENVELOPE_DECLINED | Triggered when a recipient declines the envelope. |
| ENVELOPE_VOIDED | Triggered when the envelope is voided by the sender or expires. |
| ENVELOPE_COMPLETED | Triggered when all recipients have completed the signing process. |
DocuSign events can be consumed through Studio Modeler triggers.
For example:
- A trigger listens for ENVELOPE_COMPLETED and starts a process when a document is signed.
- A BPMN catch message event waits for ENVELOPE_DECLINED and routes the workflow for exception handling.
- A process waits for ENVELOPE_DELIVERED before sending a reminder or status update.
When a process is started or resumed by a DocuSign event, the following variables are populated:
| Property | Type | Description |
|---|---|---|
| envelopeId | String | The unique identifier of the DocuSign envelope. |
| documents | Array | The documents associated with the envelope, including related information such as document identifiers and URIs. |