Send an approved Salesforce quote for signature and mark it accepted

When a quote's status changes to Approved, a Salesforce flow calls the Start Docusign Workflow action, and the workflow reads the quote and up to five quote lines, marks the quote Presented and sends it to the quote's contact. Once the contact signs, it marks the quote Accepted and files the signed quote on it; if the envelope is declined, the quote is marked Denied instead.

Your CRM
Free download: the workflow file to import, the quote template and the field map
› Read the transcript

Northwind Robotics wants the whole package: the platform, forty robot connectors, predictive maintenance, onboarding and premium support. Daniel has built the quote in Salesforce, five lines with a twelve percent discount.

The quote is in review. Once it is approved, it goes to Priya Nair for signature.

When a quote's status changes to Approved, this Salesforce flow runs. The flow is the part we set up.

It calls the action Start Docusign Workflow, which comes from Docusign itself in Docusign Apps Launcher, with the quote's record ID.

In Docusign, the workflow reads the quote and all five lines from Salesforce, marks the quote as presented, fills the quote template line by line, and sends it to Priya.

When she signs, the quote becomes Accepted and the signed copy is filed on it. If she declines, the quote is marked Denied. The Salesforce steps come from the Salesforce app that Docusign publishes in the App Center.

In a live org, an approval process moves the quote to Approved. Here Daniel sets it by hand.

That status change started the Docusign workflow. A minute later, the quote reads Presented: it is with Priya.

Priya gets the quote by email.

The quote number, the expiry date, the contact and her title come from Salesforce, and so does every line: product, quantity, price and amount, then the discount and the total.

Priya signs and finishes.

Back in Salesforce, the quote is Accepted, and the signed quote is filed on it.

Daniel never left the CRM, and nobody rebuilt the quote by hand in a document.

The status change is one way in. Because the workflow starts from an API call, there are others. Beside a second quote, for the warehouse expansion, the Docusign WorkflowLauncher, our browser extension, recognises the quote.

Daniel picks the quote workflow, and the launcher fills in the quote's record ID.

He launches it, and the quote goes to Marcus Webb for signature.

Any other system can start it the same way, through the Docusign workflow API. That is what our Baton service does for platforms with webhooks.

Starts
From a Salesforce flow, an API call or by hand
Steps
9
Document
Quote, 1 page
Signers
The customer contact
Last test run
27 November 2026
Workflow Builder canvas: Start Workflow from an API call, Read Quote and Read Quote Lines from Salesforce, Mark Quote Presented, Prepare Quote, Send for Signature to the customer, Check the Quote Was Signed, then Mark Quote Accepted and File the Signed Quote, or Mark Quote Denied.
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 Salesforce flow, the Docusign WorkflowLauncher or Baton, or Run Workflow by hand. Input: Record ID, the quote's ID.
  2. 1
    Read QuoteRead from Salesforce, Quote where Quote ID equals Record ID: Quote Number, Status, Expiration (text), Bill To Name and the bill-to street, city and state code, Discount, Subtotal, Grand Total, Contact ID, and the quote contact's Full Name, Email and Title.
  3. 2
    Read Quote LinesRead from Salesforce, Quote Line Item where Quote ID equals Record ID, multiple records: for each of up to five lines, the product's Product Name, Quantity, Sales Price and Total Price.
  4. 3
    Mark Quote PresentedWriteback to Salesforce, Update on the quote: Status becomes Presented.
  5. 4
    Prepare QuotePrepare eSignature Template: the quote template, with its 29 data labels mapped, 9 for the header and totals and 20 for the five lines.
  6. 5
    Send for SignatureSend Documents for Signature, remote: to the quote's contact.
  7. 6
    Check the Quote Was SignedSigned: Envelope Status equals completed. Otherwise the run takes the not-signed path.
  8. 7
    Mark Quote AcceptedWriteback to Salesforce, Update on the quote: Status becomes Accepted.
  9. 8
    File the Signed QuoteStore files in Salesforce: the combined envelope PDF in the quote's Files, as Signed Quote {Quote Number}.
  10. 9
    Mark Quote DeniedOn the not-signed path, Writeback to Salesforce, Update on the quote: Status becomes Denied.

Field map

