Skip to main content

Data Exchange

DataExchange is a Contactsend system that allows advanced data exchange management. It is not included in the base contract and must be activated separately.

The configuration can be accessed in Configure > DataExchange.

Data exchange

How it works​

The system exchanges data in two directions: from the client to Contactsend and from Contactsend to the client.

From the client to Contactsend, data is exchanged through the Data Importer and Data Updater modules. The system imports users from a source into the previously configured Contactsend database. The source can be the client's database or a CSV/XML file published in an SFTP space.

  • Data Importer
    This module imports the source content into the corresponding Contactsend database. The import can be performed in overwrite mode or append mode, which adds the data to the existing records.

  • Data Updater
    This module allows an action to be defined for each record: deletion, insertion as a new record, or update. When a record is updated, it retains the same primary key while the content of various fields is updated. The source must include an operation field that defines the action to be performed (D = delete, I = insert, U = update).

From Contactsend to the client, data is exchanged through the Data Displacer and Data Exporter modules. The system exports users from the Contactsend database through the Data Displacer module, or statistical data through the Data Exporter module, to a file in the shared SFTP space.

  • Data Displacer
    This module exports the contents of a database to the client.

  • Data Exporter
    This module exports statistical feedback data to the client for analysis in the client's systems.

How to execute the modules​

DataExchange is available in two modes:

  • Cron: schedules when communication between the module and the client's database takes place. To configure the cron, select the name of the configured module. Multiple data exchanges can be scheduled per day, or execution can be limited to specific days of the week or months. The start and end dates of the process can also be defined, and the default time zone can be changed.

    Execution can be temporarily paused by selecting the pause button Data Exchange: pause and resumed by selecting the Activate recurrence icon Data Exchange: play.

    Data scheduling: cron

  • On-demand: the required module can be run manually from Configure > Data Exchange by selecting the Run now icon Data exchange: run. On-demand mode is always available.

Error codes​

For error codes and their explanations, which are sent by email in the Data Exchange report, refer to the relevant documentation at this link, page 35.

Download failed operations report​

To download the report containing the details of failed operations, select the paperclip icon.

Data exchange: download report