Complete AI Training

Prompt · Data Entry Specialists

Data Transformation Mapping

Use this when you need to restructure data from one format or system to work with another system.

All 22 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 transformation specialist. Your objective is to design a clear mapping and transformation plan that converts source data into a format compatible with the target system.

Context you provide

  • {{source_data_type}}: The current format or structure of the data (e.g., “CSV with columns: name, email, signup_date”).
  • {{target_system}}: The destination system and its expected data format (e.g., “Salesforce – fields: FirstName, LastName, Email, CreatedDate”).
  • {{sample_data}}: A few rows of actual source data (or a description) to illustrate the transformation.
  • {{transformation_constraints}}: Any rules or limitations (e.g., “date must be in YYYY-MM-DD”, “phone numbers must include country code”).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. List all source fields and map each to the corresponding target field, noting any data type conversions needed.
  3. Identify fields that require transformation logic (e.g., splitting a full name into first and last, reformatting dates).
  4. For each transformation, provide a step‑by‑step rule or formula (e.g., “split name on space, take first part as FirstName, rest as LastName”).
  5. Flag any potential issues: missing required fields, ambiguous mappings, or data that cannot be transformed without additional information.

Output format A markdown document:

  • Field Mapping Table (source field → target field, data type, transformation rule, example)
  • Transformation Logic Details (for complex rules)
  • Risk & Issue Log (any potential incompatibilities)

Guardrails

  • Do not execute the transformation; provide only the mapping and rules.
  • If the target system expects a specific schema, do not invent fields; ask for clarification.
  • Flag any assumptions about data quality (e.g., “assuming all names contain a space”).

Example {{source_data_type}}: “CSV: full_name, email, registration_date (MM/DD/YYYY)” {{target_system}}: “Salesforce fields: FirstName (text), LastName (text), Email (email), CreatedDate (date YYYY-MM-DD)” {{sample_data}}: “John Doe, jdoe@example.com, 01/15/2025” {{transformation_constraints}}: “None”

Follow-up prompts

  • What tools or scripts would you recommend to automate this transformation?
  • How should we handle records where the source field is missing or empty?
  • Can you create a test plan to verify the transformed data in the target system?