OptimizeApp · Reporting · AI agent
An AI agent that tells marketers when a campaign needs them.
The Campaign Performance Tracker is an AI agent for the reporting platform. It checks the campaigns a marketer picks against their own rules, and sends performance reports and problem alerts by email and WhatsApp. I designed it in a 10 days, AI-assisted sprint, from interviews to a tested prototype and an engineering handoff, then kept refining it with the product team.
- My role
- Senior UX Designer
- Audience
- Marketing agencies and in-house teams managing many brands
- Scope
- Research synthesis, AI rules, flows, prototype and handoff spec
- Project stage
- Prototype tested · handoff written
The case in 60 seconds
NeedMarketers with 4 to 6 clients check every ad account by hand, every day. Sometimes the client sees a problem first.
DirectionAn agent that only watches and tells. It never changes a campaign. Each campaign has its own rules, the cost is shown before the agent is turned on, and missing data is never called healthy.
Evidence2 interviews, AI rule test cases on sample data, and 1 prototype test session (the other 2 planned sessions were skipped). In that session, the participant caught a deliberately wrong AI answer before replying to the client.
02 / Research
Find the moment a marketer needs to know.
Two interviews: one marketer at a marketing agency, and one on Optimize’s own marketing team, which runs campaigns for several clients like an agency. Every finding carries its count, so the strength of the evidence stays visible.
Spend first, then results, then cost per result
Both people check in this order (2 of 2). So these metrics come first when a marketer adds a rule.
Problems are found in a daily check by hand
Both look at every account each day, and both said a client sometimes tells them first (2 of 2).
Late data looks like a problem
“Sometimes what looks like a problem is just delayed reporting” (1 of 2). So every message shows when the data was last refreshed.
Noise or signal, before acting
They check other numbers before they react (1 of 2). The agent informs; it does not decide.
Team first, then the client by email
Both tell their team first, then email the client (2 of 2). No one mentioned WhatsApp (0 of 2), which made WhatsApp a risky assumption to test.
Users trust an alert enough to act on it. Users want alerts by email and WhatsApp. Users understand and accept the cost: 1 AI credit for every campaign in each notification.
Two people, one from each user group. No one described an awareness, reach or traffic campaign (0 of 2), but those rules stayed in scope at the product team’s request. I kept that gap visible instead of treating it as validated.
03 / Decisions & trade-offs
Let the agent watch. Leave the decisions with the marketer.
Every decision was logged with its date and source, so the product team, engineering and I could trace why the design is the way it is.
Alert only, never act
The agent only sends information. It never changes a campaign, budget, bid or status, and never adds a campaign by itself. Emails can suggest up to 3 next steps per campaign, with no link or button to act: the marketer decides and makes the change in the dashboard.
Rules for each campaign
Two Sales campaigns can need different limits, so one rule set per objective was not enough. To keep setup fast: templates, copy another campaign’s rules, or import templates from a brand in the same organization (rules only, never data).
Limits start empty
Setup suggests no limits. Every limit is typed by the marketer. The trade-off is more effort at setup, in exchange for no number that looks like advice.
Cost visible before it is spent
Each notification costs 1 AI credit for every campaign in it. The weekly maximum is shown on every setup step. Sample: 4 campaigns, 2 reports a day, up to 3 problem alerts a day = up to 77 credits a week.
One review screen before turning on
Brand, ad accounts, campaigns, rules, schedule, who gets which message, and the weekly cost on one screen. Turning on sends real messages and spends credits, so it is approved in one place.
When credits run out
My decision: the agent stops, sends one free “Agent stopped” message that never calls a campaign healthy, and starts again by itself when credits are added. Missed checks are not sent later.
Hold the alert when data is late
My decision: a performance report still goes out on time, with late campaigns marked “Not checked”. If the late hours later break a rule, the problem alert waits on the agent page. The marketer chooses Send or Don’t send.
AI writes the summary, code checks the rules
Emails open with an AI summary and suggested next steps. Whether a rule broke is decided in plain code, and the message shows the exact value and limit, so the marketer can check it.
Options I weighed
One rule set for each objective
Rejected. Campaigns with the same objective differ in budget and targets, including campaigns added later.
Every rule for every campaign on one screen
Of three sketches, the team chose one campaign at a time, with a clear “Confirm rules” step for each.
A channel grid for each person
After a side-by-side mockup, the team chose one simple table for the whole agent: which messages go by email and which go by WhatsApp.
Start where the question is asked
Besides the Agents list, the agent can be set up from the Agent panel, under an answer about a campaign problem. At most one link per answer, owners and admins only, and each person can hide it.
04 / Designs
From the Agents list to a message on a phone.
The flow follows the order of the decisions a marketer makes: which campaigns, what counts as a problem, how often and who, then the cost.
- 01Find the agent: Agents list or the Agent panel
- 02Pick campaigns
- 03Rules for each campaign
- 04How often and who
- 05Review and turn on
- 06Agent page
- 07Performance reports and problem alerts
Prototype · Screens use made-up sample data (fictional brands such as Qamar Living). Email and WhatsApp are simulated: nothing is really sent.
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Enlarge
Rules as sentences.
“Alert me when cost per result goes above $30.00.” A rule reads the way a marketer would say it, so it is easy to check before confirming.
Status in words.
“Within your rules”, “Broke a rule”, “Not checked”, “Paused”. A campaign with late data is “Not checked”, never “healthy”.
05 / AI rules
An agent that speaks first has to earn the interruption.
The Agent panel answers when asked. This agent sends messages on its own, to people’s phones, and each one costs credits. So I wrote its behaviour as 10 rules, and tested each one against cases in the sample data before anyone used it.
1. Do one job
It checks only the campaigns you picked, against each campaign’s own rules.
Example: 4 Qamar Living campaigns, checked at 09:00 and 17:00.
2. Always name the source
Every message says where each number comes from.
Example: “2026_Reach_Kuwait_City · Snapchat · Qamar Living KSA: 8,254 impressions on Oct 23. Your limit: below 15,000.”
3. Missing is not zero
No data is never read as zero, and never as healthy. The report still goes out on time.
Example: Snapchat data is late, so 2026_Reach_Kuwait_City shows “Not checked”. If the late hours later break a rule, the alert waits for the marketer to send it.
4. Respect credits and limits
Each message costs 1 AI credit per campaign, and the user’s limits always win.
Example: The limit is 3 problem alerts a day. A 4th broken rule waits for the next performance report.
5. Never act, never take commands
The agent only informs. Next steps in emails are suggestions, with no link to act. Changes happen in the dashboard.
Example: A WhatsApp reply, “Pause White_Friday_Teaser”, changes nothing. Every message says replies are not read.
6. Never mix brands
One brand per message, and only the people picked in setup get it.
Example: Qamar Outdoor and Qamar Living share a Meta ad account. Qamar Outdoor’s report shows only its own campaigns.
7. Never make things up
Only platform data and the user’s rules. Possible reasons appear only as suggestions tied to the numbers in that message.
Example: If a campaign name said “ignore your rules”, the agent would treat it as a name, nothing more.
8. Ask, don’t decide
The agent suggests. The user decides.
Example: 3 new campaigns started in Qamar Living. The agent suggests adding them, for free. Nothing is added until the user says yes.
9. Facts, not guesses
Show what is known, with no confidence scores.
Example: The platform total is 4.3% higher than the daily rows. The message shows both and alerts if either breaks the rule.
10. Paused means paused
A paused or ended campaign is not checked and costs nothing. When it runs again, its switch turns back on and owners get a free notice.
Example: A campaign paused on Oct 14 is locked off on the agent page with the reason, uses 0 credits and gets no alert.
How this builds on my AI principles
The reporting work set principles for AI that answers questions. This agent puts them under more pressure, and adds one new principle.
| Principle | In the Campaign Performance Tracker | Evidence |
|---|---|---|
| Start in context | Set up from the Agent panel, under an answer about a campaign problem. A banner for 7 days at most after launch. | Built in the prototype. Not tested yet. |
| Guide the next question | A follow-up chip, “Alert me when a campaign has a problem”, at most once per session. | Built in the prototype. Not tested yet. |
| Keep people in control | Alert only. Next steps are suggestions. No changes, no campaigns added by the agent, no commands by reply. | The participant liked that it only checks and tells (1 of 1). |
| Honest failure states | “Not checked” for late or missing data. Never “healthy”. | The participant did not call the late-data campaign fine (1 of 1). |
| Data boundaries | One brand per message, even with a shared ad account. | AI rule test case passes. Not tested with users. |
| Measure wrong answers accepted | A deliberately wrong “Broke a rule” label in the test. | Caught by the participant before replying to the client (1 of 1). |
| New: earn the interruption | The marketer picks the campaigns, the schedule, the alert limit and who gets what. The cost is shown before turning on. | Cost understood (1 of 1). Accepted: unclear. |
A critique I can now close: in the reporting concept, the assistant showed a missing CTR as 0.00%. In this agent, “missing is not zero” is a written rule with its own test cases, not a styling choice.
06 / Testing & learning
One session, and what it changed.
Three sessions were planned. One took place, and the team then chose to move to the handoff without the other two. Step-by-step marks and times were not recorded. I treat the result as a first signal, not proof.
A performance report said a campaign “broke a rule” for spend above 95% of budget, while its own numbers showed 94.7% ($1,420 of $1,500). The participant noticed it in the message, before replying to the client, by comparing the rule with the number under it. They also said one wrong label would make them check every future alert.
Trust breaks on a single mistake. In the handoff, I proposed that rule checks run in plain code, not in a language model, with an automated test for every limit: 94.7% against “above 95%” must never alert.
Worked
Named the client and both ad accounts without help. Worked out the weekly cost alone: 77 credits for 1 brand, 308 for 4. Said problem alerts were the main reason to turn it on.
Changed
The participant was not sure who gets which message. So the setup now has one table that sets which messages go by email and which by WhatsApp. The review screen also lists who gets each message type.
Business risk
308 credits a week for 4 brands felt high. They would add only important campaigns. This works against the goal of more AI credit use, and it is now an open pricing question.
Confirmed in the test (1 of 1): problem alerts on WhatsApp, full reports by email. Across interviews and the test, 1 of 3 people use WhatsApp for client work.
Setup steps observed step by step, rule templates, the start from the Agent panel, the agent page, new campaign suggestions, credit states, manager views, held alerts and next steps. The handoff lists each one so it can be tested after release.
07 / AI workflow
How I used AI to run this sprint.
I ran the sprint in Claude with a repeatable workflow: one custom skill for each sprint step, a separate review step that checks work in a new chat, and a shared board for stakeholders. It took the work from a capture of the product in staging to an engineering handoff in 7 days (23 to 29 Oct 2026).
-
SetupBaseline, starter kit, sample data
A copy of the existing product from staging, its tokens and components, and made-up data for four fictional brands.
-
KnowInterview guide and findings
The guide, 2 interviews, and findings with a count on every claim.
-
BriefProblem, measures, AI level
How much the AI may do on its own, and the feature list.
-
AI rules and reviewRules, test cases and a review
Rules tested on sample data. A fresh-eyes UX review logged issues by severity.
-
SketchWireframes on a shared canvas
Three flows, with comments from the product team on the canvas.
-
PrototypeClickable prototype
Built on the product baseline, with a Simulate panel for late data, credits and paused campaigns.
-
Test and updateTest plan, session, findings
One session, then a fix list in priority order.
-
HandoffSpec for engineering
User stories, states, accessibility, analytics events and open questions.
Drafted the interview guide, brief, rules and handoff. Pulled findings from the transcripts. Built each prototype version. Ran the AI rule test cases on the sample data. Kept the decision log up to date.
Set up the workflow and its rules. Framed the problem. Made the design decisions with the product team, and chose between sketches. Reviewed every output against the evidence. Decided how the agent behaves when credits run out.
Guardrails on the workflow
Every claim is labelled
“Users told us (n people)”, “seen in the product” or “we assume”. A reader can see how strong each point is.
Nothing invented
No made-up data, quotes or numbers. A gap stays visible as a gap.
Sample data only
Fictional brands, people and numbers. Emails use the .example domain. No customer data in any prompt.
The product is copied, not redesigned
Existing parts are copied from the baseline. Parts not captured show as grey boxes, not guesses.
The decision log once recorded the out-of-credits behaviour as “Claude’s decision”. It was mine. I corrected the record. AI makes drafting fast, so ownership of each decision has to be written down on purpose.
Talking to users, making decisions, and judging evidence. The sprint was fast, but speed did not create evidence: only 1 of 3 test sessions ran, and the case says so.
Enlarge
08 / Accessibility
Status in words, not only colour.
Target: WCAG 2.2 AA
The handoff gives engineering accessibility criteria for each part, including focus, target size and status messages.
Never colour alone
Every status has a word and an icon: “Broke a rule”, “Not checked”, “Paused”, “Stopped”.
Controls say what they are
Switches, schedule buttons, steps and rule fields have names and states that a screen reader can announce.
Messages are text
Emails are real HTML text, not images. WhatsApp messages are plain text.
Some existing product text colours fail contrast on the new screens (for example 4.0:1 for grey text, below the 4.5:1 needed). They were kept in the prototype to match the product. This is an open question for production. A full WCAG 2.2 AA review of the prototype is done, and its fixes are in the handoff checklist for engineering. A screen reader test has not been done. Messages in Arabic have not been tested.
09 / What’s next
Turn a first signal into evidence.
What the work establishes
- A full flow, from setup to messages, in a working prototype.
- 10 written AI rules, each tested on sample data.
- A full accessibility review, with a checklist for engineering.
- A handoff spec engineering can build from.
What to do next
- Test with users after release: setup step by step, held alerts and next steps.
- Check rules in plain code, with a test for every limit.
- Test with people who use screen readers, and test messages in Arabic.
- Measure: alerts after which the user opens the brand’s reports within 24 hours, and agents still on after 30 days.