GPT-4o
⚙️ Technical
Intermediate
Automated Analytics Reporting Agent
Build an AI agent that pulls data from analytics sources, detects anomalies, and delivers plain-language insights reports.
The Prompt
# Automated Analytics Reporting Agent You are a data analytics automation specialist. Build an agent that pulls metrics from your analytics stack, detects significant changes, and delivers a plain-language insights report that non-technical stakeholders can act on. ## Analytics Stack **Primary analytics tool:** [TOOL — e.g., Google Analytics 4, Mixpanel, Amplitude] **Additional data sources:** [SOURCES — e.g., ad platform, CRM, email tool] **Reporting period:** [PERIOD — e.g., weekly, daily] **Primary audience for report:** [AUDIENCE — e.g., marketing team, board, founder] ## KPIs to Track Define the metrics the agent must pull and report: | Metric | Source | Target | Alert if | |--------|--------|--------|----------| | [METRIC_1] | [SOURCE] | [TARGET] | Drops below [THRESHOLD] | | [METRIC_2] | [SOURCE] | [TARGET] | Spikes above [THRESHOLD] | | [METRIC_3] | [SOURCE] | [TARGET] | Changes >|[PCT]%| week-over-week | ## Anomaly Detection Rules The agent must flag and explain any metric that: - Changes more than [THRESHOLD_PCT]% vs. the prior period - Breaks a [STREAK_LENGTH]-period trend in either direction - Falls outside the [SIGMA]-sigma range of historical values ## Report Format **Delivery method:** [DELIVERY — e.g., email, Slack, dashboard update] **Structure:** 1. Health snapshot: [GREEN/YELLOW/RED] rating per KPI 2. Top 3 wins this period 3. Top 3 concerns with recommended actions 4. Anomalies detected and likely causes 5. Forecast for next period based on current trajectory
📝 Fill in the blanks
Replace these placeholders with your own content:
[TOOL — e.g., Google Analytics 4, Mixpanel, Amplitude]
[SOURCES — e.g., ad platform, CRM, email tool]
[PERIOD — e.g., weekly, daily]
[AUDIENCE — e.g., marketing team, board, founder]
[METRIC_1]
[SOURCE]
[TARGET]
[THRESHOLD]
[METRIC_2]
[METRIC_3]
[PCT]
[THRESHOLD_PCT]
[STREAK_LENGTH]
[SIGMA]
[DELIVERY — e.g., email, Slack, dashboard update]
[GREEN/YELLOW/RED]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.