July 28, 2026
•
8 min
 read

When the Dean's Office Responds in Seconds, Not Hours [SWPS University Case Study]

How did Craftware build a student service agent for SWPS University on the Salesforce platform?

Dominik Gniediuk
Dominik Gniediuk
Craftware
Share this post

Business Challenge

The bottleneck did not stem from a lack of competence in the team. It came down to arithmetic. The number of students keeps growing, and so does the number of cases, but the day still has the same number of hours. In practice, this resulted in several difficulties.

First, most questions were repetitive. The answer was usually already in the regulations or a knowledge base article, but each time an employee had to find it, rephrase it and adapt it to the situation of the specific student. Second, there was no common standard. Two employees could answer the same question differently: with a different tone, a different level of detail, in a different structure, sometimes interpreting the same rule differently or emphasising different issues. Third, the number of cases grew seasonally. During admissions, exam sessions and thesis defences, and around deadlines for study-related applications, day-to-day service turned into a bottleneck felt by students and employees alike.

The cost of doing nothing is easy to predict. Keeping the old model would sooner or later force the university to hire more people at the pace at which queries grow. That would mean solving a scale problem by adding more hands to the work rather than by changing the way the work is done.

The Solution

We didn't sell the university a licence with a user manual attached. We took responsibility for the entire change of the support process: from understanding how it really works, to running it in production and developing it further. The solution covered three layers: audit and architecture, build and integration, and maintenance and development.

What sets our approach apart begins even before the first line of configuration. We don't connect artificial intelligence to disorganised data in the hope that it will somehow work out. We started by auditing and organising the university's knowledge base. In workshops, we assessed the quality of individual articles and prepared them so that a machine could read them well. This isn't cosmetic. A model that relies on incomplete or outdated content will answer in an equally incomplete and outdated way. And it will do so in a fluent, convincing sentence that is hard to challenge. Organising the sources before launching an agent is the cheapest safeguard against wrong answers. For the university, it meant accurate, source-backed answers right from the start.

The second rule is simple: as little code as possible, as many out-of-the-box platform mechanisms as possible. Salesforce provides many configuration tools, and we reach for those first. We write code where it truly solves a problem that configuration cannot. As a result, the system is cheaper to maintain and easier to develop. Besides, we think about maintenance from day one, not after go-live.

The third rule concerns the people who use the system. We didn't lock all the logic in the hands of the IT department. We handed part of it over to the employees. The implemented component lets them create, organise and run their own commands for the agent on their own. They can adapt its behaviour to the tasks they know best, without waiting for the next system release.

How the Implementation Went

We treated the continuity of student service as a prerequisite, not a nice-to-have. That's why we split the implementation into short stages. At no point was the university left with a half-working system.

We released features gradually, stage by stage. One of them is an action that summarises the student's previous contacts with the university. The employee gets an overview of the situation immediately and doesn't have to dig through archives of correspondence or cases. Such an early convenience works twofold: it genuinely relieves the team and builds trust in the tool before its more advanced features arrive.

We involved the university team wherever their knowledge of the processes was irreplaceable. Everywhere else, we saved their time. Adoption is usually the hardest part of an AI implementation. Here, the solution itself helped: the agent shortened daily work and provided ready-made answer suggestions, so employees quickly saw it as real support rather than another obligation. It worked within a tool they already knew, and they launched it directly on records, without changing their existing habits.

How It Works Under the Hood

This section is for those who ask not what we built, but how. I describe the architecture and patterns we used and skip the configuration details specific to this university. We based everything on official Salesforce best practices for RAG in Agentforce.

Zrzut ekranu

Fig. 1. The path from data sources to answers and actions in Service Cloud.

The Two Worlds of RAG: Preparation and Usage

RAG works in two stages, separated in time. The first is the data preparation stage, performed before the solution is used and repeated after the sources or the index are updated. Data goes to Data 360, where the system splits it into fragments (chunks) and converts them into vectors – numerical representations of meaning that a machine can compare. The second stage happens in real time, with every query. The retriever receives a query from the prompt template, converts it into a vector, searches the index for the best-matching fragments and adds them to the prompt. The enriched prompt then goes to the language model, which composes the answer. This seemingly simple sequence is the foundation for everything else.

Zrzut ekranu

Fig. 2. Five steps that happen with every question.

Fast Track or Full Control: Agentforce Data Library vs. Data 360

