Docusign

Docusign is a secure eSignature solution that provides electronic signature technology and digital transaction management services that enable businesses to create fully digital workflows.

API version

The Docusign connector uses the Docusign eSignature REST API, and calls a mix of v2.0 and v2.1 endpoints depending on the trigger or action. Refer to API version by trigger and action for the version each one calls.

Supported editions and versions

The Docusign connector works with the following Docusign plans:

  • Personal
  • Standard
  • Business Pro

Connection setup

The Docusign connector supports the following authentication types:

AUTHENTICATION AND SENDING

JWT Grant authentication uses the Docusign impersonation scope to send documents from the email address of the user you connect with, without requiring that user to sign in. The impersonated user, or their account admin, must grant consent before you can connect.

OAuth 2.0 (Authorization Code Grant) sends all documents from the email address of the user who signs in to authorize the connection.

ROLES AND PERMISSIONS

Users who can sign in to Docusign can connect it to Workato. Users have the same permissions and capabilities to view, manage, and send envelopes on Workato as in Docusign. Refer to the Docusign Permission Profiles documentation for more information.

JWT Grant

Use JWT Grant authentication to connect to Docusign with a private key for server-to-server authentication. This method sends documents from the email address of the User ID you connect with, using the Docusign user impersonation. That user, or their account admin, must grant consent before you can connect. Refer to Retrieve your User ID for more information.

Docusign setup for JWT Grant authentication

Complete the following to set up JWT Grant authentication:

Retrieve your User ID

Complete the following steps to retrieve your User ID in Docusign:

1

Sign in to Docusign.

2

Go to Admin > Apps and Keys.

3

Copy and save the User ID for use in Workato.

Generate an integration key

You must create an app to generate an integration key.

Complete the following steps to generate an integration key in Docusign:

1

Go to the Apps and Keys page and click Add App and Integration Key.

2

Enter a name for your application, such as Workato Integration.

3

Click Create App.

4

Copy and save the Integration Key (also known as the Client ID) for use in Workato.

Generate an RSA keypair

Complete the following steps to generate an RSA keypair in Docusign:

1

Go to the Service Integration section in your newly created app settings.

2

Click Generate RSA to create a new RSA keypair.

3

Copy the Private Key and save it in a secure location. This value is required to establish the connection in Workato.

SAVE YOUR PRIVATE KEY

The private key is only displayed once. After you close this dialog, you won't be able to retrieve it again. If you lose it, you must generate a new keypair.

4

Click Close to save the keypair to your integration.

Add the redirect URI

Complete the following steps to add the redirect URI in Docusign:

1

Go to the Additional settings > Redirect URIs section in your newly created app settings.

2

Click + Add URI.

3

Enter https://www.workato.com/oauth/callback in the Redirect URIs field.

4

Click Save.

JWT Grant authentication sends envelopes from the email address of the user you connect with, using Docusign's user impersonation. Connecting as that user requires consent, which comes in two forms:

Use the Docusign Admin panel to grant consent to your JWT app on behalf of all users within your organization's claimed domains. This authorization grants app access to all domain users, with access limited by the permissions you specify. This is a one-time configuration.

PREREQUISITES FOR ADMIN CONSENT

  • Your organization must have the Docusign Admin feature enabled.
  • Your organization must have at least one claimed domain. Refer to the Docusign Claim a domain documentation.
  • You must have created an integration key for your app.

Complete the following steps to obtain admin consent:

1

Sign in to Docusign as an organization administrator.

2

Open your Organization home page in Docusign Admin.

3

Select Connected Apps from the navigation pane.

4

Select Authorize Application and choose your application from the drop-down menu. This menu lists every integration key by name (for example, Workato Integration).

5

Enter signature impersonation in the Permissions field of the Add New Application dialog.

These permissions apply to every user who's a member of the organization's claimed domains.

6

Click Add to confirm and authorize the application.

Refer to the Docusign How to obtain admin consent for internal applications documentation for more information.

Each user you plan to connect as must grant individual consent to your JWT app. This allows the app to act on their behalf when sending envelopes.

INTEGRATION KEY AND REDIRECT URI

Ensure you complete the integration key and redirect URI steps from the JWT Grant setup section before you set up individual consent.

Complete the following steps to obtain individual user consent:


