Integrating with Mailchimp to Create Consent Records
You can integrate Mailchimp with OneTrust to track consent transactions including both collection of new consent and updates made to existing consent records.
To create an API key in Mailchimp
You will need to obtain account information from your Mailchimp instance to create a basic authentication or OAuth2 credential in OneTrust. This documentation uses a basic authentication credential setup.
To set up credentials in OneTrust
Things to Know
Mailchimp APIs can leverage Basic and OAuth2 to authenticate consent requests. To do this, you will need to obtain your Mailchimp instance from the base URL. For additional information on Mailchimp's authentication methods, see Getting Started with the Mailchimp API.
For more information on creating integration credentials, see Configuring Integration Credentials.
Add Credential Modal Reference
- Field
- Description
- Credential Name
-
Enter a name to identify the credential.
- Description
-
Enter a description of the credential.
- System
-
Select Mailchimp as the system.
- Connector Type
-
Select HTTP as the credential connector type.
- Auth Type
-
Select Basic as the authorization type.
- Test URL
-
Enter a test URL for the new credential. You will need to replace
<dc>in the Mailchimp URL (https://<dc>.api.mailchimp.com/3.0/) with your Mailchimp base URL.Example:
https://us4.api.mailchimp.com/3.0/ - Protocol
-
Enter HTTPS as the protocol for the credential.
- Hostname
-
Enter the hostname for the credential. You can paste the Test URL here minus the HTTPS protocol.
Note:Be sure to include the hostmane for your Mailchimp instance so that the Base URL carries over into your workflow steps.
Example:
us4.api.mailchimp.com/3.0/ - Key
-
Select the type of key which should be used in the header of the call made by the connection.
You can add additional keys if your credential requires more than one header.
- Username
-
Enter
anystring:<your apikey here>as your Mailchimp username. Use the API generated in Mailchimp.Example:
anystring:862b604f13a916226e7f633c86cda7ab-us4
To create the Create Consent workflow
You can create an integration workflow for Mailchimp by using the seeded workflow templates in the Gallery screen.
To copy the collection point information
To configure the Create Consent Record action
To configure the webhook in Mailchimp
You will need to create a Mailchimp webhook to configure the Create Consent integration. For more information on creating webhooks with Mailchimp, see Mailchimp's Developer Guides on Webhooks.