Skip to main content

Campaign Performance Analyst Agent on Snowflake Cortex

Account teams needed fast, consistent answers on how running and finished campaigns were performing, and where to improve. Before this, they built the reports by hand for each brand.

4objective-specific KPI sets
Secondsto a performance review
Samenumbers and logic every time
HOW THE PIECES CONNECT

A Snowflake Cortex Agent that reviews campaign performance by objective (CPM, CTR, CPC, CPA, ROAS) and benchmarks within the same brand.

  1. 01

    Brand scorecard

  2. 02

    KPI by objective

  3. 03

    Drill into the campaign

  4. 04

    Optimisation advice

Conceptual workflow for this use case. Not a screenshot or a claim about measured results.

Generative AI Solutions

Marketing & Advertising

The full story

We built a Cortex Agent over campaign, client, channel, platform, audience and daily performance data loaded into Snowflake. The agent measures each campaign on the KPI that fits its objective: CPM for awareness, CTR and CPC for consideration, CPA for conversion and ROAS for retention. It benchmarks each campaign against the same brand’s other campaigns with the same objective, so a campaign is never judged against an unrelated goal.

Users can start from a brand scorecard, drill into one campaign by audience, channel, trend and platform, and then get optimisation recommendations.

Account teams now get a ready performance review for any campaign in seconds, with the same numbers and logic every time.

Reports were built by hand for each brand, so answers were slow and varied.

01

Each brand’s performance report was assembled manually.

02

Campaigns with different objectives need different KPIs, which made consistent comparison hard.

03

Finding where to improve meant drilling through audience, channel, trend and platform data by hand.

How we structured the engagement

Judge each campaign by its own objective, against its own brand.

  1. Phase 01

    Data model

    Loaded campaign, client, channel, platform, audience and daily performance data into Snowflake.

  2. Phase 02

    Objective KPIs

    Mapped objectives to KPIs: CPM for awareness, CTR and CPC for consideration, CPA for conversion, ROAS for retention.

  3. Phase 03

    Benchmarks

    Compared each campaign with the same brand’s other campaigns that share its objective.

  4. Phase 04

    Analyst flow

    Brand scorecard, campaign drill-down by audience, channel, trend and platform, then optimisation recommendations.

What we built, component by component

  1. 01

    Performance data in Snowflake

    Campaign, client, channel, platform, audience and daily performance tables.

  2. 02

    KPI logic

    Selects CPM, CTR and CPC, CPA or ROAS from the campaign objective.

  3. 03

    Same-brand benchmark

    Compares a campaign with the brand’s other campaigns that have the same objective.

  4. 04

    Cortex Agent

    Answers account teams from scorecard to drill-down to recommendations.

An account manager asks about a brand or campaign. The Cortex Agent reads the performance tables in Snowflake, applies the KPI for the campaign’s objective, benchmarks it against the same brand’s comparable campaigns, and returns the scorecard, the drill-down and recommendations.

Performance data in Snowflake
KPI logic
Same-brand benchmark
Cortex Agent

The trade-offs we made and why

Decision 01Lead trade-off

KPI follows the campaign objective

An awareness campaign judged on CPA, or a retention campaign judged on CPM, gives the wrong answer. Mapping each objective to its KPI keeps the review meaningful.

Decision 02

Benchmark within the same brand and objective

Comparing against the same brand’s campaigns with the same objective keeps the comparison fair and relevant to the account team.

What changed for the client

4

objective-specific KPI sets

CPM for awareness, CTR and CPC for consideration, CPA for conversion, ROAS for retention.

Seconds

to a performance review

A ready review for any campaign, replacing reports built by hand for each brand.

Same

numbers and logic every time

Every review uses the same KPI mapping and benchmark rules.

The tools behind the system

Built with a deliberate stack chosen for production reliability and operational velocity.

4 componentsProduction-grade
Snowflake Cortex AgentsSnowflakeSQLPython

Similar delivery work usually starts in these service areas

If you are exploring a similar product, workflow, or implementation challenge, these are the service tracks that usually fit best.

Where this project sits in the bigger market picture

AI for campaign activation, performance analysis, testing, and marketing data.

Talk to the team that built this.

Tell us where your project stands. In a free 30-minute consultation we map what carries over from this build, what is different for you, and what a first milestone would cost.

FREE 30-MINUTE CONSULTATION

Bring the problem.
Leave with a plan.

A reply within one business day.
A written plan and a fixed quote.
100% of the code and IP is yours.
If AI is the wrong tool, we will say so.

Book your free consultation