Customers & growth · Marketing operations

Data integration framework

Best for Startup to Growth

1EXTRACT2TRANSFORM3LOAD

Use it when

Two or more systems must share customer or campaign data on a schedule, and you need each connection's fields, transformations, load timing and checks written down and built.

Skip it when

  • You have no map of which systems connect, in which direction and by which method. Use Integration architecture framework first.
  • Personal data in the flows has not been inventoried or given a lawful basis. Run Data privacy framework first.
  • You are moving records once into a new system and switching the old one off. Use Data migration framework.
  • Duplicate customer records across systems need one trusted version. Use Master data management (MDM).
  • You only need deal stages and revenue sent back to marketing by lead source. Use Closed-loop reporting.

What to apply first and what to use instead are listed below.

Approaches

Transform before load (ETL)

Data is extracted, transformed by business rules in a separate engine or staging area, then loaded into the target.

  • Pro Heavy transformations stay off a target with limited capacity, and curated data can be checked in staging before it lands.
  • Con It adds a separate engine and extra copy steps, which slow large loads.

Load then transform (ELT)

Raw data is loaded into the target, such as a data warehouse, and transformed there with the target's own processing.

  • Pro The pipeline is simpler, scales with the warehouse and keeps raw data for later questions.
  • Con It works only when the target is powerful enough to run the transformations.

Inputs

  • Integration map
    The flows in scope with source, target, direction and timing, from the Integration architecture framework.
  • Source profile
    Objects, field names, data types, formats, lengths and known quality problems for each source, from a recent full export.
  • Target requirements
    Required and optional fields, naming and type standards and business rules for each target, agreed with the teams that use it.
  • Use cases
    The reports, segments or automations that will read the integrated data, such as attribution or closed-loop reporting, from marketing operations.
  • Privacy constraintsOptional
    Fields that may not move or must be masked, from the Data privacy framework.

Steps

  1. Profile each source from a real export, recording types, formats and the fields with quality problems.
  2. Write the source-to-target mapping with one row per target field, naming its source field, transformation rule, default for missing values, validation check, direction and the reason it exists.
  3. Choose ETL or ELT for each pipeline, and set its load mode (full or incremental) and schedule from the integration map.
  4. Test the mapping on real exports that include edge cases, such as empty values, duplicates, long text, special characters and time zone boundaries.
  5. Build the pipeline from the approved mapping, with row counts reconciled on every run and a rule to reject, log or default each failed record.
  6. Set alerts for failed runs, unexpected null rates and changes in source schemas, and name the owner who responds.

Output

A source-to-target mapping document for each pipeline, approved before the build, plus a run log from the live pipeline.

  • Source system, object and field
  • Target object and field
  • Source and target data types
  • Transformation rule
  • Default for missing values
  • Validation check and failure rule
  • Load mode and schedule
  • Status (draft, reviewed, approved or live)

Done when

  • Every required target field has a source field or a stated rule.
  • Every mapping row has a validation check and a rule for failed records.
  • The pipeline ran on a real export with edge cases, and row counts reconciled between source and target.
  • Alerts for failed runs, null rates and schema changes go to a named owner.
  • A spot check of sample records shows the use cases in the inputs reading correct values from the target.

Measure

Track failed runs, rejected records, row count gaps and the null rate of key fields each week for the first quarter after launch. Compare each with the first week's figures. It worked when failures and gaps trend down and the reports or segments fed by the pipeline match their sources in monthly spot checks. Review the mapping whenever a source adds or changes a field.

Hypothetical example

Larchmont, a meal kit company, wanted ad spend, web sessions and orders in one warehouse for attribution. Profiling exports from three sources showed order dates in two formats and country written four ways. The mapping had 46 rows, each with a rule, a default and a check. The team chose ELT, because its warehouse could run the transforms and analysts wanted raw data kept. Orders loaded hourly and incrementally, and ad spend loaded nightly in full. Testing on a real month of data exposed refunds stored as negative orders, so a new rule sent them to a refunds table. Row counts now reconcile on every run, and alerts go to one analytics engineer.

Common mistakes

  • Testing on a clean sample file. Test on real exports that include empty values, duplicates and odd characters.
  • Mapping fields with no written reason. Record which use case each mapping serves so later changes can be judged.
  • Letting failed records drop silently. Decide for each field whether to reject, log or default, and alert an owner.
  • Building once and walking away. Watch for schema changes in each source, which break mappings without warning.
  • Changing dropdown options without updating the sync. Refresh the mapping, and restart the sync where the tool copies options when the sync is created.

Sources

Show all 4 sources

By company stage

  1. Pre-IdeaNot applicableThere are no systems to connect.
  2. IdeaNot applicableA few tools can be linked manually or with simple connectors.
  3. Early StartupUsefulSimple connections between CRM and analytics help, though full ETL is overkill.
  4. StartupCriticalAdding a second channel and team leads creates disconnected systems that need mapped connections.
  5. GrowthCriticalMany departmental systems require reliable integration for reporting and segment expansion.
  6. ScaleUsefulIntegration is established, and work focuses on adding new products and systems.
  7. EnterpriseUsefulDedicated data engineering teams maintain integrations, so this guides standards.

Apply first

Nothing. You can start here.

Use instead

  • Integration architecture framework

    You have no map of which systems connect, in which direction and by which method. Use Integration architecture framework first.

  • Data privacy framework

    Personal data in the flows has not been inventoried or given a lawful basis. Run Data privacy framework first.

  • Data migration framework

    You are moving records once into a new system and switching the old one off. Use Data migration framework.

  • Master data management (MDM)

    Duplicate customer records across systems need one trusted version. Use Master data management (MDM).

  • Closed-loop reporting

    You only need deal stages and revenue sent back to marketing by lead source. Use Closed-loop reporting.

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account