HubSpot Connector > Mappings and mapping tasks with HubSpot Connector > Target transformation mapping example
  

Target transformation mapping example

You can map a HubSpot source to a target and use the mapping in a mapping task.
To read data from the HubSpot, perform the following tasks:
    1In Data Integration, click New > Mapping > Create.
    The Mapping Designer appears.
    2 Enter a name and description for the mapping.
    3In the Source transformation, perform the following steps:
    1. aUnder general properties, specify a name and description.
    2. The following image shows a sample HubSpot mapping: Sample mapping with a flat file source and a HubSpot target.
    3. bOn the Source tab, specify the following proprties:
      1. aIn the Connection field, select a flat file connection.
      2. bIn the Source Type field, select Single Object.
      3. cIn the Object field, select a contacts file.
      The following image shows the source properties in the mapping: Source properties in the mapping.
    4In the Target transformation, perform the following steps:
    1. aIn the general properties, specify a name and description.
    2. bOn the Target tab, specify the following properties:
      1. aIn the Connection field, select a HubSpot connection.
      2. bIn the Target Type field, select Single Object.
      3. cIn the Object field, select the contacts that you want to write to the target.
      4. dIn the Operation field, select Insert.
      The following image shows the target properties in the mapping: Target properties in the mapping.
    5In the Field Mapping tab, select the input elements to map to the target fields.
    The following image shows all the mapped fields between the input file and the HubSpot target: Mapped fields between the source and the target.
    6Map the source and target.
    7Click Save to save the mapping.
    8In Data Integration, click New > Task.
    9Click Mapping Task > Create, and select the mapping for the task.
    The following image shows the Mapping Task wizard with the applied mapping: The mapping task wizard.
    10Select the Runtime Environment and Run the task.