DocuSign eSignature Integration

Overview

Streamline sales processes using integration with DocuSign eSignature. This native integration, with eSignature vendor DocuSign, eliminates the pass-through step, facilitates the interaction between both applications, and always provides the most up-to-date output from the Oracle CPQ interface.

Features include:

DocuSign eSignature

OAuth 2.0 Support for DocuSign Integration

The DocuSign eSignature integration allows the CPQ application to prepare documents, assign signers, and create envelopes in DocuSign. When a sales agent sends a document out for signature the CPQ application makes a web service call to DocuSign. In 24B and later, Oracle CPQ replaces the previous authentication mechanism with a new OAuth-based flow to authenticate the web service call which creates the envelope in DocuSign. To support this new security mechanism, we have updated the DocuSign eSignature Connector in the Integration Center to allow administrators to manage the new connection details, the certificate, and the token key.

When upgrading to Oracle CPQ 24B and later, existing DocuSign eSignature integrations are supported and continue to function using their existing connection information.We recommend moving to the new OAuth-based flow promptly as the legacy authentication mechanism is deprecated by DocuSign and is no longer supported. Once you have upgraded to 24B existing connections using the old pattern will no longer be able to be modified. You must delete the old integration and recreate the connection using the updated Connector.

Administration

ClosedConfigure DocuSign Properties

In order for the Receive action to run properly when a document is signed in DocuSign, the following DocuSign properties should be configured as follows:

  1. In Docusign admin settings, under Integrations go to Connect > Configurations and create a new Custom Configuration.

  2. Set a name for the integration.

  3. Set the URL to Publish as: https://sitename.bigmachines.com/notifications/receiver/

  4. Select Enable Log & Require Acknowledgement.

  5. Under Event Settings, select Legacy as the Data Format.

  6. Under Trigger Event, expand the Envelopes & Recipients section and select the following:

    • Envelope Signed/Completed

    • Envelope Declined

    • Envelope Voided

  7. Expand the Include Data section of Envelopes & Recipients and select the following:

    • Document PDFs

    • Document Fields

  8. At the bottom of the page select Use SOAP Interface (SOAP Method: DocuSignConnectUpdate).

  9. Ensure a full path namespace is specified instead of the default property Envelope.

    • When the Use SOAP Interface section expands, enter the SOAP Namespace that will be used in the notification requests to your server.

      Sample Namespace: xmlns:targetNamespace="urn:soap.bigmachines.com"

    • You can also optionally check Include XML Digital Signature in SOAP Header: so that SOAP XML messages will be digitally signed.

If these settings are not set, administrators may see the following error message in the error log:

Failed to generate response to notification.

org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelop, but found DocuSignEnvelopeInformation


ClosedSet Up a DocuSign Integration

Setting up DocuSign integration requires the following tasks:

ClosedStep 1: Enabling DocuSign eSignature Integration

ClosedOAuth 2.0 Support for DocuSign Integration (Oracle CPQ 24B and later)

