← All free workshops
Free workshop · Thursday, October 22, 2026

Build Your AI Analytics Context Plan

Choose one analytics question and map what AI would need to answer it well.

Recorded live on Maven. About 75 minutes.

What this session covers

Shane Butler uses a drop in iOS sessions to build a context plan: who needs the answer, which decision it supports, where the existing sources and metric definitions live, what instructions AI needs and which checks would expose a wrong result. The session produces a plan, not a deployed agent.

  • Pick a question and the decision it supports before collecting documents or writing instructions.
  • Find the existing dashboards, queries and owners behind the metric, including definitions that could change the answer.
  • Write checks for the calculation and conclusion, then list the next steps to make that context usable by a real system.

The plan is a starting point. The five-week course shows how to build and evaluate the system that uses it.

See the Agentic Analytics course

Chapters

  1. 7:24 Choose a question and decision
  2. 9:30 Find dashboards, queries and documents
  3. 13:14 Turn knowledge into instructions
  4. 21:40 Worked example: iOS sessions are down
  5. 39:18 Create checks for definitions and conclusions
  6. 45:58 Export a plan and continue the work

Recording notes and transcript

Automatic captions from the final recording, formatted for reading. Names and technical terms may be misheard. Check the video for exact wording.

Session notes

One question makes the missing context visible

The worksheet begins with a question and the decision someone would make from its answer. In the session, that question is why iOS sessions dropped. Shane traces the existing dashboards and queries, then asks what “session” means in the company’s data. Logged-in, logged-out and quality sessions can lead to different readings of the same change.

Turn sources into usable instructions

The plan identifies where a definition or business rule came from and who can settle ambiguity. It then records the instructions an AI analyst would need and checks that would catch a wrong definition or unsupported conclusion. This is a planning exercise. It does not deploy an agent or run a full evaluation suite.

Keep the plan current

The Q&A covers changing definitions, ownership, using context with existing tools and choosing relevant material for a question. Use the free Context Plan Builder alongside the recording to create your own plan, then review it with the people who own the sources.

Automatic transcript

0:02 code will be totally perfect, but the definitions of what the company means and when they say something like sessions, uh it’s just going to make that up. So, we’ll identify some existing work. We’ll figure out kind of the definitions and business rules that need explaining. We’ll turn that into instructions for AI. Not just creating the instructions, but checking that they’re actually applied. At the end, we all all should have a kind of specific next steps for our companies using what we prepared. All right. So, welcome back to another session with AI Analysts Lab. Um today, we’re going to continue our series on um context engineering and management for analytics uh in partnership with Hex. As we’ll do a quick overview, I think review of kind of like what context management is um and um and then we’ll get into uh kind of a quick review from

0:52 from last week. If you weren’t here with us last week, um talking about [clears throat] context, we’ll do a quick review around those principles. And then, we’re actually going to get hands-on all together, and we’re going to try and all of us um build out our own kind of starting first steps of building like a context plan for our actual companies. Um so, before we get into it, a quick reminder um you know, uh of of what context is and why we need it what we need what we mean by context.

1:23 So, imagine you have a new analyst, a human analyst, joining your team. Uh they’re probably really good at analytics, it’s how they got the job. Uh but they still need to learn how your company works, how your product works, um you know, which reports do people use? What does your team mean by certain by like the definition of a certain metric like like is a session or a customer or revenue. Uh what’s already been filtered out of the data in a lot of analysis like common things like maybe test accounts are always filtered out. Uh maybe look at certain regions in a certain way.

2:00 Uh, maybe there’s a bunch of data that happens before someone logs into the product that you don’t really want to want to include. Um, AI, in order to get reliable, trustworthy, um, answers [clears throat] to in in analytics when you’re leveraging AI for it, they need to have all that context, too, right? It’s a little bit different than the genetic coding. Genetic analytics, um, in analytics, um, you have to have all this stuff, all these kind of like gotchas and nuance around the company, around the product that lives in the data team’s head, or in the product manager’s head, or in the engineer’s head. And so we have to get all that context to the AI if we want reliable answers.

2:38 Otherwise, AI is just going to make something up. Um, code will be totally perfect, but like all the kind of logic behind it, the definitions of what the company means, um, when they say something like sessions, uh, it’s just going to make that up. So, [clears throat] context engineering versus management, what that [snorts] is, when we talk about context engineering engineering, we’re talking about making the relevant knowledge available to the AI carrying out the analysis. And then context management is kind of this ongoing work of, uh, you know, keeping that organized, deciding what should people rely on, uh, and updating it when things change. So, if someone change I don’t know, the definition of a session, or the definition of the time some like finance, um, metric, uh, we need to have a governed and systematic way so that all those changes reach the people and

3:39 the systems that are using that definition. Um, [snorts] so last time, review on what we did last week, uh, we worked through a kind of like fictional outdoor gear retailer. We We with a revenue question, looked at how much you can learn from uh the report, from the query behind it, uh the data descriptions, and the code that created that data. We talked about why uh you know, a report or a dashboard might be useful for for one question, but actually need changes um for other questions. We also talked about how do we find the people who understand all of the kind of choices and decisions um that went into building those reports and dashboard dashboards, and then how do we take all that and write guidance?

4:27 So, you know, a human AI a human analyst or an AI analyst um can use it without having to be in like every meeting and know every single thing that whoever has generated the the original report has. Um yeah, we finished with a a short example guide uh context guide. So, today today what I want us to do is a little different. I want us to start putting that into practice with a question from your own work. So, it’s going to be a little bit different um than how we typically run these sessions. Usually these sessions we teach some framework, we do a demo, and we kind of answer questions. Uh today I’m going to try and get us all kind of hands-on um working through um how do we start building our own context plans for our companies? And we’ll have

