- Home
- Skills
- Data & Databases
- SQL Multi-Channel Marketing Performance & ROMI Analyzer
Works with the AI Agents you already use
SQL Multi-Channel Marketing Performance & ROMI Analyzer
by Çağrı Yetkin
Turn raw ad spend and conversion tables into clear Return on Marketing Investment (ROMI) and budget allocation decisions directly from your AI agent.
$8.99
SQL Multi-Channel Marketing Performance & ROMI Analyzer
Example session with this skill installed
Analyze our campaign performance for Q3. We use BigQuery. The table is marketing_data.ad_performance. It has spend, clicks, impressions, conversions, and revenue columns.
- Read your context and instructions
- Compiled the sql multi-channel marketing
I have analyzed the Q3 performance data from your BigQuery table. The query aggregates metrics by channel and campaign, applying NULLIF to prevent errors in CPC and ROMI calculations.
Q3 Channel & Campaign Performance
| Channel | Campaign | Spend | CTR | CPC | CPA | Revenue | ROMI % |
|---|---|---|---|---|---|---|---|
| Search_Brand_US | $4,500 | 12.4% | $0.85 | $12.50 | $18,200 | 304.4% | |
| Retargeting_VV | $2,100 | 1.8% | $1.15 | $24.70 | $5,800 | 176.2% | |
| ABM_Enterprise | $6,800 | 0.45% | $8.20 | $185.00 | $4,200 | -38.2% | |
| Display_Prospect | $1,200 | 0.12% | $0.40 | $300.00 | $150 | -87.5% |
Diagnostic Breakdown
- High-ROMI Winner:
Search_Brand_USis your primary driver. With 304% ROMI, it has significant room for budget scaling before hitting diminishing returns. - Budget Burner:
ABM_Enterpriseon LinkedIn is draining budget with a high CPA ($185) relative to the customer lifetime value. The CPC is also disproportionately high compared to other channels. - Funnel Leak:
Facebook_Retargetingshows healthy CTR but the CVR is lagging behind the Google Search benchmarks. This suggests a potential friction point on the specific retargeting landing page.
Budget Reallocation Recommendations
- Scale: Increase
Search_Brand_USbudget by 20% for the next month to capture remaining high-intent volume. - Pause: Halt
Display_Prospectimmediately; the ROMI is deeply negative and CVR is statistically negligible. - A/B Test: Refine the landing page for the Facebook Retargeting campaign to align closer to the high-converting Search page.
Next steps
- Would you like the specific SQL code used for this BigQuery analysis?
- Shall we run a week-over-week trend analysis for the LinkedIn campaign to see if performance is improving?
- Do you want to filter out campaigns with less than $500 spend to clean up the report?
Connects securely to your tools. The creator never sees your data.
About this skill
Turn raw ad spend and conversion tables into clear Return on Marketing Investment (ROMI) and budget allocation decisions directly from your AI agent.
What this skill does:
- Full-Funnel Ad Metrics in SQL: Computes Spend, Impressions, Clicks, CTR, CPC, CPM, CVR, CPA, and ROMI (%) across channels and campaigns with division-by-zero protection.
- Multi-Dialect Support: Adapts cleanly to PostgreSQL, BigQuery, Snowflake, or MySQL schemas.
- Leak & Winner Detection: Separates high-ROMI scalable campaigns from budget-draining ads and diagnoses creative vs. landing-page drop-offs.
- Actionable Budget Plan: Outputs an executive Markdown scorecard with clear recommendations on what to scale, pause, or test.
Requires pre-existing tables with spend and revenue metrics. Does not support complex multi-touch attribution or cross-table joining logic without manual schema definition.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 10 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.