Skip to main content

Microsoft Dynamics 365. Pass data into PandaDoc documents

Availability: Business and Enterprise plans

Data-import integration with Microsoft Dynamics 365 allows you to pre-populate PandaDoc documents with data from Microsoft Dynamics 365 to easily send and esign them. This integration works with Competitors, Opportunities, Contacts, Quotes, Leads, and Accounts objects in Microsoft Dynamics 365.

Connect Microsoft Dynamics 365 to your PandaDoc account

  1. Log in to both your PandaDoc and Microsoft Dynamics 365 accounts.

  2. In PandaDoc, open a template and select the Pull data from integration step

  3. Select Microsoft Dynamics 365 from the list, then click Connect
    ​

  4. In the pop-up, select Authorisation and Account type, fill out the subdomain, Client ID, and Client Secret from Microsoft Dynamics 365, then sign in with Microsoft
    ​

Set up templates to pull information from Microsoft Dynamics 365

PandaDoc data-import integration with Microsoft Dynamics 365 allows you to pre-populate information from Microsoft Dynamics 365 in your PandaDoc templates through variables and pre-assign contact information to template roles.

Import field values from Microsoft Dynamics 365 via variables

Pre-set a PandaDoc template with variables that will pull information from Microsoft Dynamics 365 each time you create a new document from this template.

  1. Open your template (click here to learn how to create a new one) in PandaDoc

  2. Go to the Pull data from integration step in your template workflow

  3. Click Microsoft Dynamics 365

  4. Select the object you want to pull data from (you can choose between Competitors, Opportunities, Contacts, Quotes, Leads, and Accounts objects)
    ​

    Note:

    One document can be linked to a single object at a time.

  5. Select View related variables. You will see a list of available variables corresponding to a Microsoft Dynamics 365 object's fields. Copy and paste these variables into your template
    ​

Import field values from Microsoft Dynamics 365 via fields

You can pass data into PandaDoc fields in a similar way to variables.

  1. Click a field in your template and select Options (the gear icon) in the top right.

  2. Scroll down to "Merge field" and select the Microsoft Dynamics 365 variable you want to map to the field.
    ​

Once you create and send the document, the recipient will see the data pre-filled from Microsoft Dynamics 365 and they will be able to update this field, provided the field has been assigned to them.

Create a document

  1. When in your template, select Use this template at the top right to create a document
    ​

  2. Select the record you need. Note that you must type its full name to find it in the search bar.
    ​

  3. Proceed to the Add recipients step. Click each role and select its corresponding recipient. Your Microsoft Dynamics 365 contacts will appear under the "Integration contacts" section of the dropdown.
    ​

Once your document is created, variables will be populated with information from Microsoft Dynamics 365.

You can refresh the data in a document after information in Microsoft Dynamics 365 changes, or link the document to a different record.

To link a document to a different record:

  1. Click the three-dot menu in the top-right corner and select Document properties
    ​​

  2. In the Document properties panel, select Manage integration
    ​

  3. Select the Unlink button next to the Microsoft Dynamics 365 record tile. Confirm by clicking Unlink document in the pop-up.
    ​

  4. Click Link to [object] (for example, Link to Opportunity) and select the Microsoft Dynamics 365 object you want to link the document to
    ​

  5. Select the record in the object and click Done. Note that you must type the record's full name to find it.
    ​

Note: You can’t pull recipients from a different object after the document is created.

After updating the linked object, click the three-dot menu in the top-right corner, select Document properties, and then select Refresh data to sync the Microsoft Dynamics 365 fields in your document.
​

Note: You can use Refresh data only in a draft document.

Did this answer your question?