Professional Documents
Culture Documents
DocuSign Connect
V3.0
Service Guide
th
701 5 Avenue, Suite 4500
Seattle, WA 98104
tel 206.219.0200
fax 206.622.0736
www.docusign.com
DocuSign Connect Service Guide ii
Stick-eTabs, DocuSign Professional, DocuSign Web, the DocuSign logo, “The fastest way to get a signature.”, and DocuSign are trademarks or
registered trademarks of DocuSign, Inc. in the United States and/or other countries. All other trademarks and registered trademarks are the
property of their respective holders.
Licensed under U.S. Patent 6,289,460, U.S. Patent 6,944,648, and other patents pending.
Copyright ©2003-2010 DocuSign, Inc. All rights reserved.
DocuSign_Connect_Service_Guide_08262010.pdf
DocuSign Connect Service Guide iii
Table of Contents
DocuSign Connect Service .................................................................................... 1
Introduction........................................................................................................................................................................... 1
Setup ........................................................................................................................ 1
Setting Up the Account .................................................................................................................................................... 1
Solution Architecture............................................................................................. 3
XML Information Structure ................................................................................... 5
Key Transaction Elements ................................................................................................................................................ 5
Form Field Data.................................................................................................................................................................... 6
Technical Details..................................................................................................... 6
Running the Service ........................................................................................................................................................... 6
Best Practices ........................................................................................................................................................................ 7
Sample Connect Service Message ................................................................................................................................ 7
DocuSign Connect Service Guide 1
Introduction
The DocuSign Connect Service enables the sending of real‐time data updates to external applications.
These updates are generated by user transactions as the envelope progresses through actions to
completion. The Connect Service provides updated information about the status of these transactions
and provides updates that include the actual content of document form fields; however these updates
might or might not include the document itself. The Connect Service is useful to organizations that want
a real‐time view into the transactions across their user base in a centralized location. This information can
be customized to drive reporting or workflow specific to that organization’s needs.
In order to take advantage of this feature, the external application must establish a secure (HTTPS)
‘listener’ that can be accessed by the DocuSign Connect Service. The ‘listener’ is an application that
accepts XML transactions sent from the DocuSign Connect Service as events happen. This interface is not
a SOAP API, such as the other interfaces in the DocuSign System, instead the messages are sent through
an HTTP POST.
Setup
In order to use the DocuSign Connect Service, the Connect Service must be enabled in your DocuSign
account. It is not enabled by default. Once enabled, the Connect Settings page can be accessed from the
DocuSign Console.
At a high level, the following steps must be taken to use the Connect Service:
1) Request your account be configured to publish transaction updates. Your DocuSign Account
Manager can help you with this step.
2) Select the events you will use as triggers for updating the information. Events can include several
items such as document sent, viewed, signed, completed, etc.
3) Develop an understanding of the XML data sent from the DocuSign Connector Service to your
application.
4) Create an application at your HTTPS location that can accept data, parse the inbound XML data
and utilize it. This is a web application written specifically for your business.
2. In the navigation bar on the left side of the page, under the Account Administration heading, click
Features. Your account features page appears.
Scroll down to the DocuSign API heading and select DocuSign Connect.
Enable
DocuSign
Connect
Click Save.
3. In the navigation bar on the left side of the page, under the Account Administration heading, click
Connect. The DocuSign Connect Settings page appears.
4. Click the Custom 1 tab or the New Custom tab to add a new setting.
From this page you set the URL that the envelope information is sent to, select the events that
generate information and select the users integrated with the information. Note that there is a
specific tab Salesforce.com; for information specific to the Salesforce.com, please refer to the
DocuSign for Salesforce documentation.
DocuSign Connect Service Guide 3
Solution Architecture
The DocuSign Connect Service acts on behalf of user accounts when transactions reach specified triggers.
At that point an XML status change is sent to the listening web server.
Note that the delivery of the status is not guaranteed and the DocuSign System does not retry delivery in
cases where the web server is unavailable. A common solution to ensure that no status changes are
missed during the day is to create a nightly query using the DocuSign API RequestStatuses method to
reconcile any events that were missed.
DocuSign Connect Service Guide 4
You can manually publish a transaction to your listening web server using the Envelope Report tool in the
DocuSign console. This is done by going to the console, click Reports and then click Envelope Reports.
Select the search criteria for your reports and click View, a list of envelope events that meet the search
criteria is displayed. Select the Publish XML check boxes for envelopes you want to publish, select (or
verify that it is selected) the Apply DocuSign Connect Settings check box, and then click Publish XML.
Select the
reports to
publish and then
click Publish
XML.
Action is
finalized and
workflow is
updated
• Document ID(s)
• Document Password(s)
Document Content
• Custom Tab Name
• Custom Tab Value
• Custom Tab Label
• Custom Tab Required/Not Required
• Custom Tab Type (text, checkbox, radio, list)
• TabTypeCode (signature, initial, name, company, title, date)
• Document PDF Bytes (base 64)
To make use of this information your application must parse the inbound XML looking for the data
associated with each node you are evaluating. Then the application must extract the data and place it
into the external application.
Technical Details
The XML post from DocuSign contains the EnvelopeStatus object along with DocumentPDF objects, if the
configuration has the checkbox to include the push of the documents.
The DocuSign 3.0 API WSDL file that contains definitions for both structures is located on the DocuSign
website. It can be found at: https://www.docusign.net/api/3.0/api.asmx?wsdl.
Best Practices
In order to take advantage of the DocuSign Connect Service, a clear understanding of the use of the
information needs to be understood. Be sure to ask questions such as:
1. What data do you want to capture?
2. Who will be accessing this information?
3. What decisions or reporting will be generated?
4. Should the document be pushed?
These questions must be thought out and agreed in order to deploy a solution that will meet your
business needs. Additionally, developing the secure listener application to have some flexibility, such as
the DocuSign Connect for Salesforce application does, may enable modifications to the data that is
collected without requiring coding for minor adjustments. This field mapping approach enables future
modifications and changes that can be made by analysts.
<ValidationPattern />
<RoleName>TestRole</RoleName>
</TabStatus>
</TabStatuses>
<AccountStatus>Active</AccountStatus>
<RecipientId>fb89d2ee-2876-4290-b530-ff1833d5d0d2</RecipientId>
</RecipientStatus>
</RecipientStatuses>
<TimeGenerated>2010-06-26T09:19:45.771206-07:00</TimeGenerated>
<EnvelopeID>0aa561b8-b4d9-47e0-a615-2367971f876b</EnvelopeID>
<Subject>CreateEnvelopeFromTemplates Test</Subject>
<UserName>User Name</UserName>
<Email> user.email@address.com </Email>
<Status>Delivered</Status>
<Created>2010-06-26T09:16:21.27</Created>
<Sent>2010-06-26T09:19:19.01</Sent>
<Delivered>2010-06-26T09:19:40.747</Delivered>
<ACStatus>Original</ACStatus>
<ACStatusDate>2010-06-26T09:16:21.27</ACStatusDate>
<ACHolder>ACHolder Name</ACHolder>
<ACHolderEmail> ACHolder.email@address.com </ACHolderEmail>
<ACHolderLocation>ACHolder Location</ACHolderLocation>
<SigningLocation>Online</SigningLocation>
<SenderIPAddress>::1 </SenderIPAddress>
<EnvelopePDFHash />
<CustomFields>
<CustomField>
<Name>Envelope Field 1</Name>
<Show>False</Show>
<Required>False</Required>
<Value />
</CustomField>
<CustomField>
<Name>Envelope Field 2</Name>
<Show>False</Show>
<Required>False</Required>
<Value />
</CustomField>
</CustomFields>
<AutoNavigation>true</AutoNavigation>
<EnvelopeIdStamping>true</EnvelopeIdStamping>
<AuthoritativeCopy>false</AuthoritativeCopy>
<DocumentStatuses>
<DocumentStatus>
<ID>1</ID>
<Name>Document_Name</Name>
<TemplateName>radio parents</TemplateName>
<Sequence>1</Sequence>
</DocumentStatus>
</DocumentStatuses>
</EnvelopeStatus>
<DocumentPDFs>
<DocumentPDF>
<Name>DocumentPDF_Name</Name>
<PDFBytes>PDFBytes_Information</PDFBytes>
DocuSign Connect Service Guide 9
</DocumentPDF>
</DocumentPDFs>
</DocuSignEnvelopeInformation>
th
701 5 Avenue, Suite 4500
Seattle, WA 98104
tel 206.219.0200
fax 206.622.0736
www.docusign.com