Documentation / Product / Integrations / Dotdigital

Dotdigital: Export Contacts

Export Lytics audiences to a Dotdigital Engagement Cloud address book, which can then be used for campaigns using any of Dotdigital's supported channels.

Integration Details

This integration utilizes the Dotdigital APIs to send user data. Once the export is started the job will:

  1. Request the Dotdigital account information.
  2. Get all address books in the account.
  3. Verify the selected address book exists, or create a new address book if configured to do so.
  4. For each user entering the Lytics audience, or existing member of the audience, (depending on Trigger Join Actions setting) either:
  5. If the user is unsubscribed, try to resubscribe them to the address book, or resubscribe with no challenge, if configured to resubscribe.
  6. For each user exiting the Lytics audience, one of three actions can be selected:
  7. Update the user's Dotdigital status via the dotmailer_export_status stream if Sync Status is selected.

Fields

The following fields are included in the default mapping of the dotmailer_export_status stream:

NOTE: Dotmailer rebranded to Dotdigital in January 2019. Due to backwards compatiblity issues old field and stream names still use dotmailer.

Source FieldLytics User FieldDescriptionType
emailemail unique idEmailstring
account_id, account_statusdm_account_statusStatus by Dotmailer Account IDmap[string]string
account_id, address_book_id, address_book_statusdm_addressbook_statusStatus by Dotmailer Addressbook IDmap[string]string
epochms()dm_addressbook_status_tsDate of Last Dotmailer Addressbook Status Updatedate

Configuration

Follow these steps to set up an export of contacts for Dotdigital. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.

  1. Select Dotdigital from the list of providers.
  2. Select the Export Audiences from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. Select the audience to export.
  7. Select the Exisiting Address Book to configure the address book to add contacts to. If you want to create a new address book, enter the name in the New Address Book Name field.
  8. Enter New Address Book Name to create a new address book in dotdigital. If left blank, a new address book name will be created by default following this format: Lytics+audience name. A new address book will only be created if the Exisiting Address Book is not configured.
  9. Select the Email Field that contains the contact's email.
  10. Select the ID Field that contains the contact's dotdigital ID. This may be a map field if importing users from multiple accounts.
  11. Select One Time to do a one time export of the audience.
  12. (Optional) Toggle Show Advanced Options.
    1. Select the Address Book Status Field to configure the field that contains the address book status. This will also sync address book status in Lytics. Any address books with a status of 'syncing' will be added to dotdigital. This will ignore both the New Address Book Name and the Existing Address Book' fields.
    2. Select the Opt-in Type for the contacts that will be created. See Dotdigital's documentation for details.
    3. Select the Email Type of emails these contacts can receive.
    4. Select the Map Fields to map all the fields from Lytics to dotdigital by selecting the Lytics field on the left, and its dotdigital destination on the right. NOTE: non-scalar fields such as arrays and maps are not supported by Dotdigital.
    5. Select the Exit Action to configure the action to take when an entity exits the segment. Note: unsubscribing will significantly increase API usage.
    6. Select Trigger Join Actions for contacts to trigger join actions when added to the address book. Note: this will significantly increase API usage.
    7. Select Resubscribe for contacts to be resubscribed to address books. Address-book level resubscribes are only supported for exports triggering join actions. Bulk exports will only resubscribe contacts if they have been suppressed at the account level.
    8. Select Resubscribe With No Challenge for contacts to be resubscribed to address books without triggering a confirmation email. Address-book level resubscribes are only supported for exports triggering join actions. Bulk exports will only resubscribe contacts if they have been suppressed at the account level.
    9. Select Sync Status for the contact's address book status to be updated in Lytics.
    10. Select Disable Deduplication to disable deduplication of events.
    11. Select the Content Collection to include recommendations from Lytics. If not selected, no recommendations are sent to dotdigital.
    12. Select the Map Recommendation Fields to map all the recommender fields from Lytics to dotdigital by selecting the Lytics field on the left, and its dotdigital destination on the right. NOTE: Complex fields such as arrays and maps are not supported by dotdigital.
    13. Enter a Work Tracking Slug to track the work. This slug should be a unique value.
  13. Click Start Job.

Dotdigital export contacts workflow config