To create a DocuSign eSignature integration type, administrators with permissions can complete the following steps:

  1. Click Integration Center in the Integration Platform section of the Admin Home page.

  2. Click Create Integration.

  3. Select eSignature from the Type drop-down.

  4. Select DocuSign from the Vendor drop-down. The DocuSign Integration field entries display.

    Create DocuSign Integration from Oracle CPQ Integration Center

  5. Enter the Admin User ID. Refer to Retrieve DocuSign Field Values for retrieving this information.

  6. Enter the Account ID. Refer to Retrieve DocuSign Field Values for retrieving this information.

  7. Enter https://account.docusign.com for the OAuth URL.

  8. Enter the Endpoint URL. This includes the DocuSign Account Base URI with the restapi version information appended (for example, https://prodsite.docusign.net/restapi/v2). Refer to Retrieve DocuSign Field Values for retrieving this information.

    This URL must be included in the allow list of approved domains.
  9. To add the connect certificate, click Choose File and navigate to a valid certificate (for example, a.crt file) on your hard drive. This certificate must be the same as the one created in the DocuSign environment.

    • It is essential that the certificate in DocuSign and Oracle CPQ match.
    • When the DocuSign eSignature integration is saved, the certificate is stored and available for download. Also the Last Modified date associated with the certificate is automatically populated.
  10. Click Save to save the integration details along with the connection certificate.

  11. Select Generate to generate the Admin Token. If this is the first time you are setting up the OAuth-based integration, DocuSign consent must be verified. A warning displays indicating that consent from DocuSign is required.

    DocuSign Consent Warning

  12. Click Give Consent to close the Consent warning box. If required, you may need to log in to DocuSign.

    DocuSign Allow Access

  13. Click Allow Access to allow Oracle CPQ access.

  14. Navigate to the Oracle CPQ DocuSign eSignature Integration Center page and click Generate.

    DocuSign Integration Connected - Generate Token

    The Oracle CPQ DocuSign eSignature Integration Center page displays the Revoke button for the Admin Token instead of a Generate button. This indicates the access was granted and the integration connection is established.

Retrieve DocuSign Field Values

To set up the Oracle CPQ DocuSign eSignature Integration, the administrator must retrieve necessary field data from DocuSign. The following provides an overview of the steps to locate the DocuSign fields and the corresponding DocuSign to Oracle CPQ field names.

1. Log into DocuSign.

2. Navigate to the Integration section within the Settings tab.

3. Click Apps and Keys from within the Integration section. The Apps and Keys page displays.

4. Within the My Account Information section, note the following field values. These values must be entered in the corresponding field for the Oracle CPQ DocuSign eSignature Integration.

DocuSign App and Key Field

Oracle CPQ DocuSign Integration Field

User ID

Admin User ID

API Account ID

Account ID

Account Base URI

Endpoint URL

Enter the Account Base URI with the restapi version information appended (for example, https://prodsite.docusign.net/restapi/v2)

 

ClosedLegacy Support for DocuSign Integration (Oracle CPQ 24A and earlier)

ClosedStep 2: Creating the eSignature Attribute Set, Action Set, and Layout Element


ClosedStep 3: Obtaining the DocuSign Authentication Token


ClosedStep 4: Adding Signer Tags to a Document

Add a Signature Tag

  1. Click Admin to go to the Admin Home Page.
  2. Click Document Designer (or Documents, for the Document Engine) under Commerce and Documents.
  3. Open an existing document, or create a new one.
  4. Select a location in the document for signature tags.

    In Document Designer, you may need to add a Text Element first.
  5. Create a signature tag by typing \s1, where "1" is the number of the signer.

    Signature tag

    When a signature is requested, DocuSign interprets \s1 as the location where signer #1 must sign.


ClosedRequesting Signatures for a Document

ClosedRequesting Signatures for a Document - Parallel only (19B or earlier)

ClosedRequesting Signatures for a Document - Sequential or Parallel Requests (19C and later)

ClosedUsing eSignature on Mobile Devices

ClosedUse BML to Reset eSignature Attributes

You can reset eSignature attribute values like attachments, recipients, status, etc. through BML implementation. For example, if a Transaction is versioned using Version action, the associated Modify action can implement the BML to reset the eSignature attributes values for the new Version. The following provides sample BML for resetting eSignature attributes.

Reset signatures BML sample

Modifying eSignature attribute values outside of the standard flow may cause integration issues if the attribute values are not setup properly. Please verify the changes and test the integration to make sure it is functioning as expected.


Notes

Notes:

  • eSignature attributes are listed in the order that they were created, and cannot be reordered on the grid.
  • Displayed rows can be controlled based on Permissions.
  • Each user must specify their account information when generating their authentication token.
    Refer to Step 3: Obtaining the DocuSign Authentication Token.

    Oracle CPQ associates a user to their default DocuSign account when that user generates an Authentication Token.

    The Login provided during Token generation is case-sensitive and must match the format of the DocuSign login exactly.
    If the logins don't match the integration will fail after the customer signs. For example, if the user's DocuSign login is "FirstName.LastName@domain", but the login used to generate the token is "firstname.lastname@domain", the integration will fail.

  • If your DocuSign certificate expires, the status for a CPQ transaction will not get updated when the associated document is signed and marked as complete in DocuSign. If this occurs, you need to regenerate your DocuSign certificate recreate your eSignature integration, refer to Step 1: Enabling DocuSign eSignature Integration.

  • The user sets their default account in DocuSign.

  • The symbols “<” and “>” are used as delimiters for recipients. For example, Name<Name@oracle.com>.
  • eSignature functionality allows for unlimited eSignature Attribute sets.
  • For more information on DocuSign, visit the DocuSign web site.

Related Topics

Related Topics Link IconSee Also