Video, 3:14Send a relocation agreement when a relocation request is submitted
Fills the relocation agreement from the request, sends it to the employee and HR, and files the signed copy back on the request.
When a manager approves a software purchase request in ServiceNow, a flow action sends the request's details to the Workflow Builder API, and the workflow fills the order form and sends it to the vendor, then to the buyer. Once both have signed, a web request calls ServiceNow back, and ServiceNow checks the envelope with Docusign, marks the order form signed and attaches the signed PDF to the request.
Northwind Robotics is buying twenty-five seats of fleet analytics software from Larkspur Analytics. Purchase requests live in ServiceNow, so that is where this one starts.
John, in IT operations, fills in the product, the vendor, the seats and the annual fee.
Then the subscription dates, who signs for Larkspur, and Jane Doe, who countersigns for Northwind.
He orders it and checks out.
First, his manager has to approve it. That approval is what starts the agreement.
Jane Doe, John's manager, finds the request in her approvals in ServiceNow.
She approves it, and that is what starts the order form.
In ServiceNow, this flow runs when a software request is submitted, and asks the requester's manager to approve.
Once the manager approves, its last step, Start Docusign workflow, sends the order to Docusign. That step is the part we built. On a licensed ServiceNow instance, the ServiceNow app from Docusign offers the same start.
On the request, the agreement status is now Sent for signature, and the work notes record the Docusign workflow that started.
In Docusign, the workflow starts from an API call with the order's details, fills the order form, and sends it to Larkspur, then to Jane.
Its last step calls ServiceNow back with the result.
Richard Roe, the account executive at Larkspur, gets the order form by email.
It is one page, filled in from the ServiceNow request: the product, twenty-five seats, the annual fee and the term.
Richard signs, and finishes.
Then Jane countersigns for Northwind.
Richard's signature is already on it. Jane signs, and finishes.
Back in ServiceNow, the request shows the order form as signed, with the Docusign envelope ID.
The signed copy is attached to the request. Before ServiceNow files anything, it checks the envelope with Docusign itself.
There are three ways to start this workflow. The first is the one you just saw: a request approved in ServiceNow.
The second is the Docusign WorkflowLauncher, a browser extension from Fluidlabs. Open it next to a ServiceNow request, search for the order form workflow, and pick it.
Each input takes a value from the page: the request number and ID, the product, the seats and who signs for the vendor.
You fill in the rest and launch it, without leaving ServiceNow.
The third way, a webhook through Baton, will start this workflow straight from ServiceNow's events. A Baton source for ServiceNow is coming.

| Data label on the software order form | ServiceNow field | Step |
|---|---|---|
Request_Number | Start input requestNumber | Start |
Requested_For | Start input requestedFor | Start |
Product | Start input product | Start |
Seats | Start input seats | Start |
Annual_Fee | Start input annualFee, formatted as US dollars by ServiceNow | Start |
Term | Start input term, the start and end dates written out by ServiceNow | Start |
Written back: Agreement status = Sent for signature when the workflow starts, Signed once both have signed; Docusign envelope ID = The signed envelope
Filed to: Requested item / {requestSysId} / Attachments / Signed Software Order Form {requestNumber}.pdf

The highlighted fields are the software order form's data labels, shown here with sample values. The field map lists where each one comes from in ServiceNow or the start inputs. Each field sits on a hidden anchor tag, so you can use your own software order form: keep the six data labels and the workflow keeps working.
In ServiceNow, add an OAuth provider entry in System OAuth, Application Registry, for a Docusign integration key, and a REST message named for the Workflow Builder trigger API that uses it. Get a token for the REST message once, as an admin.
In the catalog item's flow, ask the requester's manager to approve, and when the approval is Approved, call a Flow Designer action that posts the requested item's variables to the trigger API through that REST message. Dates are sent written out and amounts as US dollars.
Add a scripted REST API that only a dedicated integration user may call. It records the request's ID and the envelope ID, and a script that runs as the system reads the envelope from Docusign, checks the signers against the request, sets Agreement status to Signed, stores the envelope ID and attaches the signed PDF.
In Docusign, go to Agreements, Workflows, Create Workflow, then Import Workflow, and pick the .zip. After Send Documents for Signature, add a Make a Web Request step with a Basic connection for the integration user, posting requestSysId, the envelope ID and the document name to your endpoint. Publish, then approve a test request with your own inbox as the vendor.
On a licensed ServiceNow instance, you can take the packaged route instead: the ServiceNow app and the Docusign IAM app in ServiceNow. Docusign publishes both. More on them: ServiceNow and Docusign integrations.
Docusign Workflow Builder, its trigger API and the Make a Web Request step are Docusign products. You set up the ServiceNow side with core ServiceNow features: the OAuth entry, the approval and the flow action that start the workflow, and the scripted REST endpoint that files the result. Nothing from Docusign is installed in ServiceNow. The .zip brings the workflow and the order form template; the ServiceNow pieces are described under Set it up and are not in the download.
The manager's approval. The ServiceNow flow waits for it after the request is submitted, and once it reads Approved, its action posts the request's variables to the Workflow Builder trigger API. The workflow starts from an API call, so the Docusign WorkflowLauncher, our browser extension, or Run Workflow can start it with the same inputs.
The last step, the Make a Web Request step you add after the import, posts the request's ID and the envelope ID to your scripted REST endpoint. ServiceNow then reads the envelope from Docusign, checks it is completed and signed by the people the request names, sets Agreement status to Signed, stores the envelope ID and attaches the signed PDF.
The .zip has no step from a connected app, so the import should not ask for one. The step that calls ServiceNow back is the one you add after the import, with a Basic connection for your integration user. If the message appears, check that your account has Workflow Builder and import the .zip again.
We adapt library workflows to your stages, approvals and documents, and build private apps when a system has no app yet.
Video, 3:14Fills the relocation agreement from the request, sends it to the employee and HR, and files the signed copy back on the request.
Video, 3:38Fills the order form from the opportunity, its account and primary contact, and closes the opportunity as won once both sides sign.
Video, 1:55Fills an order form from the quote, its customer and contact, collects both signatures and files the signed copy on the quote.
Docusign is a trademark of Docusign, Inc. The ServiceNow app and the Docusign IAM app in ServiceNow are published by Docusign. To ask us to remove a mark, email hello@fluidlabs.com.