Skip to main content
Question

extract attachments from signed envelope

  • December 6, 2024
  • 3 replies
  • 81 views

Forum|alt.badge.img+2

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
Rising Star
Forum|alt.badge.img+12
  • Rising Star
  • 507 replies
  • 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.


Forum|alt.badge.img+15
  • Community Moderator
  • 2554 replies
  • 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!


Forum|alt.badge.img+2
  • Author
  • Newcomer
  • 1 reply
  • 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?