5:14 a little tool worksheet for you to follow along as we do that. So, getting started can feel kind of uh pretty broad. I mean, it’s kind of the hardest thing of anything, right? Like getting just getting started, getting that first step in. So, we want to simplify those early steps for you. Um you know, your company has a lot of knowledge, uh but you might not So, you know, you might not know like where do we start first? Where do we gather first in terms of context? Um how much do we really need to explain about that context to AI?

5:46 Um and once we’ve kind of written that all down, uh, what do we actually do with it? So, we’re going to go and work through, um, I’ll work through a question, um, from my old days at Nextdoor, where I used to work with Hile and Shravya, but you can you can follow along with that, or you can type in your own questions along the way, too. So, we’ll identify some existing work, we’ll figure out kind of the definitions and business rules that need explaining, we’ll [snorts] turn that into instructions for AI, and then we’ll also kind of decide some like high-level checks or evals, um, that can verify, uh, that the AI is, or agent, or whatever you’re using, um, is actually using that context when it does analysis.

6:32 Um, at the end, we all all should have a kind of specific next steps for our companies using what we prepared. Um, yeah, you can use something from your current job, a previous job, a side project, or you can just make make something up. That’s cool, too. Um, and if you don’t have a a question in mind, you can just follow my example. So, I’ll do a real high-level of just like these different stages we’re going to go through to get to create a plan, and then we’ll all go through it together. So, if I can get through these in the next 10 minutes, and then we can spend 20 or 30 minutes getting hands-on together, and then we’ll have 10 minutes for questions at the end. Or if you have questions during it, uh, drop them in the chat, and then me and Hile take a

7:12 look. So, before we open the worksheet of the we’ll be working through today, let’s [clears throat] walk through kind of like which each of these steps is, uh, is doing here, and why they’re important. Um, the first part’s choosing a question. Um, so, we’re going to work on, uh, one analytical question today, because that gives us something specific to prepare for, but you could create context plans for a bunch of different questions, right? So, we want to write this in a way that someone would ask the data team. If you are if you’re a member of the data team, like write it in a way in terms of like questions you might get from stakeholders. Or if you’re um a PM, an engineer, uh some or on GTM, like uh if you’re not on the data team, but you’re asking questions to the data team

7:59 a lot. Um yeah, you can just just just ask the question in the way you would send a request to the data team. Um you want we want to try and be as detailed as possible. Uh yeah, we want to try and clear like if there’s specific time periods we care about in our question. Um if there’s specific groups of of users or areas of the product or business that we care about, we want to try to be as specific as possible. That’s going to help us um understand all the different business rules and definitions we need to build context around to meet those criteria.

8:35 Um so um those those questions around, you know, um you know, [clears throat] what do you want to answer should set that entire scope. And then these last two questions around who needs to answer and what they’ll use it for. Uh those are going to help us understand what the work needs to support. Are we preparing a report? Um or are you just trying to decide um what we even need to investigate? Are we making a decision about the business or product? This is going to help us work out which information and level of detail will be most useful to make this actually actionable. [clears throat] Once we start knowing that, once we’ve kind of framed our question, uh we can start looking into the company knowledge that an analyst would need, a human or AI analyst, would need to

9:25 answer it. Um so I’ll kind of show you like what that’ll look like. Second part’s going to be around finding existing work. So before we start writing instructions for our agent um from [clears throat] scratch, we want to look at what the company already uses. So, that could be dashboards, that could be queries, that could be uh documents or or decks that were presented around like similar analysis previously. That could be data descriptions or could be some code of the within the actual product itself. So, [clears throat] uh you could have multiple sources of information that are required to answer your question here. Uh you can just add one, totally up to you. We’ll ask you to kind of like uh write down at least one source and explain what you think it could help you understand in terms of all the criteria

10:23 that are required to answer that question. So, a dashboard might show like a trend over time while it’s query explains um how the numbers are actually calculated. Um we’ll also ask who could help explain it and what might limit how you reuse it. Maybe you’re the person who can help explain it. Maybe the reports in the sources of information you’re basing this off of are something you created in the past. Maybe it’s someone else on another team that you need to reach out to. Um that’s going to be really really important as we think of like our plan and our steps of what we need to do to start building out this context.

11:03 Understanding who the owners of that context are and uh having them verify we have like all the information we need and it’s correct. If you don’t know those details yet, um totally fine. We can like write down um what you need [clears throat] to inspect or ask. Not knowing these things is important part of the plan, too. That’s just going to add additional plans early on in the steps of who you would talk to to kind of figure that out. Next, we’ll look at definitions around, you know, business rules and how we count things or measure things. This is where we explain um, you know, what the words in our question mean for this business and which records or calculations belong in the answer. So, you know, two people on different teams or even the same team can start from the

11:55 same data, right? Even start from the same question. Uh, and they can end up getting different numbers because they use different definitions, different filters, or different uh, dates. So, in both cases, you could have a perfectly correct query, everything could be perfectly correct in their minds, um, but we actually need to know like which are the business choices and and filters and what have you that fit the question we’re answering. So, we’ll ask which term or rule needs explaining, uh, what your team currently does, uh, where that rule is explained, who can confirm it. Again, getting back to the owners.

12:36 Uh, if you know the definition, you can actually write it down uh, with its source. You could paste the SQL query in there yourself if you have that. Uh, if you only know part of it, you can just record that part and make the remaining um, question don’t make the remaining question specific to like, all right, what who do we need to reach out to in terms of filling in the rest of the gaps. Uh, you might know which measure the team wants, but still need to find the calculation that implements it. Uh, that’s totally fine. We’re just trying to record down all the information we do know and then all of the gaps that we need to fill at this point. Uh, now that we’ve got our question, we’ve got some useful work, and we know the definitions uh, that

13:21 matter, we’re going to get into this instruction section that brings all those pieces together. So, you know, think about what you would give a capable analyst before they started this job. They come in, this is their first day on the job, you’re not going to ask them just “Hey, what’s Why are our sales down?” Um you’re going to need to give them a lot of background information in terms of like a well-formed question, in terms of like “Hey, here’s all the sources you could pull from, and here’s all the definitions and stuff I know, here’s everyone else you should reach out to to fill out the gaps to answer my question.”

14:02 Um that’s the same kind of mentality you want to you want to have around like someone new to the business who knows how to do analysis but doesn’t know the business. Same kind of mentality in terms of like the instructions you want to give an AI agent doing the analysis for you. So, uh we’ll use your earlier answers in those first three steps, the question, sources, and definitions and rules, to prepare kind of like draft instructions that we would give to AI. Um So, you don’t have to like retype that information yourself, but we’re going to review review um those instructions and then we can add things if we need to.

14:39 Um Once we have this, we’re going to look at how to put it to use um and like how how to actually check that those instructions are being followed. Um So, the last part here is preparing uh checks. You can kind of think of them as uh as evals. The instructions tell the analyst what to do, but these checks tell us what we do inspect to see whether they actually did it. So, um you know, we can start with like an important rule or a mistake we’d want to catch, then we’ll ask what we can look at in the finished work, um whether that’s you know, a filter, a calculation, a comparison, or the evidence behind a claim. Um and we’ll see what our, you know, our instructions mentioned, um our guide mentioned that we created in this previous step, but that didn’t um make

15:35 its way through into the the final analysis. So, we want to have some sort of kind of, you know, uh not just creating the instructions, but checking that they’re actually applied. And AI can help us do a lot of this part. AI can help us do a lot of the generating checks for us. Can help us do a lot of the generating instructions for us. We’re really in the loop on these first three sections, um to kind of driving it the way AI can support. So, I think of these first three sections, I go back to our slide here, question sources, definitions, and rules, as a lot of like human-led context engineering work, AI-supported.

16:10 Um and then instruction and checks, I think a lot of this as kind of like potentially uh AI-led, but human-reviewed. Okay. So, we’re going to go ahead and move out of the slides, and we’re going to try and build this together. Before we get into this, um if everyone think about this in your mind, maybe write it in chat. Like think about if you’re on the data team, what’s like a frequent question you get from your stakeholders? And it could be it could be a pretty broad question, it could be a specific question.

16:53 What’s something you like routinely get in your data team’s channel, um or that comes up in a meeting, um and or conversely, if you’re not on the data team, what’s a kind of question you have um when you’re trying to get information that can help you make decisions in your job, um on a regular basis. Maybe it’s something you’re thinking through right now. Maybe it’s something you have to think about when you’re doing some sort of report out to the rest of your team or to your leaders. Um Yeah, go ahead and drop that in the chat and um or or I’ll give you 10 seconds.

17:31 Write it down in the chat and then we can all kind of writers are enters at the same time. So, I’ll I’ll enter mine, too. Okay, if everyone has one, go ahead and enter it and we’re going to use these in a moment to create our plans. So, yeah, we got some good ones here. Why did why did this metric change? Yes, that’s This is the question that gives data teams jobs. Without this question, there wouldn’t be a data team. Um number of transactions in total amount last month. Yep. How do we know if these patient counts are correct? What is the logic behind? Yeah, this is a really good question, right?

18:08 Like not necessarily asking the question around like did this thing go up or down, but like how do we even know uh these numbers are are correct? What was the logic that was calculated? That’s That’s the the context question, right? [snorts] What’s slowing down our workflow? Yeah, why are these two data items that are supposed to measure the same items showing different results? Yeah, another good reason for the existence of a data team is uh disagreeing data. Many people’s careers have just been spent answering that question. I added one here that I’ll walk through today. Why are sessions down this week?

18:43 Um [snorts] Another one to leave I’m going to leave Yeah, why is engagement increasing but retention declining? Oh, that’s a interesting one. Yeah. Um when you’re seeing these kind of like converse behaviors, um opposite behaviors, uh occurring. Why is traffic conversion down year over year? Cool. All right, these are great. So, let’s go ahead. I’m going to drop a link in the chat here and we’re going to try to work through this in this little kind of tool I made this week. Hopefully it all works. I kind of hacked this together. Um there are some backup plans if it didn’t. So what we’re going to do here is Let me move this over to my other screen here. Okay, so I dropped a link in the chat.

19:33 [snorts] What we’re going to do here is we’re going to try and build out some like uh context uh plans. And back to the plan. So we’re going to go through this kind of like worksheet I created has a little AI assistant built in. Um you can also fill this out and I you can download this like Word template if you want to do it on your computer or you can open up this Google Docs template. So you’ll just click on that link and make a copy. Um and then this will open up this worksheet for you. So it has all those same questions uh we just had talked through in those slides.

20:11 Um in here in like a Google Docs form, but we’ll actually try and go through this worksheet instead. So first thing you’re going to do is hit start a plan. There might be a pop-up that asks you if you want to share your answers to help us make the the guide better. You can ignore it or you can say yes, whatever you want to do. [snorts] Um and [clears throat] basically we’re just going to walk through those questions I just talked about in the slides. So first one here um what question do I want to answer?

20:47 Um so you can see there’s those five sections we’re going to go through just to give you a little bit of a I guess I should give you a little uh intro to what this does. So we’re going to go through each of these sections. We’re going to answer questions along the way. It’s going to add those to our context plan here on the right. As we create our questions, we can review them with AI where there’s a little chat window here in the bottom right where AI can help us with the question a little bit. Um I’ll show you how to use that or play it you can play with it yourself, too.

21:22 And then at the end, it’s going to take all the information we gave it and it’s going to give us some next steps for, you know, what to do in the next week or so to like start uh filling in the gaps that we’re missing and uh start putting this context into practice. So, what question do I want to answer? And you can kind of see some examples down here if you want. So, example here is like what was our company-wide net revenue last month? I’m actually going to use a question from when Hian and I used to work at Nextdoor.

