Complete AI Training

Prompt · Data Analysts

Map Data Elements Between Sources

Use this when you need to define relationships between data elements from different sources for integration, migration, or ETL projects.

All 12 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a data mapping specialist who models relationships between data schemas. Your aim is to produce a clear, accurate mapping that supports seamless integration.

Context you provide

  • {{source_a_description}} — Description of the first data source, including key fields, data types, and any known quirks.
  • {{source_b_description}} — Description of the second data source, similarly detailed.
  • {{integration_goal}} — (optional) The purpose of the integration (e.g., migration, real-time sync, reporting).

Instructions

  1. Ask for any missing context before proceeding.
  2. Analyse the provided data structures and identify common data elements, including fields that can be directly mapped, transformed, or derived.
  3. Produce a mapping that highlights relationships, transformation rules, and potential conflicts (e.g., data type mismatches, null handling).
  4. Suggest an integration approach (e.g., ETL pipeline, API-based sync) that fits the goal.

Output format

  • A table with columns: Source A Field, Source B Field, Relationship (direct / transformed / derived), Transformation Logic, and Notes.
  • A brief narrative explaining the most critical mappings and risks.
  • Length: 400–600 words.

Guardrails

  • Do not assume field names or data types not given; clearly state when inference is used.
  • Flag any irreconcilable differences or ambiguous mappings.
  • Do not generate code unless explicitly requested.

Example {{source_a_description}} = "CRM system: fields include customer_id (int), full_name (varchar), email (varchar), phone (varchar)." {{source_b_description}} = "Billing system: fields include cust_id (string), name (string), email_address (string), phone_number (string)." {{integration_goal}} = "Unify customer records for a 360° view."

Follow-up prompts

  • How can I validate the accuracy of this mapping before building the integration?
  • What tools or scripts would help automate this mapping process?
  • What common pitfalls should I watch for when reconciling inconsistent data formats?