Retrieves the list of documents associated with a specified DocuSign envelope and stores the document information in a variable for use in subsequent automation steps.
Settings
- Session name
- Specify the active DocuSign session to use for
the action. Select an existing session that was created
using the Connect action - Establish a DocuSign session in Automation 360
action.
Example:
Default - Variable
- Specify a variable that contains the name of the active DocuSign session.
Use this option when the session name is determined dynamically at runtime.
Example:
$DocuSignSession$ - Envelope ID
- Specify the unique identifier of the DocuSign
envelope whose document list you want to retrieve.
Example:
7b3c21a0-4f9e-11ee-be56-0242ac120002 - Assigned to
- Select a variable that stores the retrieved list of documents. The
output variable can be used in subsequent automation steps to access
document details such as document IDs and document names.
Example:
$DocumentList$If the variable is not available in the list, click Create variable. For more details, see Create a variable.
Enter the following details:- Create the user-defined variables using the Create variable (+) icon at the top of the Variables menu.
- Create a variable of List type and select the datatype Any to include any data of subtypes (String, Number, Boolean, Datetime, or File).
- Specify the unique name of the variable.
- Provide additional information about the variable. The description can contain up to 255 characters.
- Marks the variable as an input, output, or constant (read-only) variable.
- In the Deafult value field, specify the initial values of the list. You can define one or more items that are assigned to the list when it is created
- In the Value at n field, specify the value assigned to the list item at the specified index.
- Click + to add, ↑ to move up, ↓ to move down and X to remove the list items.
- Annotation
- For Annotation, see Add annotation.
Returns the collection of documents associated with the specified DocuSign envelope as a List of dictionaries. Each item in the list is a dictionary whose values are of mixed type; a document entry typically includes the document ID (String), document name (String), document type (String), and URI (String), depending on the DocuSign API response. The output is stored in the variable specified in the Assigned to field.
Datatype: List of dictionaries (each dictionary: String keys with String values)
Example: [ {"documentId": "1", "name": "NDA.pdf", "type": "content", "uri":
"/envelopes/7b3c.../documents/1"}, {"documentId": "certificate", "name": "Summary", "type":
"summary", "uri": "/envelopes/7b3c.../documents/certificate"} ]