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.

What does the integration do?
The Salesforce integration with PandaDoc will allow you to create PandaDoc documents from Opportunities, Leads and Account. You will be able to pull information from Opportunity, Leads and Account information, Salesforce products into a PandaDoc document and setup triggers.

Version 1.26 Notes: This version will no longer be available after 3/11/2016. This version works with Salesforce “Group”, “Professional”, “Enterprise”, “Unlimited”, or “Developer edition”. This version does not include Triggers. You will need to have Salesforce Admin rights to install the PandaDoc module.

Version 1.37 Notes: Available after 10/3/2017. You will need Salesforce: “Enterprise”, “Unlimited”, or “Developer edition”. You will have the features available in Version 1.30-1.36 plus couple fixes and possibility to apply changes from PandaDoc. You will need to have Salesforce Admin rights to install the PandaDoc module. If you would like to install this version, please contact Support within PandaDoc by clicking on the green “Help Button” at the bottom right.​

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

  • 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)
  • Change a stage of an opportunity to X if document status is Y. E.g. change an opportunity state to “Close Won” when document status is Completed. (Available out of the box, stages mapping is configurable.)
  • Get data your customer entered in a document and update an opportunity with this data (requires custom development)
  • Get products from a document when it’s sent/completed and sync it 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