Salesforce Integration with PandaDoc – Part 4: Two Way Sync Setup

Focus: The focus of this document is to provide you steps on how to install the PandaDoc module in Salesforce.

New triggers functionality in PandaDoc Salesforce version 1.39 package allows you to implement a custom automation on top of default PandaDoc integration. Here are some examples:

  • When documents are started from an Opportunity and the document is completed, a downloadable PDF Version will show up in the “Notes and Attachments” section in the Opportunity record. (Available out of the box)
  • Save all statuses history when it changed on the PandaDoc side (Available out of the box, deep configuration can be done in trigger setup)
  • Change opportunity stage to X if document status is Y, e.g. change an opportunity stage to “Close Won” when document status is Completed. (Available out of the box, stages mapping is configurable)
  • Add all document status changes as notes for SFDC entity. (Available out of the box)
  • Get data your customer entered in a document and update an opportunity with this data. (Requires custom development)
  • Sync products from a document when it’s sent/completed and back to an opportunity Products Line Items. (Requires custom development)

Step 1: To Access the triggers. Be sure to have the latest version of the PandaDoc Salesforce application installed. Once installed, click on the “+” at the top and then click on “PandaDoc Setup.

Salesforce integration - PandaDoc Module Access

Step 2: Adding API Key to Salesforce. Copy and paste your API Key from PandaDoc into API Key shown below. The API Key is found within PandaDoc by going to Settings > Integrations > Salesforce > Step 4.

Salesforce integration - PandaDoc Module Access -- Setup 2 Way Sync

Step 3: Triggers Setup and Configuration. Note that this if for Advanced Salesforce Admins only. This is a developer’s guide to help you setup custom triggers. In order to use feature, you will need to create your own triggers. To learn more about Salesforce triggers, please go click here.

Step 3a: Example Trigger. Shown below is an example of custom triggers for PandaDoc document statuses syncing back to Salesforce Opportunity Stage Field.

Salesforce integration - PandaDoc Module Access -- Document Trigger Settings Salesforce integration - PandaDoc Module Access -- Document Trigger Settings -Stage Setup

To see examples of the code that you will need to add, please download this Salesforce Custom Trigger Guide.

Next, please click on the this link to go through the steps on how to send documents using this integration.

Have questions? For faster support please:

  1. Log in to PandaDoc
  2. Click on the “Help” button next to your profile icon
  3. Choose Submit Help Request option

Or feel free to contact us using our public form:

Contact Support