Technical consulting
Don't know where to start? Schedule a one-on-one session with an API & Integration expert for only $79 USD.
The ActiveCampaign to Microsoft Dynamics 365 integration provides a two-way sync between your ActiveCampaign account and your Microsoft Dynamics account.
Take note
- This integration is configured in your Microsoft Dynamics account
- You will need your ActiveCampaign API URL and Key to set up the integration
- To set up and manage this application, users must be either a System Administrator or have the ActiveCampaign Admin Security role applied to them in Microsoft Dynamics 365. The System Admin will do this via Advanced Settings > Security Settings
- To access this application, users must have the ActiveCampaign User Security role applied to them in Microsoft Dynamics 365. The System Admin or the ActiveCampaign Security Admin will do this via the User Management Section or under Advanced Settings > Security
- To access ActiveCampaign leads and contacts, users need access to Lead and Contact entities in Microsoft Dynamics 365. The System Admin can achieve this through a basic Sales User security or custom security role. Without access, users will not be able to see ActiveCampaign Leads or Contacts in Microsoft Dynamics 365
- We'll start syncing Accounts information immediately if you update this app from version 1.24 to 1.25 or higher. If you do not want to sync accounts, click the accounts sync toggle to the "Off" position. This toggle is located in the Data Configuration section of the ActiveCampaign app setup in Microsoft Dynamics
What does the ActiveCampaign to Microsoft Dynamics 365 integration do?
This integration lets you:
- Sync leads, contacts, and account information between both Microsoft Dynamics 365 and ActiveCampaign
- Sync Opportunities from Microsoft Dynamics 365 to ActiveCampaign
- View marketing activities in Microsoft Dynamics for each synced lead and contact
- Add leads and contacts to automations right from the lead or contact record in Microsoft Dynamics
- Send email campaigns to leads and contacts right from the lead or contact profile record in Microsoft Dynamics
- If syncing opportunities, two new automation triggers will be available: "D365 Opportunity is created" and "D365 Opportunity is updated." With these triggers, you can further segment contacts who enter the automation by all fields synced from an opportunity or use the segment builder to create specific conditions using opportunity fields
Setup Step 1: Install the ActiveCampaign app
To install the ActiveCampaign app in Microsoft Dynamics:
- Log into your Microsoft Dynamics account.
- Go to AppSource in your Microsoft Dynamics account. Search for ActiveCampaign.
- Click the "Get it now" button.
- A modal window will appear. Complete the information in the modal and click the "Continue" button.
- Complete the rest of the steps to set up the ActiveCampaign app in your Microsoft Dynamics account.
Setup Step 2: Connect ActiveCampaign to Microsoft Dynamics
- From your Microsoft Dynamics account, navigate to the Dynamics environment you installed.
- From this environment, launch the Apps section and click the ActiveCampaign option.
- The ActiveCampaign dashboard will load. No data will be available here yet. Click the "Settings" option located under "Setup."
- Enter your ActiveCampaign API URL and Key into the fields provided.
- Click the "Connect" button.
- A confirmation window will appear. Click the "OK" button.
Your ActiveCampaign account is now connected to Microsoft Dynamics 365.
Setup Step 3: User management
Now that your ActiveCampaign account is connected to Microsoft Dynamics, you can assign permissions. These permissions dictate which Microsoft Dynamics users can use the ActiveCampaign Sales Actions available with this integration.
Permissions are assigned on the "User Management" page. Click the "User Management" option on the top navigation menu.
To assign permissions:
-
Click the "Add User" icon.
-
Type the name of the user into the search field that appears. As you type, Microsoft Dynamics will suggest names. Click the user you wish to assign permissions to.
- Click the "Add" button.
Setup Step 4: Data configuration
Next, click "Data Configuration" on the top navigation menu. Here, you can select sync directions and map fields for Contacts, Leads, Accounts, and Opportunities.
Some things to note on this page:
- You can set the sync direction for Contacts, Leads, and Accounts on the entity and field level. To set the sync direction on the field level, you must select "Bi-directional" for the entity sync
- Opportunity fields sync is a one-directional sync from Microsoft Dynamics to ActiveCampaign. There is no bi-directional sync for this option
- Compatible field types will surface when you map fields
- It is not possible to map Deal fields in ActiveCampaign with fields in Microsoft Dynamics
- You can turn off mapping for standard Contact and Lead fields, except for the "Email" and "Account" fields, and remap to custom fields
- If you don't want to sync fields for leads, contacts, accounts, or opportunities, set the entity toggle to the "Off" position
If you do not wish to sync fields for leads, contacts, or accounts, click the toggle to set it to the "Off" position.
Configure mapping for Leads, Contacts, and Accounts
- Locate the entity you want to sync, then click the toggle to set it to the “On” position.
- Choose the sync direction for the entity as a whole. The entity sync direction applies to all mapped fields. You can choose from bi-directional, push-only from D365 (outbound), or pull-only from ActiveCampaign (inbound).
- Next, choose one of the following sync options:
-
All leads, contacts, and accounts created or updated
This sync option is the easiest way to sync all leads, contacts, or accountscreated or updated from this point forward. When a new lead, contact, or account is created or updated, a record will be created or updated in ActiveCampaign the next time the sync runs -
All leads, contacts, accounts that match specific criteria
You may want to use this option to sync leads, contacts, or accounts that match your set criteria, such as leads, contacts, or accounts from a specific source. If the lead, contact, or account matches your criteria, a record will be created or updated in ActiveCampaign the next time the sync runs
-
All leads, contacts, and accounts created or updated
- If using "All leads/contacts/accounts created and updated":
- Click the "Edit" button
- Click the ActiveCampaign fields you wish to sync with Microsoft Dynamics. You can choose as many fields as you like
- Click the "Add" button
- Click each dropdown under the "Dynamics" column and click the Dynamics field you wish to map to
- Click "Save Changes"
- If using "All leads that match certain criteria":
- Select the field you want to use to segment your contacts
- Choose the operator
- Enter a value for the field
- Click the "Add" button
- A second segmenting option will appear. You can use this if you want to narrow your criteria more. If you don't want to narrow your criteria, click the trash icon
- To select and map custom fields, follow each item listed in Step 2 above
- Click "Save Changes"
Configure mapping for Opportunities
To sync Opportunities, they must have a relationship with a syncing contact. Once added to your ActiveCampaign account, Opportunities are available on Contact records in the Custom Objects box.
You can map up to 20 custom fields for the Opportunity sync. As a reminder, this is a one-way sync from Microsoft Dynamics 365 to ActiveCampaign.
To sync opportunities to your ActiveCampaign account:
- Click the "Opportunities" toggle to set it to the "On" position.
-
Click the “Opportunity Custom Field Mapping” toggle to set it to the “On” position.
- Once this is saved, it becomes permanent and cannot be reverted
- Scroll down to the “Custom Mappings” section.
- Click the “Edit” button.
- A modal window will appear. You will see a list of opportunity fields that you can map. Select the ActiveCampaign fields you want to map, then click “Add.”
- The modal will close. All selected field types will appear under “Custom Mappings.” Note that you can click “Edit” to add more fields or click the trashcan icon to remove fields.
- For each ActiveCampaign field, add the field type to the “ActiveCampaign field type” column. To do so, click the field, then select the field type.
- Optional: Set the “To Save, a value is…” fields to “Not required” or “Required.” If you select “Not required,” the field does not need a value to save. If you choose “Required,” the field must have a value to save.
- Click “Save Changes” located in the toolbar.
- A modal window will appear. Click “OK.”
Once saved, the trashcan icons will appear as “On/Off” toggles. It is not possible to remove the selected fields from the opportunities schema in ActiveCampaign. If you no longer wish to sync data for a field, click the toggle to set it to the “Off” position. The field will still appear in the schema.
Remap standard fields to custom fields
You can remap any standard field, except email address and relationship (account) fields, to a custom field for Leads and Contacts. For example, you can map the standard Job Title field in ActiveCampaign to a custom lead field in Microsoft Dynamics called “Position.”
- From the Data Configuration page in ActiveCampaign, click the chevron (^) to expand the “Standard Mappings” for either Leads, Contacts, or Accounts.
- Each field (except for Email and Account) will have a toggle set to the “On” position. To map one of these fields to a custom field in Microsoft Dynamics, click that toggle to set it to the “Off” position.
- Click the “Edit” button at the bottom of the section.
- A modal window will appear. At the top, you’ll see the standard field you can now map to a custom field. Click that field, then click “Add.”
- The standard field will now appear under “Custom Mappings.” Click the “Dynamics” field, then select the field you want to map.
- Click “Save Changes” > “OK.”
The standard field is now mapped to the custom field of your choice. In addition, the standard field will appear under “Standard Mappings” with an “Off” status. If you turn the status back to “On,” your custom mapping will be undone and the standard mapping option will remain.
Setup Step 5: Sync Settings
Once you've completed the data configuration step, you can establish your sync settings on the "Sync Settings" page. To get there, click "Sync Settings" on the top navigation menu.
There are three different sync settings that you can configure: Global, Initial, and Job Schedule.
Global Sync
This is enabled by default. When on, the one-time "Initial Sync" will run. To pause data from syncing to ActiveCampaign, click the toggle to set it to the "Off" position. If this setting is turned off, data cannot sync from Microsoft Dynamics 365 to ActiveCampaign.
Initial Sync
This one-time sync runs when the "Global Sync" toggle is set to "On." The integration will sync all contacts and leads who meet your "Data Configuration" criteria from Microsoft Dynamics to ActiveCampaign.
Job Schedule
This is where you configure recurring syncs between Microsoft Dynamics and ActiveCampaign.
To do so, click the "Job Frequency" dropdown, then click the schedule option that works best for you. You can choose from the following frequency options:
- 1 hour
- 2 hours
- 4 hours
- 6 hours
- 8 hours
- 12 hours
- Once daily
The integration setup is now complete.
This integration does not allow for immediate syncs. Leads and contacts will sync between platforms when the next scheduled sync runs.
Integration next steps
- Learn how syncing works with the ActiveCampaign Microsoft Dynamics 365 integration
- View recent marketing activities for synced leads and contacts
- Use Sales Actions to add leads and contacts to automations and email campaigns
- Use ActiveCampaign automation to create new leads and contacts in Microsoft Dynamics 365
- View and understand tags added to contacts from the ActiveCampaign Microsoft Dynamics 365 integration