Send audiences to Cordial¶
Note
This topic contains information about configuring a destination that sends query results to Cordial using orchestrations. To configure a destination that sends audiences to Cordial using campaigns see this topic .
Cordial is a cross-channel marketing and data platform that collects all of your customer data in one platform for use with audience segments, trends, and automated customer experiences.
Use Amperity to manage contacts–attributes and list membership–in Cordial using the following REST APIs:
Account Contact Attributes to create contact attributes. Attributes that do not exist in Cordial are added as custom contact attributes.
Account Lists to fetch, create, and clear account lists, to which contacts are associated. An account list is overwritten each time results are sent from Amperity. An email address is added when it is not already a contact, after which it is assigned the subscribed status. An email address that is already a contact will retain its assigned subscription status.
Contact Imports to import contacts to Cordial, and then associate contacts to the account list.
Jobs to monitor the import job for completion.
Build a query or segment that contains the email field, along with any other fields that you want created or updated in Cordial and represented as contact attributes.
Note
Amperity recommends using the Cordial API to send email lists from Amperity to Cordial.
However, if you prefer to send a CSV or JSON file (one-time or recurring) instead of using the Cordial API you may configure Cordial Data Automations , and then enable that workflow using any of these destinations: SFTP, Amazon S3, or Google Cloud Storage.
Get details¶
Review the following details before configuring credentials for Cordial and before configuring Amperity to send email lists to Cordial.
![]() |
Credential settings API key
API URL
Tip Use the IP address for allowlists for Amperity to configure the allowlist for the Cordial API. |
![]() |
Required configuration settings Audience primary key
List name (Required at orchestration)
Subscription status
|
![]() |
Cordial Rest API configuration The following Cordial REST API methods must be enabled: GET /accountcontractattributes
POST /accountcontractattributes
GET /accountlists
POST /accountlists
PUT /accountlists/{key}/clear
POST /contactimports
GET /jobs/{id}
|
Configure credentials¶
Configure credentials for Cordial before adding a destination.
An individual with access to Cordial should use SnapPass to securely share “API key” and “API URL” details with the individual who will configure Amperity.
To configure credentials for Cordial
![]() |
From the Settings page, select the Credentials tab, and then click the Add credential button. |
![]() |
In the Credentials settings dialog box, do the following: From the Plugin dropdown, select Cordial. Assign the credential a name and description that ensures other users of Amperity can recognize when to use this destination. |
![]() |
The settings that are available for a credential are determined by the credential type. For the “cordial” credential type, configure settings, and then click Save. API key
API URL
|
Add destination¶
Use a sandbox to configure a destination for Cordial. Before promoting your changes, send a test audience, and then verify the the results in Cordial. After the end-to-end workflow has been verified, push the destination from the sandbox to production.
To add a destination for Cordial
![]() |
Open the Destinations page, and then click the Add destination button. ![]() To configure a destination for Cordial, do one of the following:
|
![]() |
Select the credential for Cordial from the Credential dropdown, and then click Continue. Tip Click the “Test connection” link on the “Configure destination” page to verify that Amperity can connect to Cordial. |
![]() |
In the “Destination settings” dialog box, assign the destination a name and description that ensures other users of Amperity can recognize when to use this destination. Configure business user access By default a destination is available to all users who have permission to view personally identifiable information (PII). Enable the Admin only checkbox to restrict access to only users assigned to the Datagrid Operator and Datagrid Administrator policies. Enable the PII setting checkbox to allow users with limited access to PII access to this destination. Restricted PII access is enabled when the Restrict PII access policy option that prevents users who are assigned to that option from viewing data that is marked as PII anywhere in Amperity and from sending that data to any downstream workflow. |
![]() |
Configure the following settings, and then click “Save”. Audience primary key
List name (Required at orchestration)
Subscription status
|
![]() |
After this destination is configured:
|
Workflow actions¶
A workflow will occasionally show an error that describes what prevented a workflow from completing successfully. These first appear as alerts in the notifications pane. The alert describes the error, and then links to the Workflows tab.
Open the Workflows page to review a list of workflow actions, choose an action to resolve the workflow error, and then follow the steps that are shown.
![]() |
You may receive a notifications error for a configured Cordial destination. This appears as an alert in the notifications pane on the Destinations tab. ![]() If you receive a notification error, review the details, and then click the View Workflow link to open this notification error in the Workflows page. |
![]() |
On the Workflows page, review the individual steps to determine which step(s) have errors that require your attention, and then click Show Resolutions to review the list of workflow actions that were generated for this error. ![]() |
![]() |
A list of individual workflow actions are shown. Review the list to identify which action you should take. ![]() Some workflow actions are common across workflows and will often be available, such as retrying a specific task within a workflow or restarting a workflow. These types of actions can often resolve an error. In certain cases, actions are specific and are shown when certain conditions exist in your tenant. These types of actions typically must be resolved and may require steps that must be done upstream or downstream from your Amperity workflow. Amperity provides a series of workflow actions that can help resolve specific issues that may arise with Cordial, including: |
![]() |
Select a workflow action from the list of actions, and then review the steps for resolving that error. ![]() After you have completed the steps in the workflow action, click Continue to rerun the workflow. |
Invalid credentials¶
The credentials that are defined in Amperity are invalid.
To resolve this error, verify that the credentials required by this workflow are valid.
Open the Credentials page.
Review the details for the credentials used with this workflow. Update the credentials for Cordial if required.
Return to the workflow action, and then click Resolve to retry this workflow.
Required attributes are missing¶
Cordial will reject audiences when required attributes are missing.
For campaigns
To resolve this error, verify the attributes that are required by Cordial, and then verify that the list of attributes is correct for each treatment group in this campaign that is sending data to Cordial.
Open the Cordial management console, and then open Jobs .
Find the job with the ID that matches the ID in the error message associated with this workflow action, and then view job details.
Download the rejected errors using the link in the job details. If the errors mention “missing required attribute(s)” do one of the following:
Update the attribute(s) in Cordial to no longer be required.
or
Add the missing attributes for each treatment group that is associated with this campaign.
Open the Campaigns page, and then for each treatment group that is configured to send audiences to Cordial, edit the list of attributes to include all required attributes.
Return to the workflow action, and then click Resolve to retry this workflow.
For orchestrations
To resolve this error, verify the attributes that are required by Cordial, and then verify that the query used with this orchestration is returning all required attributes.
Open the Cordial management console, and then open Jobs .
Find the job with the ID that matches the ID in the error message associated with this workflow action, and then view job details.
Download the rejected errors using the link in the job details. If the errors mention “missing required attribute(s)” do one of the following:
Update the attribute(s) in Cordial to no longer be required.
or
Add the missing attributes to the results that are returned by the query that is associated with this orchestration.
Open the Queries page, and then open the query used with this workflow. Update the query to return the list of attributes that are required by Cordial.
Return to the workflow action, and then click Resolve to retry this workflow.
Unique list name required¶
Cordial list names must be unique.
To resolve this error, verify that the name of the list is unique.
Open the Destinations page, and then review the data template for the destination associated with this workflow error.
Verify that the value of the List Name setting is a unique value within Cordial.
Return to the workflow action, and then click Resolve to retry this workflow.