Send data to Cordial¶
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 Contract 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 audience 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.
This topic describes the steps that are required to send audience lists to Cordial from Amperity:
Get details¶
Cordial requires the following configuration details:
![]() |
A Cordial API key and the URL for the Cordial API. Important Use the IP address for allowlists for Amperity to configure the allowlist for the Cordial API. |
![]() |
The name of the contacts list. Important The list name is configured as part of the data template. |
![]() |
The following REST API methods must be enabled: GET /accountcontractattributes
POST /accountcontractattributes
GET /accountlists
POST /accountlists
PUT /accountlists/{key}/clear
POST /contactimports
GET /jobs/{id}
|
![]() |
A query or segment that returns the email field, along with any other fields that you want created or updated in Cordial and represented as contact attributes in Cordial. |
Add destination¶
Configure Amperity to send audience lists directly to Cordial.
To add a destination
Add data template¶
A data template defines how columns in Amperity data structures are sent to downstream workflows. A data template is part of the configuration for sending query and segment results from Amperity to an external location.
To add a data template
![]() |
From the Destinations tab, open the menu for a destination that is configured for Cordial, and then select Add data template. This opens the Add Data Template dialog box. ![]() Enter the name of the data template and a description. For example: “Cordial” and “Send audience lists to Cordial.”. |
![]() |
Verify business user access to queries and orchestrations and access to segments and campaigns. A business user may also have restricted access to PII, which prevents them from viewing and sending customer profile data. ![]() If business user access was not configured as part of the destination, you may configure access from the data template. Important To allow business users to use this destination with campaigns, you must enable the Make available to campaigns option. This allows users to send campaign results from Amperity to Cordial. If you enable this option, the data extension settings require using campaign name and group name template variables to associate the name of the data extension to your campaign. |
![]() |
Verify all configuration settings. |
![]() |
Review all settings, and then click Save. ![]() After you have saved the data template, and depending on how you configured it, business users can send query results and/or send campaigns to Cordial. |
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 tab to review a list of workflow actions, choose an action to resolve the workflow error, and then follow the steps that are shown.
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 recipient 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 recipient group that is associated with this campaign.
Open the Campaigns page, and then for each recipient 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.