docusign.send-from-storage
Send (or draft) a DocuSign envelope from one audit-tracked storage object — presigned GET in layer 1, envelope creation in layer 2, no bytes in workflow state
Presign an audited storage object and create a DocuSign envelope from it.
Overview
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-docusign |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization UUID injected by the workflow boundary |
connection_uuid | uuid | Yes | — | Organization-scoped DocuSign CloudConnection UUID |
storage_connection_uuid | uuid | Yes | — | Storage CloudConnection holding the document |
bucket | string | Yes | — | — |
key | string | Yes | — | Audited StorageObject key of the document to send |
document_name | string | No | — | Name recipients see; defaults to the key's basename |
recipients | list | Yes | — | Signers as |
subject | string | Yes | — | — |
message | string | No | — | — |
send | boolean | No | False | false (default) drafts the envelope; true sends it |
workflow_run_id | string | No | — | — |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization UUID injected by the workflow boundary |
connection_uuid | uuid | Yes | — | Organization-scoped DocuSign CloudConnection UUID |
storage_connection_uuid | uuid | Yes | — | Storage CloudConnection holding the document |
bucket | string | Yes | — | — |
key | string | Yes | — | Audited StorageObject key of the document to send |
document_name | string | No | — | Name recipients see; defaults to the key's basename |
recipients | list | Yes | — | Signers as |
subject | string | Yes | — | — |
message | string | No | — | — |
send | boolean | No | False | false (default) drafts the envelope; true sends it |
workflow_run_id | string | No | — | — |
envelope_ref | string | No | — | — |
envelope_status | string | No | — | — |
presign | json | No | — | — |
create | json | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | integer | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
retryable | boolean | No | — | — |
DAG Layers
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | presign | storage.download.presigned-url | — |
| 2 | create | docusign.create-envelope | — |
Execution Flow
Sub-workflows
| Sub-workflow | Step name |
|---|---|
storage.download.presigned-url | presign |
docusign.create-envelope | create |
Outcomes
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
created | SUCCESS | The envelope was created from the storage object | envelope_ref, envelope_status |
failed | FAILURE | send-from-storage failed | failure_reason |
API Usage
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "docusign.send-from-storage",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value",
"storage_connection_uuid": "value",
"bucket": "value"
}
}