Skip to main content

#Docusign2 discussing

Hi everyone,

I am facing an issue with the DocuSign Apps Launcher package in a Salesforce Lightning environment. I recently switched from a free trial account to a paid eSignature subscription.

The entire signing process and routing loop work perfectly—the email template goes out via our custom button, the internal user signs, the candidate signs, and the envelope status reaches "Completed" in DocuSign. However, no data is writing back to Salesforce.

What I Have Done / Configured:

  1. Object: Custom object Job_Application__c
  2. Document Writeback: Checked “Save completed documents back to the Salesforce Job_Application__c Record” with the filename format set to “Document Name + Envelope Status +.pdf”.
  3. Field Updates: Under the Options step, I have mapped three specific background field updates based on envelope events:
    • Envelope Completed $\rightarrow$ Updates a custom checkbox field Candidate Accepted Offer to True (Checked)
    • Envelope Declined $\rightarrow$ Updates a custom checkbox field Candidate Rejected Offer to True (Checked)
    • Envelope Voided $\rightarrow$ Updates a custom checkbox field Candidate Rejected Offer to True (Checked)
  4. Permissions: I am running this process using a System Administrator profile.
  5. Validation Rules: There are no validation rules active on the Job_Application__c object that would block edits or file attachments.

The Issue:

Even though the envelope finishes successfully on the DocuSign side, the completed offer letter PDF does not attach to the record's Notes & Attachments / Files related list, and the custom checkbox fields remain unchecked (False).

Note: Interestingly, this entire automation loop worked flawlessly when I was testing it on a free trial DocuSign account. The issue only started after migrating to the official paid eSignature subscription plan.

Has anyone encountered this sync drop after changing subscriptions? Where should I look to ensure the background webhook/DocuSign Connect interface is properly authorized to push data back into Salesforce?

Any guidance or troubleshooting steps would be highly appreciated!

Thanks in advance! 

 

#Docusign

1 answer
  1. Jun 13, 4:14 PM

    Try re-authorizing the DocuSign System Transfer User. 

     

    When we upgrade from a trial to a paid subscription, DocuSign often provisions a new Account ID. If our Salesforce organization is still trying to listen for updates from our old trial Account ID, or if the background integration user wasn't re-authenticated against the new paid production account, writebacks will silently fail.

    1. In Salesforce, open the App Launcher (nine dots) and select DocuSign Apps Launcher.
    2. Go to the Settings tab.
    3. Look for the DocuSign System User or Connection section.
    4. Click Disconnect or Log Out, and then choose Connect.
    5. Crucial: Ensure you log in using the credentials for your new paid production DocuSign account, not the old trial credentials.
    6. Grant permissions when prompted. This refreshes the OAuth tokens and updates the background webhook listener.
0/9000

I am consistently getting the following error when I upload my Word Docusign/Salesforce gen template. "Unable to generate the following files:

  •  Regrant Template
  • Could not generate document " Regrant Template": [100] Error occurred Reference ID: 51e1a1cf-5ad4-437b-9f93-484ff0b1167b"

Why??? How can I fix this?

 

#Docusign  #DocuSign Templates  #Docusign Gen

12 answers
  1. Mar 21, 2025, 5:17 PM

    @Vicky Bott

    I tried this and it didn't work. I'm having the same issue and it's 4 years later. Any suggestions? Here is the error message I am receiving: 

     

    There were some problems with your document generation

    Generated Documents

    Unable to generate the following files:

    • Change Order (3)
    • The requested Salesforce document merge could not be completed. An error has occurred. ReferenceId: e702dbf1-1bd3-4b6c-a9b3-2fe5b43aa90d
0/9000

Hi Team,

 

I create docusign gen template in salesforce sandbox and to migrate the Gen Template from Salesforce Sandbox to Production.

I want to know How to Migrate docusign Gen Template from Salesforce Sandbox to Production.

Is it possible or not?

Please help me to solve the issue.

4 answers
  1. Dec 12, 2025, 11:34 PM

    @Harsha S I'm no longer actively responsible for our DocuSign integration, but I never did find any tools to help or improved recommendations.  What I ended up doing was manually creating a template stub in the UI so IDs and all the right relationships were created natively.  Then surgically updating hard parts like all the configured fields via SOQL on the Salesforce objects directly for the new template records (either copy\paste in dev console or bulk upload).  Improved the time spent and uncertainty in the release but you better believe I thoroughly worked out my process between 2 sandboxes first before trying between sandbox and prod!  Good luck.

0/9000

The Salesforce org I’m working in currently has DocuSign implemented via a URL Button that initiates DocuSign from the Quick Actions menu. I’m working to update the DocuSign functionality to occur in a Salesforce Flow instead. I’d like the same functionality that the URL Button offers, but have it fire automatically when the flow completes and populate the DocuSign envelope with variables from the flow. 

 

My thought is this would need to be done in Lightning or Apex and called in the flow. I initially tried automatically firing the button on init, but Lightning doesn’t support URL buttons so it won’t fire as expected. Has anyone initialized DocuSign from a Flow before? 

 

#Docusign

6 answers
  1. Oct 15, 2025, 4:39 PM

    @Ajaypreet Singh Saini - that may explain why it's not working as expected. We only have one DocuSign action available in the flow. I'll see if an update to the managed package will fix the visibility of the action you mentioned. Thank you for your insight! Will plan to keep you posted on the outcome. 

