Skip to content
Proud to collaborate with Microsoft for Startups

docusign.list-templates ​

List the DocuSign account's envelope templates, the refs create-from-template needs

List the reusable templates envelopes can be created from.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-docusign
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID injected by the workflow boundary
connection_uuiduuidYes—Organization-scoped DocuSign CloudConnection UUID
workflow_run_idstringNo—Engine-stamped parent DAG run id
pageintegerNo—One-based page
limitintegerNo—Items per page; default 40, maximum 100
search_textstringNo—Optional template name filter

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID injected by the workflow boundary
connection_uuiduuidYes—Organization-scoped DocuSign CloudConnection UUID
workflow_run_idstringNo—Engine-stamped parent DAG run id
pageintegerNo—One-based page
limitintegerNo—Items per page; default 40, maximum 100
search_textstringNo—Optional template name filter
templateslistYes——
template_countintegerYes——
read_atstringYes——
has_next_pagebooleanYes——
next_pageintegerNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_stepjsonNo——
failed_layerintegerNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——
retryablebooleanNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
listedSUCCESSTemplates were listedtemplates, template_count
failedFAILURETemplate listing failedfailure_reason, failure_type, retryable

Business Errors ​

CodeMessage Template
DOCUSIGN_ORGANIZATION_CONTEXT_INVALIDAuthenticated organization context is missing or does not match the workflow input
DOCUSIGN_CONNECTION_NOT_FOUNDDocuSign connection {connection_uuid} was not found in the authenticated organization
DOCUSIGN_CONNECTION_WRONG_PROVIDERConnection {connection_uuid} is not a DocuSign connection
DOCUSIGN_CONNECTION_SERVICE_UNAVAILABLEThe shared cloud connection service is unavailable
DOCUSIGN_PROVIDER_CAPABILITY_MISSINGThe installed DocuSign provider does not expose the required API operation
DOCUSIGN_AUTHENTICATION_FAILEDDocuSign refused the request:
DOCUSIGN_PROVIDER_REQUEST_FAILEDThe DocuSign API request failed:
DOCUSIGN_RESPONSE_SHAPE_INVALIDThe DocuSign API returned an unexpected shape:
DOCUSIGN_PAGINATION_INVALIDpage must be >= 1 and limit between 1 and
DOCUSIGN_ENVELOPE_NOT_FOUNDNo envelope {envelope_ref} is visible in this DocuSign account

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "docusign.list-templates",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value"
  }
}