CONSENT DURING CONNECTION

Docusign prompts you to grant consent when you connect with JWT Grant authentication. This grants individual consent for the user who authenticates the connection. You only need to follow the steps above to pre-authorize consent for users who won't personally set up the connection, for example, so an admin can grant consent ahead of time for another user's connection.

Refer to the Docusign How to obtain individual consent documentation for more information.

Connect to Docusign with JWT Grant authentication

Complete the following steps to set up a JWT Grant connection to Docusign in Workato:

1

Click Create > Connection.

2

Search for Docusign and select it as your app.

3

Enter a name for your connection in the Connection name field.

Docusign JWT Grant connectionDocusign JWT Grant connection

4

Use the Location drop-down menu to select the project or folder where you plan to store your connection.

5

Use the Auth type drop-down menu to select JWT Grant.

6

Use the Demo drop-down menu to indicate if this is a demo Docusign account. Select Yes for demo/sandbox accounts or No for production accounts.

7

Enter the integration key from your Docusign application in the Client ID field.

8

Enter the User ID from the JWT Grant setup steps in the User ID field.

9

Enter the RSA private key from the JWT Grant setup steps in the Private key field. Enter the complete private key including the -----BEGIN RSA PRIVATE KEY----- and -----END RSA PRIVATE KEY----- headers.

10

Optional. Enter the Account ID to specify a Docusign account when you have multiple accounts. You can find the account ID by navigating to Admin > Apps and Keys > API Account ID. The connection selects your first Docusign account by default.

11

Optional. Enter the Connect key in the Connect key field to validate your webhook requests. Refer to the Docusign Add HMAC keys for your app documentation for more information.

12

Optional. Use the Custom OAuth profile drop-down menu to select a custom OAuth profile for your connection.

13

Click Connect. Workato redirects you to Docusign to authorize the connection.

14

Click Allow Access to grant the Workato integration permission to access your account.

JWT consent screenJWT consent screen

OAuth 2.0 (Authorization Code Grant)

Use OAuth 2.0 (Authorization Code Grant) to connect to Docusign by signing in and granting access through Docusign's authorization flow. All documents are sent from the email address of the user who authorized the connection.

Connect to Docusign with OAuth 2.0 (Authorization Code Grant)

Complete the following steps to set up an OAuth 2.0 authentication connection to Docusign in Workato:

1

Click Create > Connection.

2

Search for Docusign and select it as your app.

3

Enter a name for your connection in the Connection name field.

Docusign OAuth 2.0 (Authorization Code Grant) connectionDocusign OAuth 2.0 (Authorization Code Grant) connection

4

Use the Location drop-down menu to select the project or folder where you plan to store your connection.

5

Use the Auth type drop-down menu to select OAuth 2.0 (Authorization Code Grant).

6

Use the Demo drop-down menu to indicate if this is a demo Docusign account. Select Yes for demo/sandbox accounts or No for production accounts.

7

Optional. Enter the Account ID to specify a Docusign account when you have multiple accounts. You can find the account ID by navigating to Admin > Apps and Keys > API Account ID. The connection selects your first Docusign account by default.

8

Optional. Enter the Connect key in the Connect key field to validate your webhook requests. Refer to the Docusign Add HMAC keys for your app documentation for more information.

9

Optional. Use the Custom OAuth profile drop-down menu to select a custom OAuth profile for your connection.

10

Click Connect.

API version by trigger and action

The Docusign connector's actions and triggers call a mix of Docusign eSignature REST API v2.0 and v2.1 endpoints. If you see response differences from what the Docusign API reference documentation describes, check whether the action or trigger you're using is on v2.0.

TypeNameAPI version
TriggerNew document eventv2.0
TriggerNew document receivedMixed (v2.1 and v2.0)
TriggerNew recipient eventv2.1
ActionCreate draft envelope from templatev2.1
ActionCreate/send documentv2.0
ActionDownload documentv2.0
ActionGet envelopev2.1
ActionGet envelope recipientsv2.1
ActionGet templatev2.1
ActionList documents in envelope (batch)v2.0
ActionList envelopes (batch)v2.1
ActionList templates (batch)v2.1
ActionResend envelopev2.1
ActionSend document using a templatev2.0
ActionSend envelope by IDv2.1
ActionVoid envelopev2.1

Last updated: