Case study 2 of 5

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.

every week1 CollectSurveys from thelast 21 days ofmatches; skip anyalready processed2 PrepareSplit match detailsfrom answers; tageach question; amodel fills the gaps3 StructureOne JSON per survey:club, ticketing, venue× alert, issue,positive4 RouteStakeholder list:who owns whichclub, venue or topic5 Act (agent)Two tools:summarise theweek's feedback,send each emailfour kinds of emailTicketingper venueVenueper venueClubper clubAlleverythingevery week1 CollectSurveys from the last 21 days ofmatches; skip any already processed2 PrepareSplit match details from answers;tag questions; a model fills gaps3 StructureOne JSON per survey: club, ticketing,venue × alert, issue, positive4 RouteStakeholder list: who owns whichclub, venue or topic5 Act (agent)Two tools: summarise the week'sfeedback, send each emailTicketingper venueVenueper venueClubper clubAlleverything
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.
  1. 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.
  2. 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.
  3. 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.
  4. Route. A stakeholder list says who owns which club, venue or category, and who should hear about what.
  5. Act. An agent with two tools (one that summarises the week's structured feedback, one that sends email) writes and sends each report.
"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.

  1. 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.
  2. 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.
  3. 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.
  4. 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

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.

Stack