Skip to main content

Order Forms & Salesforce Sync

Syncing order form line items and PDFs from Dock to Salesforce

Overview

The Dock <> Salesforce integration not only helps save time with your initial Workspace configuration, but it also plays a part in Order Forms. When an Order form is completed, Dock can attach the completed Order Form and line items to the associated records in Salesforce.

What order form data gets sent to the Salesforce Opportunity?

  • Order form line items will create Opportunity Line Items

  • Order form terms will get added to the Opportunity as Fields

  • Order Form PDF (once signed by all parties) will get attached to the Opportunity

When does the data push to Salesforce Opportunity record?

The data pushes after the Order Form has been published (not in draft stage). The push can take up to 5 minutes.


Getting Started

Step 1: Connect Dock and Salesforce. It's important that your Dock account has been connected to Salesforce!

Step 2: Turn on the order form sync. Toggle Sync Order Form PDFs to push the fully executed agreement to Salesforce.

Under Opportunities, toggle Sync Order Forms with Salesforce to link line items and pricebooks.

Step 3: Connect Products to Salesforce Pricebooks.

Navigate to the product within Dock and then select the Salesforce Pricebook. This is an important step in order to populate line items on the Opportunity!

Important Note! Salesforce only lets users have ONE pricebook per opportunity. We typically recommend that you link all products to the same SFDC Pricebook!


Creating Order Forms that Sync with Salesforce

After you've completed the admin setup, here's how the Order Form Sync will work with Salesforce:

Step 1: Connect the Workspace to the Account & Opportunity record.

The Account & Workspace related to the order form needs to be connected with the Salesforce Account & Opportunity records. This will happen in the flow of creating the workspace.

Step 2: Create the order form.

Add products from the Product Library that are linked to a Salesforce Pricebook. See Generating an Order Form for a full walkthrough of the process.

We recommend that RevOps teams keep close control of the products setup in Dock and only show the products that are connected to Salesforce Pricebooks in order to avoid confusion from within the team. That helps ensure that order form line item data gets pushed to SFDC!

Line Item Discounts in Dock

Line item discounts are possible and can be synced back to SFDC. Add a discount directly on the line item within your sales quote — see the discount field in the screenshot above.

Salesforce & Dock do not support the ability to provide a total discount (or tax) on the overall order form, due to limitations around Salesforce's architecture. These fields are automatically hidden when the integration is turned on.

Step 3: Order Form data will flow back to Salesforce

Once the order form is published, the order form data will get pushed back to Salesforce.

Opportunity Line Items

For any line item in the order form with an associated Pricebook in the product library, Dock will create a line item on the opportunity.

  • List price = price in the product library

  • Sales price = price in the product library

  • Total price = (sales price x quantity) - discount

Please note: to get discounts to show up on the opportunity line item record, you'll need to update the layout in Salesforce settings.

When the opportunity line items are added, the Opportunity total will automatically update.

Terms

Dock creates a section on the opportunity record with all of the different order form terms.

Attached PDF

Finalized order forms (signed by all parties) will be automatically attached to the SFDC record.


Tiered Pricing

Dock can push tiered pricing products to Salesforce. Each tier and pricing model will be a separate line item.

Here's what it looks like in Salesforce:


Additional Considerations

Discounts & Taxes

Salesforce & Dock do not support the ability to provide a total discount (or tax) on the overall order form, due to limitations around Salesforce's architecture. These fields are automatically hidden when the integration is turned on.

Custom line items

Dock will only push line items to Salesforce that have an associated Pricebook. This means that Custom Line Items will not get pushed as an Opportunity Line Item in Salesforce.

Overwriting Existing Line Items on Opportunity

When a new order form is created and synced with an opportunity, Dock will overwrite any line items that already exist on the Opportunity.

Creating an order form with products that don't have a Pricebook

Products that don't have a Pricebook tied in the Product library won't get pushed to the Opportunity Line Items.

Scenario to consider: You create a sales quote with some Products that are synced with Salesforce and other products that are not synced with Salesforce.

In this scenario, Dock will still let you create and publish the order form, but only the connected products (with a pricebook in the product library) will get pushed to the opportunity line items.

Did this answer your question?