21:55 So, Nextdoor is a neighborhood social media app. Um and uh one of the things I spent my job doing a lot of that probably a lot of people do on a data on data teams is answering like that question I put in there or like uh Luvia’s question, uh why did this metrics change? Uh often that was, “Hey, why are our sessions down uh this week versus last week?” Um and this is really important because uh Nextdoor Nextdoor gets its revenue from ad revenue. Those ads appear on the on the feed, the Nextdoor feed.

22:34 [snorts] If sessions are down, it means people aren’t making it to the feed. They’re not seeing those ads, so obviously it impacts the business. Um and it’s also a sign of, you know, um people not having a good experience as well, too, right? Cuz they’re not returning to um the product. So, I’m going to say um why We’ll say like iOS usually also Well, we’ll try out some specifics here. Usually also maybe not all sessions are down. Maybe like sessions on your coming from like people visiting the site on their on their desktop is fine or like Android devices fine. Or maybe just iOS sessions are down. So, your people looking at Nextdoor on iPhones.

23:15 So, I’d say iOS sessions are down this week. Um I’m worried it’s impacting our ad revenue. Why are these sessions down? And who needs the answer? So, I’m going to say like our director of product um for the engagement pod uh needs to um they’re in charge of the product teams on uh working on the feed as well as notifications. And what will they use it for? Let’s say they need to decide if they need to pause some product work to figure out if this is just a bug or if we’re or people are actually come on using the product less and we need to do something about it.

24:42 All right. So, I put some answers in there and then I’m going to review with AI. You might get this little pop-up in the bottom left to verify that you’re human in order for the AI chat to work. And what it’s asking here is review my my answers and suggest any uh like clearer wording to clean it up. So, what it’s done here is it’s rephrased my questions uh just slightly. I was pretty I was pretty detailed in my questions. If you gave it like a really short high-level answer, it might um try to add some more um detail in there or ask you to add some more detail in there. Um it’s going to tell me why it changed these things.

25:22 Looks like rephrased Yeah, rephrased for clarity. Had a little typo there. You can compare with your original wording if you want. And then you can decide if you want to use these AI changes and add selected changes or if you want to keep your wording or you want to If you want to edit further. I’m going to add the selected changes from AI and minimize the little chat thing um because that I reviewed with AI and it said add selected changes, it automatically now added that on the right here to my context plan. So, I have my answers over here. If you just want to put input your answers um and not go through AI, you could just uh add your answers to the plan.

26:02 Do you Do you mean Do you mean getting different outputs with every iteration when I’m using this like chat uh support? Okay. Yeah, I mean it’s it’s fine to have some uh different um [clears throat] some different iterations here. So, so the system prompt behind here is like this is a very simple chatbot. It’s It has a very small task of improving what your questions here are here. But um that’s why you kind of have this review review tool here to make sure you can like look at the changes it had, why it made them.

26:39 Uh in this case, like, you know, if I’m just asking like this question of like why iOS sessions are down, I don’t expect um a bunch of variants um from from uh chat to chat. Uh but even so, in this use case, that’s probably uh that’s probably okay. We’re not the kind of hallucinations or variability you want to protect against is more things like when you’re doing actual analysis and you’re getting a different number every time because the definition behind it um hasn’t been uh ingrained into uh into the agent. And that’s what this whole like context management thing’s all about.

27:20 All right, so I’m going to go to the next step here. I’m I’m pretty happy with like the specificity of the question that we’re trying to solve here. And now we’re into that next step around finding existing work. So, we’re going to add sources of of uh information. So, in this case, I have an idea of some sources. Uh I’ll add one myself to start. And then I’m going to ask AI if it has any ideas of other of other sources. So, um in this case, we at Nextdoor, we had like kind of like a Google Sheet dashboard that had all of our sessions uh week over week for several months past. Um and it also had sliced it by um different grains. So, I’m going to say uh I’m going to use the uh daily sessions dashboard in Google Sheets.

28:25 Um what can it help me understand? Uh It can tell me the week over week trend in session and some segments of those trends. Who could help you understand this source? Uh in this case, uh we can say like um uh Nora on the analytics engineering team. Uh helped the director of product create it and maintain it. What might limit how you use it? Be like I’m not sure if it segments by device, i.e. iOS versus Android, etc. So, what I’m saying here really is what’s one source of information that might help me answer this question that exists already.

29:31 Uh what’s it going to There’s different parts of this question, right? What’s this going to help me to tell tell me? In this case, like the trend. Um it’s going to I want to put in someone if I know who owns and knows that source well that I can talk to. And then if I have any kind of like concerns about gaps from that, I want to add those, too. So, I’ll review that with AI. Or I could just add it directly. Totally up to you. Um and then I’m actually after this, I’m going to ask AI to help me add another source.

30:09 Yeah, so it basically just kind of cleaned up these answers here. But then on the last one, it um yeah, it gave me a little more of a system like what I need to check in terms of the iOS breakdown. So, I’ll add those selected changes. So, you can see it updated here in my source um text, but it also added it to my context plan. And then I actually want to add another source. I think I need another source to find the session calc. Any ideas? And these kind of first three steps, the question, the sources, and then the next one, the definition rules, are the most involved.

30:50 And then AI will kind of start, you know, after you have crossed through them, are the human-led ones AI-supported. And then the next ones are going to be more um more AI-led and human-reviewed. So yeah, this is helpful, right? It says I should I should actually look at the query data model behind that dashboard. Um um Yeah, it could help me with the actual calculation. It recommends again that maybe I should reach out to Nora or the analytics engineering team. Um and then what might uh limit [snorts] Same kind of thing as before. There’s no path to device breakdown. So yeah, this is good. I’ll use these answers. And what it did it created source two, another source down here. You can keep adding sources if you want. Maybe there was like a uh a deck someone did in [clears throat] a

