Auto Mapping Event Types

Hevo provides an option to automatically map event types and fields in a pipeline thereby eliminating the need for any human intervention whatsoever. Once you configure the source and destination of a pipeline, you can choose to automatically map the event types. If you enable this, Hevo will replicate the source schemas as is. You need not worry about the schema changes in the source either.

When enabled, all the event-types will be automatically mapped. As and when a new event type is encountered, the respective table will be created in the destination if it is not already present.

Hevo allows you to enable automapping on both Pipeline and Event Type level. This is how the two scenarios behave:

  1. Pipeline level:
    • Hevo will create the respective tables in the destination with the appropriate schema if they are not present already.
    • Hevo will map all the event-types automatically to the tables in the destination.
    • Hevo will create any new fields detected in the event-types in the corresponding destination tables.
    • Hevo will map any new fields detected in the event-types with the corresponding columns in destination tables.
  2. Event type level:
    • Hevo will create the respective table in the destination with the appropriate schema if it is not present already.
    • Hevo will map the event type automatically to the table in the destination.
    • Hevo will create any new fields detected in the event-type in the corresponding destination table.
    • Hevo will map any new fields detected in the event-type with the corresponding columns in destination tables.

You can find these options under the Schema Mapper tab in your pipeline. Simply click on the Settings (three vertical dots) on the individual event type to enable this option. If you want to enable this at the pipeline level, do the same from the Schema Mapper tab.