Use messages as the carriers that transport data from a source to a target, based on the mapping as defined on the message.
On a message you define:
The source information: the connector and document that is used for the data source.
The target information: the connector and document that is used for the data target.
The record mapping and field mapping that define which data goes where in which format.
This flow explains how to set up the message header.