31:35 report last month that did analyzed sessions by device. You could add that in there. Um we’ll keep going for sake of time. But um going to add all these answers to my plan. And now you see both sources in my context plan. And we’ll go to the next step. All right, so this is kind of the the last human-led step. And here is where you want to define any any metric definitions, any business rules that you’re already aware of. Um If you don’t know them, that’s fine. Like you can figure them out later. You should name that gap. Uh so [sighs and gasps] you can see the question now that now that uh the worksheet has some context around what my question is and the source of information I’m using, it’s actually going to start customizing uh these questions uh these questions for me. It’s like,

32:33 “How does your source define a session?” and identify an iOS session. Um and [snorts] it’s giving me I did not ask you to come up. Um and so I would say here you know, we have [sighs and gasps] multiple session types at Nextdoor. Uh we have we’ll say like logged out sessions for users who are uh you know, lurking on Nextdoor without being logged into an account. We have logged in sessions um and we have quality sessions. These are sessions where users engage with the product um like posting, commenting, reacting, creating an event, messaging. Uh what definition or calculation rule does your team use today? We We care about logged in sessions, right? We care about in our original question, we’re caring about kind of like the impact of sessions on ad revenue.

33:54 Someone doesn’t have to necessarily engage with the product to view an ad, so we just care about overall logged in sessions. We don’t want to do the logged out sessions, actually. Um because we want to tie it to real users that are leveraging the product to some degree. Where is this rule explained or who could confirm it? Um be like I think the B team could help um or maybe high on the data team. Um and then if you you can, you know, if you want here you could write out the actual um the full definition or calculation here.

34:36 And what definition or calculation do digital team you could put in the the actual sequel here even if you wanted to. Um and then you can put some information in here and I don’t like if you’re the person who knows the definition created you could say like this is confirmed and it’s all set. In this case let’s call it um I don’t know it’s like uh working assumption. Like we know we want to use this logged in sessions one but we don’t we don’t actually know what the calculation is. Or if it’s like actually what a quality session is. So I’m going to go ahead and I’ll review this with AI again. Why not have them clean it up.

35:17 There could be many business rules you apply to your question here right? I think one of the questions um in the chat uh like uh UVIA had why is engagement increasing but retention declining? So you’ll want to be adding in uh business rules and and stuff for both uh engagement and both retention. All right. I cleaned up my definition rule and then actually pulled a lot of this into what is known. Uh and uh since I already said it in the definition of rule and also says why I still need to confirm I’m going to go ahead and add this select the changes. So now we have that in our definitions and rules and then the next few sections will go through pretty quick. So last two sections are instructions and checks. So in the instructions um this is now we’re

36:06 creating kind of like um the instructions that we would send like I said before say an analyst is their first day on the job they know how to do analysis but they don’t know anything about the company. We want to create instructions for them that are super clear based on our question sources and rules what we know and what we don’t know. And so we’re just going to generate those instructions. This the same kind of thing we would send to AI. You can think of this as like a really solid prompt, but in reality it’s the beginning of a like context guide or document that we’ll build out um that your agentic analytics system would go read if they get any questions around this specific kind of questions like anything related to sessions. They would go start reading these instructions.

36:55 So I’m going [clears throat] to ask it to prepare instructions for me. And those instructions are going to include, you know, like uh when do they apply so that the agent knows when do I actually need to trigger looking at these instructions? Uh where should they start? What’s the first thing they should look at and do with the first sources they should look at? Anything that is missing in the instructions that we need to review and improve. Uh that’s not as much of a problem we’ll send to the agent. This is more what’s going to be in our um our plan later [snorts] on to tell us like how we need to improve this before we add the context uh to wherever we’re we’re storing our context for agent access.

37:37 And uh what else would the analyst need to know if there’s any other missing information. So let’s create some instructions here for me. Um Let me use these answers and then we can take a look at them. So this is very specific like where does it apply for the question of why iOS sessions are down this week whether the decline could affect ad revenue whether the pattern points to product bug or lower product usage. Uh use this to inform whether to pause product work or investigate whether action is needed. So if it gets a question that’s like along these lines it’s going to that’s going to be his trigger for looking at this guide. There’s a bunch of other questions where this information around sessions might be relevant. So we could add more here if we wanted to. I’m not going to today

38:25 since we only have 15 minutes left. [snorts] But this kind of gets you started. It’s telling it where to start. So, it’s basically telling it to go look at that Google Sheets dashboard to start and then to locate and review the queries and data models behind it. So, this pulling from that source is questions we answered. Um it’s getting into things that we need to review and approve. So, now it’s looking at like the business rules as well as missing information around what we know about where the dashboards query and model exist. So, these are things we need to check as we before we kind of build out this context guide and then it’s giving it some other information that it needs to know. Things like iOS classifications.

39:11 [clears throat] So, we don’t need to review with AI cuz AI generated this one. So, I’m just going to add the answers to my plan. And then the last thing it’s going to do here after we have some instructions is create some checks for us. And again, this is kind of like we could write our own checks. This is another opportunity that AI is pretty good at reasoning through these since you’ve already given it so much information that it should be able to suggest some checks from us. So, we’ll have AI suggest some of the checks.

39:49 It’s basically going to be checks that make sure it’s following those instructions from the previous step. If you want, you can take a you can look at those instructions again here. And it’s created several for us. It’s created three checks for us actually. So, let me I’ll read them here and then I’ll decide if I want to apply them. So, first one it’s going to try to answer does the week over week comparison use logged in iOS sessions rather than logged out or quality sessions. Um, what would show that the analysis follow your instructions? So, say look for analysis using a different session type, lacking an iOS breakdown, or comparing periods for segments that do not support the week-over-week question. What would you inspect?

40:33 Inspect the daily sessions iOS breakdown and week-over-week trend if available. Insert the line query model. Check whether logic identifies logged in sessions and how account sessions classifies iOS. If the dashboard lacks session need to breakdown or comparison record limitation. So, that’s our first check. Next check is going to be like does the analysis support its explanation for the iOS sessions decline rather than treating the trend itself as proof? Other product bug or lower usage. Um, yeah, this is a helpful one, right? Saying like don’t just jump to conclusions around what’s causing the decline. Have actual support behind it.

