Skip to main content
benderguy
New Participant
April 6, 2020
Question

Steps for automating e-signature in Salesforce

  • April 6, 2020
  • 1 reply
  • 648 views

In Salesforce, I have an agreement template and some simple criteria for when it should be sent for signature (when an Opportunity goes to a specific stage). I see a bunch of semi-technical documenation, but nothing that actually says what you have to do to make it work. Can someone please define the steps needed in the Process Builder to automatically send a template for signature? (Recipient is a lookup on the Opportunity to a specific Contact.)

 

From what I can glean you need to use Apex to create an agreement, then can update it to send the agreement. So, I created an action for "Load Agreement Template" (passing in "Master Record ID" & "Agreement Template ID"), then a second "update records" action for the related record "[Opportunity].echosign_dev1__xxx" (passing in "Recipient (Contact)" & "Background Action"="Send"). I've given it a try, but nothing happens - no errors, no new agreement records created, etc. What am I doing wrong?

This topic has been closed for replies.

1 reply

benderguy
benderguyAuthor
New Participant
April 6, 2020

Well, for anyone who sees this, I did have it right. Managed to find a minor unrelated error and now it works fine as defined above.

benderguy
benderguyAuthor
New Participant
April 6, 2020

Actually, it seems I don't even need the second step. Just making the Apex call to create the agreement with the two parameters even worked.