Skip to main content

Microsoft Dynamics. Create and send PandaDoc documents

This integration lets you create, send, and track documents from various entities in Microsoft Dynamics CRM.

Availability: Business and Enterprise plans

This integration will allow you to create, send, and track documents from Opportunity, Account, Contact, Quotes, and custom entities from Microsoft Dynamics CRM.

Learn how to install the integration here.

Watch a short video overview:

Skip to:

Set up PandaDoc Templates to use with Microsoft Dynamics CRM

Set up the templates and what data you would like to pull from Microsoft Dynamics CRM. In the following sections, we will discuss the setup of roles and variables.

Use PandaDoc Roles to import Contact information

With template roles, you can import contact information (first name, last name, email address, company, phone, job title, street address, city, postal code, country, state/region) from Microsoft Dynamics CRM Opportunity object

In case you pre-assign a recipient on the template level, they will be automatically assigned to the role when the document is created.

  1. Open your template and select the Define roles step in your workflow builder.

  2. Click +Create role and name it as needed.
    ​

  3. Click anywhere on the template to enter editing mode.

  4. Select Manage variables under the template role in the right panel. Alternatively, open the View menu at the top of the page and select All variables.
    ​

  5. Locate your default role variables, which begin with the role name (e.g., Client.FirstName).

  6. Copy a variable and paste it where needed in your template.

Set up your variables to pre-populate your documents with opportunity data

Variables will save your time with auto-filling information from an entity into a document.

Note:

  • Date variables formatting depends on the default date format set up in your workspace settings.

  • Currency variable formatting is based on the recipient view locale. Custom money variables will pass to the document without a currency symbol and formatting.

Here's how to view data that you can send from Microsoft Dynamics CRM entity to PandaDoc documents. Click on the gear icon in the top right corner and select Advanced Settings.

Under Settings, go to Extensions, then click on PandaDoc Settings.

Here you can pre-set the data to pass from Microsoft Dynamics CRM. Please note, the data must be set up for each entity separately (in case you are going to create documents from more than one entity) and the data will not cross-populate.

  1. Under Configure tokens, you will see the entities in which you installed PandaDoc iFrame, for example, Opportunity, Account, Quote, or Contact

  2. Click +Add entity to set up data flow for your custom entity
    ​

  3. Each entity has its own list of fields that can be sent to PandaDoc. Select an entity you would like to configure, e.g. Opportunity

  4. On the left, check the box next to each field you want to pass, it will be added to the variables/tokens list on the right. Then click on the green button Save mapping.

Now, add variables/tokens to your template.

  1. Go to a Microsoft Dynamics entity, find the PandaDoc panel, click the gear icon, then Variables, and copy a variable name with the square brackets
    ​

  2. Open your PandaDoc template and add the variable on the template.
    ​

Passing information from Microsoft Dynamics into PandaDoc (via fields)

You can pass data into PandaDoc fields similarly to how variables operate. Unlike with variables, however, you don’t need to include square brackets.

In the list of tokens, copy the token without square brackets into Merge field.

Once the document has been sent, the recipient will see the pre-filled data and be able to update this field, provided the field has been assigned to them.

Send product information from Microsoft Dynamics to quote builder

You can send product information from a quote or an opportunity in Microsoft Dynamics. To do this, add the quote builder block to your template first, then create a document from a quote or an opportunity in Microsoft Dynamics.

Once you create a document using this template, the product information (item name, description, price, discount, tax, currency, SKU, quantity, and custom fields) will be sent to the quote block.

To unhide custom fields in the created document click on the quote builder block > select Edit quote on the floating panel, select Add column at the top right of a section > and select your custom column from the dropdown.

Note: If you have several sections in your quote builder block products will be pulled to the last section. If you have several quote builder blocks in your template, products from your quote/opportunity will be pulled to each block.

Sending and Tracking your documents

Warning: PandaDoc pulls Document recipients only from Microsoft Dynamics Opportunity fields: Account, User, Contact. Opportunity Stakeholders are not supported.

  1. Open your entity, go to the PandaDoc module, then click Create new document
    ​

    mceclip2.png

  2. Choose a template or select the templates you’d like to bundle, then select Add items and assign recipients to roles, if applicable. Contacts from your Opportunity will appear under 'Integration contacts' in the dropdown menu.
    ​

  3. Go back to the record > PandaDoc module and review your document status there.
    ​

Troubleshooting

Login loop

If you're repeatedly prompted to sign in to PandaDoc, check your browser settings to ensure that third-party cookies are enabled.

Blank PandaDoc iFrame

After updating the integration package, if the PandaDoc module does not appear within an entity, you may need to manually add the PandaDoc iFrame to the object. For instructions, refer to this section.

PandaDoc iFrame stuck on loading screen

If the PandaDoc module remains stuck on the loading screen, make sure you save the record you're working on (e.g., opportunity, account) before opening the PandaDoc module. This issue often occurs when a new record is created but not saved before accessing the module.

Boolean field type only passes first value as a token

If a Boolean field only passes the first value (e.g., "Yes" in a "Yes/No" field) as a token to PandaDoc, it means only the first option is being recognized. To fix this, use an OptionSet field instead of a Boolean field.

Blank or gray screen during document creation

If you encounter a blank or gray screen when trying to create a new document, your permissions may be misconfigured. Have your account admin check the following:

  1. Go to Settings > Security.

  2. Select Security Roles.

  3. Open the affected user's Team Member Role.

  4. Go to the Custom Entities tab and locate PandaDoc Tokens Mapping.

  5. Ensure the Read permission is enabled.

PandaDoc missing on some standard objects

If PandaDoc is not visible on certain standard objects (Opportunity, Account, Contact, Quotes) after installing the integration, it may be due to custom settings or connections preventing the iframe from being added automatically.

In this case, manually add the PandaDoc iFrame to the object. For detailed instructions, refer to the this article.
​

Did this answer your question?