41:06 We’ll look at the last check here. Does the analysis support any claim that the iOS session decline could affect ad revenue? And does it its recommendation about pausing product work follow from the evidence? So, you can see it’s giving us some ideas here, right? Look for an inserted ad revenue effect without supporting evidence or recommendation to pause product work that is presented as established despite unresolved evidence about the decline’s cause. So, this is kind of um, you know, we don’t want uh, the agent to jump to conclusions. It’s really adding in like that next level uh, double check to see there is actual data behind what it’s saying. So, I’m going to add all of these.

41:43 And you can see it’s created three checks for me over here. Um, you can add in additional information there if you want to. You can add in uh, additional checks if you want to. And I think we should have these added down here. So, we’re going to do save and finish and this will apply my checks. Now, we have come to the end here. Our context plan’s ready to be put to work. Um, so, we’ve got all the information input, the questions, the sources, the rules, instructions, and checks, and now we’re going to build our next steps.

42:22 It’s going to have a few questions here for you. So, how will I do this analysis? Um maybe you don’t know how you’re going to analyze this data. Um maybe you’re going to send it to someone else at your company to analyze or work with an AI tool to analyze. Maybe you have like an analytics tool uh analytic analytics tool that you use at your company like Hex for instance. Um or another tool. Maybe uh you’re going to actually just use uh you know, Claude code or or a chat or chat GPT and do the analysis. You can kind of select what you want to do here.

42:59 Let’s say in this case I want to use uh an AI chat with data I provide. Um I’m going to use yeah, I’m going to use chat GPT. Uh What can you access or what do you need? Let’s say Let’s say I’m not on the data team actually and so I don’t have access to anything. Like I have access to the Google sheet dashboard, but I don’t have any data warehouse access. Where does the team and these are optional. You don’t have to add these in if you don’t want to.

43:31 Or you can say I don’t know. Uh where does the team keep the definition or guidance? Let’s say um I’m not sure, but I think the analytics engineers have a GitHub repo with data models in it. And then I’m going to build my next steps from this. So, um what’s happening now is our model chat agent is going to take all the information we gave it as well as those few questions right now around how we’re going to actually use this information, it’s going to come up with a plan for us to, you know, take basically our first steps now in building out some like reliable context guide for this specific question that AI could reliably leverage.

44:27 So, it’s going to have a bunch of steps here. These are going to be different for everyone based on like, you know, what you knew and the gaps you had throughout the entire thing, as well as how you’re going to use it. So, in this case, my first step, to no surprise, is I need to find and confirm the session logic. Because I didn’t know what that was. If you already knew your logic pretty well for your for your like rules and metrics, you’re probably not going to have this this one. So, it’s also going to give me some details to very good grain, right? It’s going to say, “Ask Nora, an analytics engineer, to locate the relevant queries, maybe in their GitHub repo.

45:14 Ask them to confirm how counts how they count logged in sessions.” Once I’m done with that, I can check it off. Next thing is to check the dashboard and gather its data. So, I have some ideas on how to do this. So, in the daily session dashboard on Google Sheets, check whether it provides week over week logged iOS sessions. Download the updated [snorts] plan if the dashboard supports a comparison. Obtain the relevant data or export. So, this is kind of like information we want to check that we want to give access to our agents.

45:48 Next week, in that building context for agents with skills lightning lesson, we’re going to teach you how to do this with a skill, so you don’t have to do it yourself. Provide the plan and materials to chat GPT. So, basically our plan here will have you can export it uh as a PDF down here. We’re going to have that exported and sent to uh chat cheap chat GPT uh including all those instructions that we put together after we um confirm the session logic and gather the data from the dashboard. [snorts] This is kind of what we’re going to be doing in Hex um at our workshop if you want to get hands-on doing it with that. But, you can also follow along on your own in whatever other tool provider you have.

46:43 And then finally, uh we’re going to run the analysis um for, you know, a a small period, maybe this week versus last week. And then we are going to inspect that analysis against our checks. So, you can do this uh it’ll tell you how to do this you can do this manually yourself. You can also use AI to help you do this um step. But, hopefully this gets you kind of like those first initial um steps around you know, for this single question, what’s all the context I need? How do I make sure it’s robust? How do I test it?

47:21 Uh and start getting it in a place where AI can use it reliably. Uh if you want to keep going and like you know, you can take this whole conversation you had and all your answers here and go into Claude or chat GPT um and continue building this out outside of this uh kind of product as well. You just hit continue in another AI and you’ll be able to download your entire kind of like conversation and plan you had here. So, this is just one [sighs] um this is just one question, right? So, if I go back to plans, um you know, this one’s done, 100% uh complete. You might have a bunch of different uh analytical business questions you have. Great place to start is just kind of going through and creating different plans for like your like most common but also kind of

48:14 most impactful uh questions that you’re getting on a regular basis and start building the context throughout the for each of those separately. And then eventually you’ll hit a point where you start asking questions that are related to everything else you’ve done here and it can actually leverage like existing context to answer those as well. So, it’s it’s kind of like a never-ending thing you got to work on. Once you’re answering questions um quickly with AI uh and you have opened up time, new questions are going to arise that you can never ask before, novel questions, and you’ll have to start building context out for those.

48:52 Okay, that’s what I’ve got for us today. I um but any questions from today [clears throat] or just in context in general, any of the upcoming stuff? I didn’t see any in the chat. Cool. Uh if you Yeah, on how to scale this This is what we’re going to talk about in our workshop on November 14th. Um maybe [clears throat] how you can we can stay over a little bit. You can talk a bit about it, too, how you’ve kind of scaled it uh with your team at Entrata. But a lot of it is having um I mean I’m a really strong proponent of embedded data teams because they are all domain experts in a different part of the product, a different part of the business.

