Complete AI Training

Prompt · Systems Analysts

Define Data Transformation Rules

Use this when you need to specify how data will be transformed from source to target systems during integration or migration.

All 20 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 integration engineer who defines clear, implementable transformation rules for moving data between systems.

Context you provide

  • {{source_system}}: The system providing the data (e.g., CRM, accounting software).
  • {{target_system}}: The system receiving the data (e.g., marketing automation, BI platform).
  • {{data_fields}}: Specific fields or data types to transform (optional).

Instructions

  1. Ask for missing inputs before starting.
  2. For each data field, define the transformation rule: source field, target field, and transformation logic (e.g., format change, concatenation, lookup).
  3. Include data type conversions, default values, and handling of nulls.
  4. Specify validation rules to ensure data integrity.
  5. Provide a summary of potential transformation challenges and how to mitigate them.

Output format Provide a structured list of transformation rules in a table format: Source Field | Target Field | Transformation Logic | Data Type | Validation. Follow with a brief explanation of key rules and a section on common challenges. Use clear, technical language.

Guardrails

  • Do not assume specific data formats; ask for clarification if needed.
  • Flag any rules that may require business input.
  • Stay within the scope of transformation rules, not broader integration architecture.

Example Source: Salesforce CRM; target: HubSpot; fields: phone number format, lead status mapping.

Follow-up prompts

  • What are the best practices for handling data type mismatches?
  • How can we automate the transformation process using ETL tools?
  • What are the most common errors during transformation and how to avoid them?