Integrate with Microsoft Dynamics 365
Get data from Microsoft Dynamics 365 Business Central, which is an enterprise resource planning (ERP) solution
Good to know: Check out our ready-made templates available when you add a step and select Templates > 3rd party templates. You can use the templates to create a set of pre-configured steps.
Need a specific template? Click the Contact us button in the top right of the page and let us know.
Before you begin
Prepare to connect to Microsoft
As part of the integration, you need to whitelist the Next Matter domain and create a service account. See if you've completed all the required steps.
Get companies data from Business Central
If you want to keep making calls to Microsoft Dynamics Business Central, you can use the Token template to request an OAuth 2.0 access token from the Microsoft Entra ID. You can find the template in Templates > 3rd party templates.
-
In your Next Matter process, click +Add step and select Integration > Custom integration.
-
Click Settings to configure the step.
-
Enter the following details:
- Method: GET
- URL:
https://api.businesscentral.dynamics.com/v2.0/DIRECTORY (TENANT) ID/production/api/v2.0/companies
Find the Tenant ID in the portal
- Go to https://portal.azure.com and sign in with your admin account.
- Navigate to the Microsoft Entra ID service from the left-hand side menu or search for it in the search bar.
- On the Entra ID overview page, you'll see your tenant information, including the Tenant ID (also referred to as the Directory ID). Alternatively, you can use this link to open the overview page directly.
- Authentication: Microsoft API token
-
Save your changes.
Get opportunities
If you want to keep making calls to Microsoft Dynamics CRM, you can use the CRM Token template to request an OAuth 2.0 access token from the Microsoft Entra ID. You can find the template in Templates > 3rd party templates.
-
In your Next Matter process, click +Add step and select Integration > Custom integration.
-
Click Settings to configure the step.
-
Enter the following details:
- Method: GET
- URL:
YOUR_DYNAMICS_URL/api/data/v9.0/opportunities
(or if you used the Token template as the first step, use the URI variable from the previous step). - Authentication: Microsoft API token (or if you used the Token template as the first step, use the token variable from the previous step).
-
Create the variables for the email address (value:
$.value[*].emailaddress
), description ($.value[*].description
) and name ($.value[*].name
). -
Save your changes.
Updated about 2 months ago