49:38 And then you have each of those people own creating the context for that domain or part of the business. Uh if you don’t have an embedded data team, that’s fine, too. Uh if you have like a centralized model, but you’ll need to have some sort of embedded representation from like uh the owners of those parts of the business or that part of the product like the product manager to kind of go through this process to interview for those questions. I would start with all the questions you already know you got to answer. Going through you’re going to know some of those off the top of your head like the ones we listed out earlier today. You can go through prior slacks, prior meeting notes and see what kind of questions come up.

50:16 Things that have been answered in the past, asked in the past especially if it’s been asked more than three times, it’s going to get asked again. Start with those. You already have a bunch of answers for that to evaluate against. Um I think the harder part of scale is actually once you get all that set up and people start asking questions that you’re not prepared for or you’ve never asked how to answer before. Um no one’s asked it before. You’ll have to start basically setting up some process where you can collect input from your users, collect those questions and on some sort of like sample basis figure out like how do we start adding those and identifying the context needed for those. It might even require you might not have sources of data to even answer some of those.

51:05 Um it’s like that happens today already, right? But those are those are a little trickier cuz you start having to apply that filter of is this question actually worth answering even though I’m not answering it per se, is it worth my time to even build the context around? But again, that’s kind of like a team support. You want to have some sort of workflow to filter those into your team. Uh Hi, anything to add there? Yeah, I think you covered it really well. The main one of the main things that I come to find is certainly you know a lot of a lot of making it scalable is like a people and process problem, right? Like if if you are able to show a couple things that’s been really helpful and maybe we’ll spin up a lesson on this as well. If if if anyone

52:00 here would be interested in joining because we do get quite a bit of questions around this. So just let us know if that would be interesting to you. One is as Shawn said, sort of like ownership, like make it clear who owns what metric, who owns what KPI, who’s accountable for it. And then make sure for example that that person doesn’t have to be from the data team, could be from the business team or whoever owns the P&L for their respective functions. They could be the one that quote unquote kind of owns the what’s called like definition of a of a of a metric. Right? I think a lot of in in in a prior talk that I gave at one of the conference the most asked question is like we have so many definitions of something that’s very similar. Like how do we you know part of

52:50 scaling is like how do we disambiguate all of that kind of stuff and like one single owner clearly clearly who is accountable for it is the right I think is the right model but then you have to like kind of you know wrap it around some sort of process for that to actually happen or else nobody would actually come together and and and talk about it or agree and things like that. So that’s like the people and process side of the house and then the kind of like the I think balance had a very good question around that as well. Like you know over time then things drift, things may not matter anymore, that kind of stuff. I think the the good the good part of you know one of this these tactics around ownership of something is that that person

53:38 continuously owns that thing. So over time if the person who’s accountable for that KPI is oh, you know, like maybe the exact or maybe they themselves are like, “Oh, I need to change this cuz it no longer represents, you know, things around it.” Um there’s a clear owner around this person needs to approve um things around this metric cuz that person is accountable for it. And so, going back to the process side of the house, that person would by definition be the one that needs to approve everything. And if other people are like, “Oh, but we’re we’ve been using the old definition or something like that.” Um the owner would be the one that’s like, you know, that that makes it such that um they’re the person that’s like, “Hey, here’s the official one.” When we actually um you know,

54:26 update it or whatever else, it gets it gets um it gets distilled to everyone else at the company. Uh and so, you know, none of that is there’s no way to kind of like solve it technically other than creating efficient processes to facilitate those processes. Um you know, I think beta team is in a really good place cuz they work with a lot of teams and then is able to kind of connect the dots um around that. Uh one added thing that we found to be very effective in a position like that is also to force create either either force um force feed force have those conversations or force create processes around it cuz people are now probably more open than ever to uh to be um uh uh for for the sake of, you know, like running faster in the long run, uh

55:16 open to um you know, like uh uh doing work like that nowadays versus before. Yeah, I think I think two things to highlight too. One thing I already said, um when a metric changes or definition changes, having that owner triggers the owner to distill it to the rest of the company. Cuz I’ve seen this go both ways where I’ve seen like, all right, let’s take like finance team for example or something. Finance team, they make some change to a definition on the in their finance team meeting. Someone on that team, and maybe there’s a finance and data science person in those meetings all the time.

55:55 If there’s not, needs to be someone else from that team. Like, when that happens, they know, like, okay, I need to go to myself update this thing or I need to go to whoever my partner is on you know, like the engineering team or some AI team or maybe you have a context management team to go update that. Uh the other way to do it is have like, if you have like a centralized thing where like I’m responsible for keeping all this context updated and I have contacts of people who own it. I’m going to I’m going to give a list of stuff and tag all my contacts and say, “Hey, is this correct?” No one answers that question.

56:34 I have an analytics engineer who would always drop that in the chat be like, “@Sean, @blah blah blah, @blah blah blah. Is this all good?” It’s like, “Dude, I have a million things to do. I’m not freaking answering you like, is that all good?” But then like eventually, some of that stuff, some metrics that I care about for my team, I’m responsible for. And so, when those change, we used to have a metric that um we actually did change quite a few times that measured the quality of uh of the AI output for um these like uh suggestions on legal documents. And we changed that quality measure quite a few times. And I was in charge of that metric and I went in and updated it or told the analytics engineer, worked with the analytics engineer um to update it. So, having that is that

57:21 responsibility from like the actual owner pushing it and having some triggers really important. And I think like how I said, this is a really good time to kind of grow that culture because those people who are the owners of those metrics, ideally you want them using the product. You want the the AI analyst, whatever you’re building, whether it’s like you’re building your own AI analytics stuff, whether you’re using like they’re using like cloud dashboards that’s connected to some context thing, or whether they’re using something like Hex that’s just a robust agentic analytics platform um that the whole company uses. You want them benefiting from that and working on that like in their day-to-day, so they’re incentivized to be like, “Oh, I got to fix this metric because it it helps me work better.”

