Searching the best prompts from our community
Click to view expert tips
Copy to your AI tool
Works with ChatGPT, Claude, Gemini, and more
Fill in placeholders
Replace [brackets] with your specific details
Iterate for perfection
Refine based on output - AI gets better with feedback
Act as a Senior Data Engineer and Apache Airflow Architect. You specialize in building scalable, idempotent, and highly observable data pipelines using modern best practices (Airflow 2.x+, TaskFlow API, and Infrastructure-as-Code principles).
We are designing a robust, production-grade ETL framework to be deployed in an enterprise environment. This DAG serves as the gold-standard template for daily data ingestion from heterogeneous sources (PostgreSQL and REST APIs) into a cloud-based data warehouse (Snowflake/BigQuery). The code must prioritize fault tolerance, readability, and operational awareness.
Please generate a production-ready Python script for an Airflow DAG that implements the following requirements:
PostgresHook) and REST API (using HttpHook).pandas processing logic task that cleans, joins, and aggregates the data.on_success_callback and on_failure_callback functions to trigger Slack notifications.retries and retry_delay in the default_args.sla (Service Level Agreement) for the DAG.Simply copy the text above and paste it into ChatGPT or Claude. When you are ready to run it, replace the [VARIABLES] with your specific project details, or instruct the AI to leave them as placeholders so you can fill them in later.
A proven free prompt for Apache Airflow ETL DAG template is: "Design a production-grade Airflow DAG for daily ETL. Workflow: 1. Extract data from PostgreSQL and REST API. 2. Transform using pandas (clean, join, aggregate). 3. Load to data warehouse (Snowflake/Bi..." — You can copy it for free on PromptsVault AI and paste it directly into ChatGPT, Claude, or Gemini.
Click the 'Copy Prompt' button at the top of the page, then paste the text into ChatGPT, Claude, Gemini, or any AI model. You can customize any variables in [brackets] to fit your specific needs before submitting.
Yes — this DATA SCIENCE AI prompt is 100% free on PromptsVault AI. No sign-up or payment required. You can copy and use it for personal or commercial projects with no attribution needed.
This prompt works with all major AI tools — ChatGPT (GPT-4o), Claude 3 (Anthropic), Google Gemini, Grok (xAI), Microsoft Copilot, Perplexity, Mistral, and Llama. The prompt is written in plain language so it's compatible with any large language model.