0/9000

We send credit applications from Leads and Accounts via Docusign. Due to the sensitive data in those completed envelopes, we need them to route to a different user from the sender. Our Credit App senders are our Sales Team who do not need to see sensitive customer data.  Updating DocuSign global settings impacts all sent envelopes so that's not an option for our Company. Is there a way to configure the system so only 6 templates are routed to a different recipient on completion while all other envelopes follow the normal path?  

 

#Docusign

1 answer
  1. Khyati Mehta (InfinySkills) Forum Ambassador
    Jul 21, 2025, 1:29 PM

    Hello Anna, 

     

    You can definitely handle this without changing global settings. In DocuSign, each template can have its own recipient routing, so for those 6 sensitive credit app templates, you can set them up to send the completed documents to a specific user (like someone from the credit or compliance team) instead of the sender. Just go into each template and adjust the recipient and routing settings accordingly. That way, your Sales Team can still send the envelopes, but they won’t have access to the completed ones, and everything else will keep following the normal path. It keeps things secure without disrupting other workflows.

0/9000

I have to show only the parent QLI in the Document adjusted via DocuSign, but I'm getting the Child QLI Also. 

 

#DocuSign For Salesforce  #Docusign Gen  #Docusign

0/9000

I have integrated salesforce contracts with docusign in order for users to sign documents. When the document is sent out for signature it sends them my personal email. Where would I update this email to a standard one? Would it be within docusign or the salesforce org?  

 

#Docusign

0/9000

When a user sends a contract off for signature through docusign they are receiving an email from "dse_demo@docusign.com" How do I change that email?  #Docusign

 

Help with Salesforce Contracts

 

@* Sales Cloud - Best Practices *

 

 

#Sales Cloud

3 answers
  1. Feb 21, 2025, 5:48 PM

    @Davis Johnson the only thing that pops up for me in the app launcher is "omni studio docusign setup" 

0/9000

Hello, DocuSign eSignature for Salesforce admins, 

I am working on building a DocuSign envelope template inside Salesforce using DocuSign App Launcher(DAL), in this template, I have a requirement to pre-populate data into the document from three sources, the source object itself, its parent record, and its child record. I could add merging fields for the source record, and its parent record, but my question here is for children, if the source record has multiple children, how does DocuSign know which child record to retrieve the data from it? Is it the most recent child record or the first created one or what? On their documentation page, nothing mentioned about this point 

https://support.docusign.com/s/document-item?language=en_US&bundleId=srl1586134368658&topicId=zce1616797759905.html&_LANG=enus

 

 

#DocuSign For Salesforce  #Docusign

2 answers
  1. Jan 23, 2025, 9:31 PM

    @Logan Boardman

    Thanks Logan for your response. I have created a ticket with DocuSign Support and confirmed the following :  

    DocuSign retrieves data from child records based on the Salesforce row number specified in the field's property panel. 

    When adding merge fields for child objects, you need to add the merge fields to the document multiple times, each time specifying a different Salesforce row number. This allows DocuSign to retrieve the data from the corresponding child record based on the selected row number. 

    For example, if you want to display two lines of the child object, add the merge fields to the document twice, with the corresponding Salesforce row numbers 1 and 2. 

     

    Based on the above Docusign response, the retrieved child record is based on the value of that setting,  the Salesforce row number,  under the merging field.

0/9000
  • I want to write Apex to do exactly what the docusign "custom button" does. Is this possible and does anyone have experience with this or know someone who does?

CURRENT PROCESS

  • When you create an Envelope Template in the DSFS app, it auto-generates a "custom button" that you can add to the target object's page layout. This allows a user to click this button when viewing a record detail page, which will then trigger the envelope to be created and document(s) sent for signatures based on however you configured the Template. All the button does is execute the Template settings you configured.
    • This is standard, OOTB functionality.

DESIRED FUTURE STATE PROCESS

  • I want to replicate the exact same OOTB functionality as the docusign "custom button", EXCEPT that I want it to be triggered AUTOMATICALLY when a record update action occurs. Meaning, instead of a user having to click the button to start the docusign process, I want the button to be "clicked" automatically whenever certain record update criteria are met.

MY "working draft" SOLUTION

  • After-save record-triggered flow with an Apex Action element.
    • SOURCE 1 - How to send an envelope from a Salesforce flow
    • SOURCE 2  - Sending with merge fields using the Apex Toolkit
    • The record ID, merge field values, and other required information would pass through to the envelope from the record-triggered flow, and then everything else should happen just like it is configured in the Template.

WHY

  • Because we have an application process where dozens of "agreement" pdf contracts are sent out for e-signatures every week when the are placed in status "application accepted". Right now, someone on our team has to check each day for any Applications in the "application accepted" status, then open each one, and click the "send for signatures" button on the record detail page. 
  1. The Template is set to "send now" so there's absolutely no reason for a human user to need to be involved.
  2. If the human user is OOO or just overly busy, the sending of the agreement contracts can be delayed.
  3. The volume of agreement contracts having to be sent out every week is large enough that this takes a decent amount of the human user's time. 

#Apex #Docusign #DocuSign For Salesforce #Flow

4 answers
0/9000