Send a software order form from an approved ServiceNow 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.

Your service platform
Free download: the workflow file to import, the software order form template and the field map
› Read the transcript

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.

Starts
From a ServiceNow approval, an API call or by hand
Steps
3
Document
Software order form, 1 page
Signers
The vendor, then the buyer
Last test run
28 November 2026
Workflow Builder canvas: Start Workflow from an API call, Prepare eSignature Template, Send Documents for Signature to the vendor and the buyer, then File the Result in ServiceNow.
Captured in Docusign Workflow Builder with sample records.View full size

What it does

  1. Start: Start WorkflowFrom an API call: the Start Docusign workflow action in a ServiceNow flow once the manager approves, the Docusign WorkflowLauncher, or Run Workflow by hand. Inputs: requestSysId, product, seats, annualFee, term, vendorContactName, vendorContactEmail, buyerName, buyerEmail, requestNumber, requestedFor.
  2. 1
    Prepare eSignature TemplateThe software order form, with its six data labels filled from the start inputs.
  3. 2
    Send Documents for SignatureRemote signing: to the vendor's signer first, then the buyer's countersigner named on the request.
  4. 3
    File the Result in ServiceNowMake a Web Request: a POST to the scripted REST endpoint with requestSysId, the envelope ID and the document name. ServiceNow reads the envelope from Docusign, then sets Agreement status to Signed, stores the envelope ID and attaches the signed PDF to the request. Not in the .zip: you add this step after the import, with your own connection.

Field map

Where each data label on the software order form is filled from in ServiceNow
Data label on the software order formServiceNow fieldStep
Request_NumberStart input requestNumberStart
Requested_ForStart input requestedForStart
ProductStart input productStart
SeatsStart input seatsStart
Annual_FeeStart input annualFee, formatted as US dollars by ServiceNowStart
TermStart input term, the start and end dates written out by ServiceNowStart

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

Page preview of the sample software order form, with its data label fields highlighted and filled with sample values.
Northwind Robotics and Larkspur Analytics are fictional companies. This is a demonstration document. Sample document for workflow testing. Have counsel review before use.
The document

A software order form that fills itself

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.

Set it up

  1. Connect ServiceNow to Docusign

    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.

  2. Add the approval and the start

    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.

  3. Add the result endpoint

    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.

  4. Import, finish and test

    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.

Make it yours

  • Add order lines: the flow action sends every catalog variable under its own name, so a new data label needs a variable of the same name on the catalog item, a matching start input and a mapping in Prepare eSignature Template.
  • Require more than the manager's approval: add approval steps to the catalog item's flow before the start, for example procurement or finance above an annual fee you set.
  • Countersign with someone else: the buyer's countersigner is a variable on the request. Point Send Documents for Signature at another start input to send it to a fixed approver instead.

Questions

Which parts are Docusign products, and which do I set up?

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.

What starts the workflow?

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.

How does the signed copy get back to the request?

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 import says an app linked to a workflow step is missing.

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.

Need it to match your approval process?

We adapt library workflows to your stages, approvals and documents, and build private apps when a system has no app yet.

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.