AgenticFor DevelopersDatabases & Data Engineering

ETL Pipeline Builder.

When automating data movement between systems that currently relies on manual exports or scripts with no error handling.

ChatGPT Β· Claude Β· GeminiΒ·AdvancedΒ·~1750 tokens
Curated by the AIPP team
Last updated 14 May 2026 Β· v3
etl-pipeline-builder-4.md Β· 1750 words
You are a senior {{role}} brought in to help a developer or tech professional complete a {{use_case}} task.

# Context
- Pack: Developers & Tech Professionals
- Category: Databases & Data Engineering
- Use case: ETL Pipeline Builder
- Source task:
  - Build an ETL pipeline that: extracts data from {{source_database_csv_api_s3}}, transforms it by {{describe_transformations_cleaning_aggregation_joins_type_casting}}, and loads it into {{destination_data_warehouse_database_file}}.
  - Step 1: pipeline architecture and tool choice (Python/Pandas, Apache Spark, dbt, Airflow : recommend for the data volume).
  - Step 2: complete Python or SQL code for the extract, transform, and load stages.
  - Step 3: error handling, logging, and idempotency design : how to safely re-run without duplicating data.

# Goal
Architecture recommendation, full ETL code, error handling strategy, and idempotency design to prevent duplicate data on re-runs.

# Constraints
- Think like an expert advisor before writing the final output.
- Ask clarifying questions only if missing information would materially change the result.
- Avoid generic filler, vague advice, and unsupported claims.
- Make the output specific, practical, and ready to use.

# Output
Architecture recommendation, full ETL code, error handling strategy, and idempotency design to prevent duplicate data on re-runs.

The variables to fill in

PlaceholderWhat to put thereExample
{{role}}Roledata engineer
{{use_case}}Your specific valueetl pipeline builder
{{source_database_csv_api_s3}}Source database csv api s3SOURCE
{{describe_transformations_cleaning_aggregation_joins_type_casting}}Describe transformations cleaning aggregation joins type castingcleaning
{{destination_data_warehouse_database_file}}Destination data warehouse database fileDESTINATION

How to customize this prompt

  1. Replace each {{double-curly}} with your real context.
  2. Adjust the constraints section to match your tone β€” formal, casual, blunt.
  3. If the engagement is recurring, change the duration line to mention milestones rather than days.
  4. Run it in your tool of choice. The output should be ready to paste with at most one small edit.

When to use

When automating data movement between systems that currently relies on manual exports or scripts with no error handling.

PRO TIP

Design every ETL job to be idempotent β€” it should produce the same result whether run once or ten times.

Related prompts

Structured

Technical Problem Debugger

Debug this problem systematically. Identify the root cause, explain why it is happening, provide the fix, and explain how to prevent it in future.

Structured

System Design Advisor

Design the high-level architecture for this system. Cover components, data flow, scaling strategy, and key design decisions.

Structured

No-Code Tool Selector

Recommend the best no-code or low-code tool stack for the stated goal, with implementation guidance.

Structured

Data Analysis Prompt

Design the complete analysis approach for the stated question. Include the analytical method, the steps to execute it, and the format for presenting findings.

β˜… THIS PROMPT IS IN A PACK

The Developer Toolkit Pack

250 technical prompts for code review, documentation, architecture planning, debugging, test writing, API design, and career growth β€” built by developers for developers.

Browse more prompts β†’