Salesforce offers the shortest path to a working RAG: Agentforce Data Library. Adding such a library immediately creates a complete set of elements: data streams, data mappings, a vector store (the database that holds the vectors and against which semantic search is run), a search index, a retriever, a prompt template and an agent action — all with default settings. It's a good starting point, but it has its limits. It can use, among other things, Salesforce Knowledge articles, uploaded files, web search or a custom retriever, but it offers fewer configuration options than preparing the solution manually in Data 360.

Where we needed more control over what the agent retrieves and how, we used manual configuration in Data 360. This is in line with our rule of reaching for code only where it is truly needed. We don't multiply complexity unnecessarily, but we also don't pretend that default settings are enough for every task.

Source Quality: Why the Knowledge Base Audit Is a Technical Matter

Let's go back to the knowledge base workshops for a moment, because from an engineering perspective they were not a side issue. The way an article is written directly determines whether the agent will find it and understand it correctly. Good content is specific and detailed. It contains real examples, logically connected paragraphs and meaningful headings. Long pieces of information are broken down into separate fields: the question separately, the description separately, the solution separately. Add hygiene to that: regular reviews and versioning. A knowledge base that nobody maintains becomes misleading within a year. Organising content is therefore not a stage before the actual technical work. It is the actual technical work.

The Search Index and the Four Roles a Field Can Play

When building an index, Data 360 splits the content into chunks and converts them into vectors. A single vector cannot capture the meaning of an entire long document, so each chunk carries one coherent, self-contained fact. When designing an index, each field must be deliberately assigned one of four roles:

• Indexed fields — the system splits them into chunks and vectorises them; they take part in semantic search, and only they are searched semantically.

• Prepend fields — the system attaches them to the beginning of each chunk to make it easier to tell where a given fragment comes from; they are not searched, but they provide context.

• Filter fields — they go into the index without vectorisation and are used only to narrow down results by a specific value, such as document type.

• Return fields — we specify them at the retriever level; their content is returned to the prompt as material for the model.

There's a trap here. It's tempting to index fields that contain only categories, but they produce short fragments without context and spoil the search. Categories work better as prepend fields than as indexed fields.

Hybrid Search and the Two-Language Issue

In practice, we can choose between two approaches. Vector (semantic) search compares meaning and therefore understands paraphrases — it knows that “how do I log in” and “how do I access my account” ask about the same thing, but it can be deaf to exact proper names, numbers and terms. Keyword (lexical) search works the other way round: it looks for exact string matches, so it handles terms and numbers perfectly but loses synonyms and circumlocutions. Hybrid search combines both — it takes semantic relevance from the vectors and precision from word matching. That's why, wherever precision mattered, we reached for it. It comes at a cost: it improves relevance but increases latency and resource consumption, so we use it deliberately rather than automatically everywhere.

A separate thread, and an important one for the university, is multilingualism. Regulations and part of the correspondence are in Polish, while other content is in English. The multilingual vector model preserves the similarity of meaning across languages. A question asked in Polish can therefore find relevant content written in English, and vice versa. When the answer has to stay in one language, the language can be enforced with a filter.

Results

You won't find percentages or amounts here. Instead of promising an accuracy we haven't yet reliably measured, we will describe the change as it looks in everyday work.

It is most visible in terms of time. Preparing an answer for a student no longer means writing it from scratch every time. Within a few seconds, the agent prepares a draft based on the university's sources. The answer is not published automatically: an employee of the Student Affairs Centre checks it, completes it if necessary and makes the final decision to send it. The agent remains a tool that supports the team, and the time saved can be devoted to individual, more complex cases that require consultation with several offices.

The second change concerns insight. The employee no longer reconstructs a student's history from scattered cases and messages but receives a summary of it straight away. The third concerns consistency: draft answers draw on the same, organised sources, while their final form and sending remain in the employee's hands. As a result, the Student Affairs Centre can handle repetitive questions more efficiently and keep time for cases that require an individual approach.

Zrzut ekranu

We will share more comprehensive data once the measurement covers mature usage across further service areas.

You are reading the shortened version...

A PDF file with the full version of the case study will be available here soon. It includes, among other things:

  • Executive summary
  • An overview of the student lifecycle

A presentation of additional implementation stages:

  • Retrievers, filters and the limits of point-and-click configuration
  • Ensemble retriever: the knowledge base and files in a single stream
  • RAG in the context of a single record
  • Actions: the agent's hands
  • How we verify that it really works

Practical guide

Turn the insight into
a next step.

Keep exploring

More thinking for the next decision