FanPulseAIAn agent that turns fan surveys into weekly alerts and feedback
Every week it reads match-day surveys, sorts what fans said, and emails each team what needs fixing.
For
The Australian Football League (AFL)
Where
Dataiku
When
Oct – Dec 2025
My role
Primary technical lead
Survey answers
24Kanalysed, all of them, not a sample
The problem
After every match, fans fill in a survey: why they came, how the seats were, the queues, the food, getting in and out. The Australian Football League collects more than 20,000 of these each season. The answers were meant to improve operations, customer service and the venues, but only a small part of the free-text replies was ever read, by hand.
So most of what fans said went unread. And the people who could act on it (a club, the ticketing team, a venue manager) each needed a different slice, which nobody had time to cut.
What I built
A pipeline that runs every week on its own. It reads the latest surveys, sorts each fan's answers into three areas (club, ticketing and venue) and within each area into alerts to act on now, issues worth improving, and positives. An agent then writes a short report for each owner and emails it: one per venue for ticketing, one per venue for the venue team, one per club, and one with everything.
How it works
The work is split into five zones. Only the last one is the agent.
Ordinary data steps do the collecting, cleaning and structuring; the agent only sees the finished structure and decides what each owner needs to hear. Redrawn from the project's documentation.
Collect. The weekly job takes every survey from the 21 days before the latest match in the data, and drops any it has already processed.
Prepare. Each survey arrives as one row per question. The job separates the match details from the answers and tags every question with its category. Where a question has no category yet, a language model assigns one.
Structure. Every survey becomes the same small JSON object: club, ticketing and venue, each with an alert, an issue and a positive, written in plain words with the fan's ratings kept in brackets.
Route. A stakeholder list says who owns which club, venue or category, and who should hear about what.
Act. An agent with two tools (one that summarises the week's structured feedback, one that sends email) writes and sends each report.
Sentiment report: venueStadium A · this week's matches
Critical alert
Accessibility rated 2/10: fans report severe difficulty getting into the stadium. Needs an improvement plan.
Strengths
Customer service 10/10, cleanliness 9/10
Entry and exit, safety and wayfinding rated 10/10
Issues to look at
Food and drink prices 1/10; queue times 6/10
Exit flow 5/10: crowd flow after the match
Data gaps
No feedback this week on mobile features or music
"Ticketing": {
"alert": "None identified",
"issue": "Hard to get preferred seats",
"positive": "Fair value for money (7/10)"
},
"Venue": {
"alert": "None identified",
"issue": "Food and drink prices (6/10)",
"positive": "Staff friendliness (10/10)"
},
"Club": { … }
Left: what a venue manager receives, redrawn without names. Right: the structure every survey is turned into before the agent sees it, shortened.
Hard parts and decisions
Four choices shaped the pipeline. For each: what I could have done, and what I chose.
The agent comes last
The agent never sees a malformed row, and every week's report has the same parts in the same order.
Could have
Handed the raw survey rows to an agent and asked for a report.
Chose
Ordinary data steps collect, clean and structure; the agent only summarises a fixed JSON shape and sends mail.
Cost
More pipeline to build before the agent does anything.
What counts as one piece of feedback
The survey file has one row per question, so a survey is not a row. A survey loaded twice is still one survey.
Could have
Treated each row, or each survey id, as one piece of feedback.
Chose
The survey id together with the time it was loaded, as the key that de-duplication runs on.
Cost
A grouping step before anything else can run.
A window that follows the matches, not the calendar
Surveys keep arriving after a match; a rolling window catches the late ones.
Could have
Taken the last week, counted back from the day the job runs.
Chose
21 days back from the most recent match in the data, with already-processed feedback removed.
Cost
Each run reads three weeks of data to report one.
Severity as a structure, not a score
An alert can be shown first, in red, to exactly the team that owns it, while strengths are still reported, so the email is not only bad news.
Could have
One sentiment number per survey.
Chose
Three slots per area (alert, issue, positive) written in words, with the fan's ratings kept.
Cost
Words are harder to chart over a season than a number.
Making it reliable
Same shape every time. Every survey is turned into the same JSON structure before any summary is written.
Nothing reported twice. Each run removes feedback already processed, using the survey-plus-load-time key.
No category left blank. Questions without a category are classified before the sentiment step.
The email says what it does not know. A “data gaps” section lists topics with no feedback that week.
Outcome
24Ksurvey answers analysed and kept in one place, instead of a hand-read sample.
The repetitive reading is automated, and each week's issues reach the people who can fix them already sorted, so triage starts the moment the email arrives.
It runs in production, and it became an official Dataiku customer case study.
My role and the team
The league's central data and IT team and Dataiku's services team built it together.
I was the primary technical lead, from October to December 2025, through Dataiku's Agent Accelerator Program. I engineered the production pipeline on Snowflake, with Claude 3.5 Sonnet calling its tools, and the deduplicated 21-day window.