SK SK
SK SK

Reputation: 1

Assistance/Directions/Documentation needed for merging Document in DocuSign that are originating from Salesforce

Our team is currently working on a project where we need to implement a feature to merge multiple documents using DocuSign. The specific requirements are as follows:

  1. Button Creation:

    • Create a custom button on the Salesforce Contact Record named "Merge Document."
  2. Document Retrieval:

    • Upon clicking the "Merge Document" button, we need to fetch documents from the Files related object for the respective Salesforce Contact Record.
  3. DocuSign API Integration:

    • Send the fetched documents to DocuSign through the DocuSign API for processing.
  4. Document Merging:

    • Have the documents merged in DocuSign as an envelope. It's crucial to note that we are not requiring any e-signature; we are solely interested in the feature to merge multiple documents.
  5. Return Merged Document to Salesforce:

    • After the merging process in DocuSign, we need to receive the merged document back as an envelope and store it in the Files related object for the associated Salesforce Contact Record.

Thank you

Assistance/Directions/Documentation

Upvotes: 0

Views: 29

Answers (2)

Byungjae Chung
Byungjae Chung

Reputation: 36

You can achieve this process by using ApexToolkit. To implement the process, you first need to install the DocuSign Apps Launcher (DAL) managed package into your Salesforce organization and then write the Apex code that calls the Apex Toolkit method: https://developers.docusign.com/docs/salesforce/

To create the custom button on your Salesforce org, write the Lwc code that triggers the Apex class. Once you write all the Apex codes needed for document retrieval and send the envelope, you can get the document by DocuSign Connect. Connect is a webhook service that writes back the document or any other data when the envelope status is changed. You can implement Connect through ApexToolkit following the "Document and data writeback" section on this post: https://www.docusign.com/blog/developers/whats-new-summer-21-apex-toolkit

Upvotes: 0

Related Questions