Where each data label on the quote is filled from in Salesforce
Data label on the quoteSalesforce fieldStep
Customer_NameQuote / Bill To Name1
Bill_ToQuote / Bill To: Street, City, State/Province Code1
Contact_NameQuote / Contact / Full Name1
Customer_TitleQuote / Contact / Title1
Quote_NumberQuote / Quote Number1
Quote_ExpiresQuote / Expiration (text), a formula field1
Line1_ProductQuote Line Item [1] / Product / Product Name2
Line1_QtyQuote Line Item [1] / Quantity2
Line1_PriceQuote Line Item [1] / Sales Price2
Line1_AmountQuote Line Item [1] / Total Price2
Line2_ProductQuote Line Item [2] / Product / Product Name2
Line2_QtyQuote Line Item [2] / Quantity2
Line2_PriceQuote Line Item [2] / Sales Price2
Line2_AmountQuote Line Item [2] / Total Price2
Line3_ProductQuote Line Item [3] / Product / Product Name2
Line3_QtyQuote Line Item [3] / Quantity2
Line3_PriceQuote Line Item [3] / Sales Price2
Line3_AmountQuote Line Item [3] / Total Price2
Line4_ProductQuote Line Item [4] / Product / Product Name2
Line4_QtyQuote Line Item [4] / Quantity2
Line4_PriceQuote Line Item [4] / Sales Price2
Line4_AmountQuote Line Item [4] / Total Price2
Line5_ProductQuote Line Item [5] / Product / Product Name2
Line5_QtyQuote Line Item [5] / Quantity2
Line5_PriceQuote Line Item [5] / Sales Price2
Line5_AmountQuote Line Item [5] / Total Price2
SubtotalQuote / Subtotal1
DiscountQuote / Discount1
Grand_TotalQuote / Grand Total1

Written back: Status = Presented; Status = Accepted, or Denied when not signed

Filed to: Quote / {Record ID} / Files / Signed Quote {Quote Number}.pdf

Page preview of the sample quote, 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 quote that fills itself

The highlighted fields are the quote's data labels, shown here with sample values. The field map lists where each one comes from in Salesforce or the start inputs. Each field sits on a hidden anchor tag, so you can use your own quote: keep the 29 data labels and the workflow keeps working.

Set it up

  1. Install and connect the apps

    Install the Salesforce app and Docusign eSignature for Salesforce, which Docusign publishes, and connect them to Salesforce. An admin does this once. More on them: Salesforce and Docusign integrations.

  2. Prepare Salesforce

    Turn on Quotes, put your products in a price book, and add Expiration (text) to Quote, a formula that writes the expiration date out. A field added after you connect the Salesforce app appears in its steps once you choose Reload Objects on the connection in the App Center.

  3. Import the workflow

    In Docusign, go to Agreements, Workflows, Create Workflow, then Import Workflow, and pick the .zip. When it asks, pick your Salesforce connection. Check the mapping on Prepare Quote, then publish.

  4. Add the flow and test

    In Salesforce, add a record-triggered flow on Quote that runs when Status changes to Approved, with the Start Docusign Workflow action on its asynchronous path: the workflow's ID, and Record ID set to the quote's ID. Then approve a test quote of five lines or fewer, with yourself as its contact.

Make it yours

  • Stop quotes of more than five lines before they go out: Read Quote Lines returns at most five lines and gives no warning about the rest. Count the quote lines in the Salesforce flow and end it above five, or use Docusign Gen for Salesforce for longer quotes.
  • Run it without an approval process: set the condition of the Salesforce flow to the status your reps choose when a quote is ready. The workflow itself sets Presented, then Accepted or Denied.
  • Print the expiry date in words: Workflow Builder cannot format a date, so Quote_Expires reads Expiration (text), a Salesforce formula field, instead of Expiration Date, which prints as 2026-12-31.
  • File the signed quote on the opportunity as well: add the quote's Opportunity ID to Read Quote, and a second Store files in Salesforce step that files on it.

Questions

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

Docusign publishes the Salesforce app in the Docusign App Center, which adds the Read from Salesforce, Writeback to Salesforce and Store files in Salesforce steps, Docusign Apps Launcher with its Start Docusign Workflow action, and Docusign Workflow Builder. You set up the rest: Quotes and the Expiration (text) field, your approval process, the Salesforce flow, the workflow and the quote document. The .zip brings the last two.

Why at most five lines?

Read Quote Lines returns at most five quote line items and gives no warning when a quote has more, so lines after the fifth do not print. On a quote with fewer lines, the empty rows print blank, except for a quantity of 0. For longer quotes, or tables that group products, Docusign Gen for Salesforce is the Docusign product built for them.

What starts the workflow?

A record-triggered Salesforce flow, when a quote's status changes to Approved, for example at the end of your approval process. It calls the Start Docusign Workflow action with the quote's ID. The workflow starts from an API call, so the Docusign WorkflowLauncher, our browser extension, Baton or Run Workflow can start it with the same Record ID.

What if the customer declines?

Check the Quote Was Signed takes the other path, and Mark Quote Denied sets the quote's status to Denied. No file is added.

The import says an app linked to a workflow step is missing.

Install and connect the Salesforce app from Docusign first, with a connection to your Salesforce org, then import the .zip again. Docusign does not name the missing app in that message.

Need it to match your sales 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 Salesforce app and Docusign eSignature for Salesforce are published by Docusign. To ask us to remove a mark, email hello@fluidlabs.com.