Microsoft Dynamics CRM Integration with PandaDoc


Focus:  The focus of this self-help article is to provide the steps and information necessary to integrate Microsoft Dynamics CRM with PandaDoc.

What does this Integration do? This integration will allow you to create, send, and track quotes, proposals, and contracts from within Microsoft Dynamics CRM. You will be able to start the document creation process from Opportunity, Account and Contact entity from Microsoft Dynamics CRM. Opportunity records with all of your custom fields and contact information, product info as well as pricing details, will flow seamlessly into your documents.

Before you get started, please make sure that you have a PandaDoc account (Don’t have one yet? Sign up here.)

Microsoft Dynamics Custom Entities: Learn more about using this integration with Custom entities for Microsoft Dynamics.  

Step 1: Installation of PandaDoc in Microsoft Dynamics CRM.

Step 1a: Use the following link and download the “Zip” file that will be used to install PandaDoc into Microsoft Dynamics CRM.

Zip file for MS Dynamics 2016: https://s3-us-west-2.amazonaws.com/pd-integrations-packages/msdynamics/PandaDoc-MSDynamics-1-1-0.zip

If you have older version of MS Dynamics, please contact us by using the Green help button found on the lower right of your account.

Step 1b: Open Microsoft Dynamics CRM, go to Settings > Customization > Solutions.

MS Dynamics - Step 1 - install PD into MS Dyanmics

Step 1c: Click on Import button, then click on “Choose File” and select the Zip file you downloaded from Step 1a. Click Next.

MS Dynamics - Step 2 - install PD into MS Dyanmics -using Zip file

Step 1d: Click Import to finalize the installation.

 MS Dynamics - Step 2a - Complete Installation

MS Dynamics - Step 2b - installing

Step 2: Access Microsoft Dynamics CRM entities to review the newly added PandaDoc module.

To access the PandaDoc module, open any Opportunity, Account or Contact record. If you see a screen like this, please click “connect” and login to your PandaDoc account.

MS Dynamics CRM - Step 3 - connect to PD

Once you’re connected, you will see a list of related documents to an Opportunity, Account or Contact entity, if applicable.

MS Dynamics - Step 3a - Connected to PD

Step 3: Setup of PandaDoc Templates to be used with Microsoft Dynamics CRM.  Next, we need to setup our templates and what data we want to pull from Microsoft Dynamics CRM. In the following sections, we will discuss the setup of “Roles” and “Tokens”.

Step 3-A: Use of PandaDoc Roles and templates to import Contact information. With the use of PandaDoc Roles, we can import contact information from Microsoft Dynamics CRM Opportunity object: First Name, Last Name, Email Address and Company. Click here for more details about how to use PandaDoc Roles.

Step 3-B: Setup your tokens to pre-populate your documents with deal data.

Tokens are very helpful timesavers that will auto-fill information from an entity into a document. Learn more about tokens here.

Step 3-C: Access to configure the PandaDoc module to include Microsoft Dynamics CRM fields for PandaDoc tokens

To view all of the available data that you can push from an Opportunity, Account and Contact entity record via tokens to a document, we have to configure the PandaDoc module in Microsoft Dynamics CRM and select the tokens to use.

You can find this module, by clicking on Settings > Settings > Extensions > PandaDoc Settings.

MS Dynamics - Step 4a - Configure PandaDoc Settings

Step 3-D: Configuring fields and to be used for tokens. Here you will see PandaDoc Settings that includes details and information and Configure tokens.

In the Configure token section, you will see “Opportunity”, “Account” and “Contact”. You can click on each entity and you will see a list of fields. Check the box next to each field you want to add and then click on the green button “Save Mapping for Opportunity”.

MS Dynamics - Step 4b - Configure PandaDoc Settings - Adding fields

Step 3-E: Review of fields that were added for tokens inside of the PandaDoc module. In this example, we will go back to an Opportunity. On the right side, find the PandaDoc Module. Click on the green “gear” icon and then click on “Tokens”. You will then see a list of tokens that you can use for PandaDoc templates for each object.

MS Dynamics - Step 4c - Review tokens in Opp

Step 3-F: Using Tokens from Microsoft Dynamics CRM and adding to your PandaDoc Templates.

To do so, first, go to PandaDoc and open your template. Then copy and paste token IDs from the PandaDoc panel within Microsoft Dynamics CRM into your template. The most important thing is to place them into square brackets. The brackets are what differentiates them from regular text.


From now on every document that you create from a deal within Microsoft Dynamics CRM — using this template — will be prefilled with the Company name and Total Amount.

Step 3-G: Custom Fields from Microsoft Dynamics CRM.  You can also send over custom fields that you created in Microsoft Dynamics CRM. Once you have your custom fields, follow Step 3-D above to add those custom fields to be used with PandaDoc.

Step 4: Pre-populate your documents with product and pricing details from within a Microsoft Dynamics CRM opportunity.

Example Product in Microsoft Dynamics CRM:

MS Dynamics - Step 5a- Products - Example of product in app

Step 4-A: Setup PandaDoc to allow Products from Microsoft Dynamics CRM. In order to do this, all that is required is that you add a pricing block and enable the “Automatically add products to this table” feature. This will pull in the Microsoft Dynamics CRM product information, including custom fields, you added to the Microsoft Dynamics CRM product.

Now every document created from a Microsoft Dynamics CRM deal will have all of the products, quantity, and pricing information from that particular deal.

Step 5: Sending and Tracking your documents.

Step 5-A: Sending your first document. Under an Microsoft Dynamics CRM entity (Opportunities, Accounts, Contact), login to PandaDoc to begin document creation. See screenshot below for an example under “Opportunities.”  Going forward, you always want to make sure that you’re logged into PandaDoc when you want to create a document through Microsoft Dynamics CRM.

MS Dynamics - Step 6a - Create new Document

Step 5-B:  Tracking Once you have sent out PandaDoc documents from Microsoft Dynamics CRM, you can find the attached documents, by accessing the PandaDoc module for that specific object in Microsoft Dynamics CRM.

MS Dynamics - Step 6 - Review of documents in PD module

Step 6: Microsoft Dynamics Custom Entities. This integration does offer to setup the PandaDoc module to be used with Microsoft Dynamics custom entities.  Learn more about using this integration with Custom entities for Microsoft Dynamics.  

Have questions? For faster support please:

  1. Log in to PandaDoc
  2. Then click on the help button
  3. Choose Contact Support option

Or feel free to contact us using our public form:

Contact Support