58:07 Um which is I think we are in a in that place right now where that’s happening at a lot of companies or will happen soon. [snorts] All right, let’s see. I know we’re a little bit over. Let me take a look at these questions here though. Yeah, there’s a lot of Yeah. Lots and lots of questions here. Yeah, UVS so like integrating it, it’s going to be totally dependent on what your setup is, right? Like DBT has their own way of uh baking in context, Snowflake has their own way of baking in context, Hex has their own way. Um so you could be building your own thing or even using those things where you just have stuff in like a GitHub repo that’s version controlled that it goes and looks at. Um yeah, I would I would definitely want to

58:53 integrate um to whatever degree is possible into whatever you’re kind of like source of truth for for context is um that’s kind of what we’ll be looking at a lot in um the Hex workshop in terms of like if you’re going to use like a platform like Hex. But you could take the principles from that and apply them to to other things too. Uh once context grows, what’s the best way to organize it so any agent you connect the context to works with minimal hallucination? So I will say hallucination isn’t so much a problem anymore or have come a long way since from like GPT 3.5 days, but uh yeah, you can still it can still get totally get like context blow and lost in what it’s trying to do um and just like, you know, answering the wrong thing even if it’s pulling from real

59:44 sources. So, having like really good triggers and um and routing so they kind of like like you said minimal context is is used. That’s kind of why in that instructions phase, that first question was like, “When would this be used?” Uh a really simple explanation of this would be like um if you’re if you’re building your own system in Claude and you have like your Claude MD file, the first thing uh you do is like you get a question and it routes to um some sort of mapping uh between like all the different guides that you have around uh answering different questions and the top of those guides has a description of “Hey, what does this What does this guide answer in terms of in terms of questions? Should I read the whole thing or should I go to another one?” And that

1:00:42 way it’s just reading like the kind of like triggers for each opening up each guide and then it open up only opens up the ones that are are relevant to it. So, we’ll actually go through in the hex workshop we’ll we’ll spend about 20 minutes, I think, in the latter half of the day on like retrieval and rag and talk a bit about that. And [snorts] then how do you evaluate whether AI is not only using the right definition and calculations, but also drawing the right conclusions from the data? Um yeah, so drawing the right conclusions from the data, I think this part is still pretty um like I think this is one of those things where it’s like uh AI AI takes a crack at it, but human review I think I think in terms of like I don’t have the slide up here, but

1:01:28 actually you know what, it might be on our website. We kind of Yeah, yeah. So, I kind of this workflow thing here. Um I need to I need to make this look better on the website cuz it doesn’t get it it doesn’t exhaustively we have it in other courses. But like there’s just parts of the workflow that AI leads and a human reviews, parts that human review human leads AI reviews. I think that interpretation of like the what the results actually mean still requires a lot of like your human judgment in the mix.

1:02:06 Um In our other course in our agentic analytics course, we spend an entire week kind of on evals and some of that stuff for like novel analysis um is just like looking through the trace of what an agent actually did to get to their answer and seeing if that lines up with the logic you would approach it with. Another thing approach we do is triangulation. So, we would force multiple agents to answer the same question, but we tell them to use different methodologies in terms of how they answer it. So, if there’s like a change we’re trying to understand some change over time in a metric, one might do a simple week over week, one might try to build like a regression model and control for some variables.

1:02:58 Uh Something another one might do some sort of like I don’t know, segmentation of drivers that thinks are are changing. Uh all those numbers are going to be different cuz they’re technically different analyses, but if they’re all directionally saying hey, this thing caused that change, then you have stronger confidence that it’s its answers correct cuz it’s kind of like the same as saying, “Hey, I’m going to take three analysts from this company and tell them try and solve this question different ways.” Or even like different orgs, right? Oh, our revenue’s down. The finance team’s looking at it, the products team’s looking at it, and like the sales team’s looking at it. They’re all going to look at different aspects of that problem. If they all come to the same conclusion, you’re kind of confident with uh the answer. So, triangulation is kind of a a

1:03:46 useful tool as well. Not something we’ll necessarily cover around context, but one of the ways we evaluate. All right. We’re 15 minutes over, so I’m going to close it here, but yeah, play. Thanks for the great questions. Thanks for being engaged. Go ahead and play around with this tool a bit. I think that I put like a feedback button at the bottom. Uh this is just like kind of a little toy thing that we made, but we might try and make little little uh tools like this for our future lessons, too, cuz I think it’s it’s a it’s a little more fun when we can all um do the work together and not just look at slides. But yeah.

1:04:24 Thanks, everyone. Have a great weekend. I hope you’ll join us next week. We’ll see you later.

Free, every week

Join an upcoming free lesson.

Live on Maven. Learn AI analytics, prepare for interviews and grow your career. Bring a question from your own work.

WED DEC 9, 2026
10:00 AM PT
Set Executive Expectations for AI Analytics
Register
FRI DEC 11, 2026
12:00 PM PT
Think on the Spot in Analytics Case Interviews with AI
Register
FRI DEC 18, 2026
12:00 PM PT
Climb from Senior to Staff and Principal in Data with AI
Register
WED DEC 23, 2026
10:00 AM PT
Experimentation 101: Run an A/B Test with AI
Register
WED DEC 23, 2026
12:00 PM PT
Pass the New AI Round in Data Science Interviews
Register
See all upcoming lessons →

Go further with a course.

AI Analytics for Everyone
For people who decide with data · 5 weeks
$1,800 · Jan 25 · ★ 4.9/5
Enroll on Maven
Agentic Analytics: Build an AI Analyst
For people who build the tools · 5 weeks
$2,500 · Jan 11 · ★ 4.9/5
Enroll on Maven
Enterprise AI Analytics for Data Leaders
For data leaders · 3 hours
$380 · Dec 12, 2026 · 11am–2pm Eastern
Enroll on Maven
Or join an upcoming free lesson. Register free