Skip to main content
Conversation Starter
December 6, 2024
Question

extract attachments from signed envelope

  • December 6, 2024
  • 3 replies
  • 233 views

I have a power automate flow that is triggered when a docusign envelope is signed. 
The flow extracts the information and signed pdf, then saves to a sharepoint library. 
 

Is it possible to separately retrieve attachments that the signer has uploaded? i.e. not one long pdf but individual files?

 

3 replies

Hengfeng Ge
Hero
Hero
December 6, 2024

You can fist list the documents in the envelope

https://learn.microsoft.com/en-us/connectors/docusign/#list-documents-from-an-envelope

List documents from an envelope

Operation ID:

ListEnvelopeDocuments

List documents from an envelope

Parameters

 

Name Key Required Type Description

Account

accountId True string

Account id

Envelope

envelopeId True string

Envelope id

Returns

Body

ListDocumentsResponse

 

then get document by documentId in a loop.

https://learn.microsoft.com/en-us/connectors/docusign/#get-documents-from-an-envelope

Get documents from an envelope

Operation ID:

GetDocumentsV2

Get documents from an envelope

Parameters

 

Name Key Required Type Description

Account

accountId True string

Account id

Envelope

envelopeId True string

Envelope id

Output format

documentId True string

Provide specific document Id or use an output format from the dropdown

Returns

response

GetDocumentsResponse

 

FreeLink/甫连信息

🌍 DocuSign Partner | Partner Profile

🏆 DocuSign 2024 APAC Reseller Growth Partner of the Year

🌟 The only DocuSign Partner globally certified as both a Certified eSignature Administrator and eSignature Technical Consultant.

📊 DocuSign Community Leaderboard Top 5 contributor.

🚀 Expertise in DocuSign integrations with on-premises systems for leading enterprises across various industries.

Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.
Docusign Employee
December 23, 2024

Hello ​@nick911 ,

If you found the provided response to be a useful solution to your question, please mark it as the best answer by clicking “Select as Best” to make it easier for other users to find.


Best regards,

Nathaly | Docusign Community Moderator
"Select as Best" below if you find the answer a valid solution to your issue!

nick911Conversation StarterAuthor
Conversation Starter
January 30, 2025

Hi thanks you for the suggestion. 

The output of ‘get documents for an envelope’ looks like this

[

  {    "documentId": "1",    "name": "New Supplier Request - Contractor Pack.docx"  },

  {    "documentId": "2",   "name": "Sustainability.docx"  },

  {    "documentId": "3",    "name": "Terms and Conditions for Purchase of Goods and-or Services (v2).docx"},

  {    "documentId": "certificate",    "name": "Summary"}

]

These are the four documents that make up the envelope. But what I would like to extract is the attachments that the signer uploads. e.g. in document id 1, I have a number of uploads like this
 

How can I extract these?