Showing posts with label results. Show all posts
Showing posts with label results. Show all posts

December 13, 2016

The CRM at York: a technical overview

By Stephanie Jesper, Teaching & Learning Advisor

Last month, Michelle Blake wrote about our Customer Relationship Management system which we use in the Relationship Management Team at the University of York. She explained our reasons for creating our own system, and the benefits that system has given us. What she left to me to explain was the mechanics that lurk beneath its shiny surface. If you're the sort to quake at the sight of spreadsheets, you may wish to look away now.

It's fair to say that I'm obsessed with spreadsheets, so it was inevitable that my proffered solution to our CRM Question involved one. But it's not all spreadsheets. It is, though, heavily reliant on the Google suite of applications that we use here at York. The image below shows the fundamental components:

Components of our CRM system: CRM Form - CRM Form (responses) - CRM Query - CRM Alert - CRM Summary
Our CRM system, in bits.
Let's take each component one-by-one.

CRM Form

The front end of the system is based upon an old-version Google Form. The problem with Google Forms is that they are very vertical, especially when you have a list of options. We wanted something a little more compact, so I basically copied the script from the Google Form and tinkered with it. This was a lot easier to do with the old-style forms than it is with the new-style forms, so if you want to do something like this, you might be better finding an old-style form that you can copy and modify. 

Our CRM Form being filled in.
Filling in a CRM Form
The first modification I made was to run the options in columns, thereby saving considerable vertical space (you can imagine how long the page would have been with every option on its own line). There are also a considerable number of hidden questions that only display if certain options are selected. For instance, there's an option in the "Department" dropdown for "Multiple departments" that reveals a checkbox list of all departments. What's more, if you select a department for which we have an action plan, a checkbox list of actions is revealed so that progress on those actions can be logged. In total there are forty questions on that form, but only eleven are displayed by default. 

This toggled content is controlled using jQuery and style sheets. We also have some jQuery controlled autocompletion in the freetext "Other department" field. This searches against the default department list to mitigate against alternate formulations of existing department names.

The problem with hacking and modifying a Google Form is that you then need to host it somewhere. Initially we just put the CRM Form on a local drive, but now we have some password-protected webspace which means we can access it wherever we have a web connection. 

CRM Form (Responses)

When a CRM Form entry is submitted, it is fired off as the Google Form entry that it is, and gets added to a Google Sheet (as is the traditional output of a Google Form). The imaginatively titled CRM Form (Responses) spreadsheet is the heart, lungs, liver, stomach, and brain of the CRM (it's basically a giant spreadsheet-y haggis). It's a messy thing, reflecting the evolution of the system, and I hope to go in and simplify things at some point next year. 

The first thing that happens in this spreadsheet is that the data from the form gets tidied up using various arrayformulae. Comma-separated multiple-choice fields get pulled apart, mixed in with values from elsewhere, and are reconstituted as appropriate. The data then gets transformed into a layout that can be read by an Awesome Table (we'll come to that later). A second sheet counts up the number of matches for each form item to give a quantitative overview of our engagement. This is then broken down by department.

CRM Query

More in-depth analysis is carried out in our CRM Query spreadsheet which uses a Google Sheets query function to interrogate the data held in the CRM Form (Responses) spreadsheet. The query output can then be used to populate visualisations of our engagement like some of those we showed in the previous post. For example, here's some of our transactions by type:

An example chart from CRM Query
Transaction types visualised via the CRM Query spreadsheet

CRM Summary

I mentioned Awesome Tables earlier, and this is where they come in: the CRM Summary is a user-restricted Google Site with an embedded Awesome Table from which we can see the transactions that have taken place. It looks something like this:

A screenshot of the CRM Summary, showing a couple of transactions
A couple of recent transactions in the CRM Summary

Like the query function in CRM Query, the Awesome Table lets us interrogate the CRM Form (Responses) spreadsheet as a database. But it does it in a way which looks a lot prettier and which can be used by more than one person at once. In the above example, I've limited to only those transactions with which I've had some involvement. There's even an edit button which allows me to revise any of the information I submitted.

CRM Alert

Going to a website or a spreadsheet to see what people have been doing is all very well, but it's a bit of a chore. If only we could set the spreadsheet up to notify us by email when something interesting happens... Well with Google Sheets we can. Each member of the team has their own CRM Alert spreadsheet which queries the CRM Form (Responses) sheet. Individuals can tailor the query to match search terms such as their department or area of interest. A Google Script keeps an eye on the spreadsheet and if a new entry gets returned by the query, an email gets fired off containing all the relevant details. 

Here's the code we use - if you're using a device with a pointer you can hover for a few bonus annotations:

function runAlert() {
  SpreadsheetApp.flush();
  var sheet = SpreadsheetApp.getActiveSheet();
  var from = sheet.getRange("Database Query!I1").getValue();
  var tot = sheet.getRange("Database Query!J1").getValue();
  var to = sheet.getRange("Database Query!J1");
  if(from!=tot) sendEmail(from); 
  if(from!=tot) to.setValue(from); 
}

function sendEmail(from) {
  var sheet = SpreadsheetApp.getActiveSheet();
  var line1 = sheet.getRange("Database Query!A"+from).getValue();
  var line2 = sheet.getRange("Database Query!B"+from).getValue();
  var line3 = sheet.getRange("Database Query!C"+from).getValue();
  var line4 = sheet.getRange("Database Query!D"+from).getValue();
  var line5 = sheet.getRange("Database Query!E"+from).getValue();
  var line6 = sheet.getRange("Database Query!F"+from).getValue();
  var line7 = sheet.getRange("Database Query!G"+from).getValue();
  var line8 = sheet.getRange("Database Query!H"+from).getValue();
  var line9 = sheet.getRange("Database Query!I"+from).getValue();
  
  var email = sheet.getRange("Database Query!B1").getValue()
  var subject = "CRM Alert";
  var body = "An entry matching your search terms has been added to the CRM:\n\nDATE:\n"+line1+"\n\nNAME:\n"+line2+"\n\nDEPT:\n"+line4+"\n\nCONTACTS:\n"+line5+"\n\nTRANSACTION:\n"+line6+"\n\nAIMS:\n"+line7+"\n\nCATEGORY:\n"+line8+"\n\nDETAILS:\n"+line9 ;
  
  MailApp.sendEmail(email,subject,body); 
}


The first function checks to see if there are any new transactions, and the second generates the email before firing it off. Obviously the cell references are rather tied to our specific setup, but the basics are there should you want to try something similar.

The result is an email that looks something like this:

An entry matching your search terms has been added to the CRM:

DATE:
Mon Dec 12 2016 00:00:00 GMT-0000 (GMT)

NAME:
Steph Jesper

DEPT:
External Relations

CONTACTS:
Father Christmas

TRANSACTION:
Other: Christmas List

AIMS:


CATEGORY:
Collections,Liaison and Relationships: General

DETAILS:
I sent Father Christmas my Christmas List. This year for Christmas I have asked for a shiny spreadsheet, a CRM system, and some gin.



If this transaction matched any of the search terms my colleagues have set up, they will be receiving an email now, just like this one. Perhaps they're writing a Christmas List right now too.

He knows when you are sleeping. He knows when you're awake. He knows if you've been bad or good, so be good for goodness sake...

Unlike Father Christmas, the CRM doesn't know any of this. It only knows what we put in it. And what we put in it may vary depending on the precise nature of our role. But hopefully what we get out of it is a good insight into what the rest of the team are up to and how it relates to our own activity.

July 19, 2016

PGR UX outcomes and reflections

By Michelle Blake, Head of Relationship Management

This blog has already covered some of the original work we did looking at PG use of the Library when we had Emma do an internship with us. We followed this work up with another intern, Oliver, in January this year.

This post will discuss the results from that work and what we’re now doing - as well as what we learnt from the process more generally.

Some of what we learnt came as no surprise but there were areas I don’t think we could have predicated.


Sense of community and space

PGR students really valued the sense of community that they get in their departments (but not all students have dedicated space in their department) and didn’t want to miss out on the water-cooler type conversations that can take place. They like a variety of spaces to work in with no one size fits all. Being able to choose the type of space they wanted depending on how they were feeling at the time was really important to them, but they did note they often wanted to be close to those who were working on similar things to have quick, informal chats.
Some of the study spaces in the Library at York

Just in time access to help/support

PGRs told us that they only wanted to know about services, training etc when they needed them but often they weren’t then sure where to find them. It was also clear from the interviews that many students were unaware of some of the services that are on offer to them. One of the things they did tell us was some of our services weren’t working for them, interlibrary loans was one of these where the way the students are working mean that the delay in waiting for resources to arrive was seen as being too long and hindering their work. This was particularly the case for Arts and Humanities students.


PGR journey

Our research found that regardless of which faculty a student was from all PGR students use the Library in the first year of their PhD, particularly in order to undertake their literature review. However, use of the Library alters after this point dependent on their faculty, with Arts and Humanities students being much heavier users of the Library for the duration of their PhD while Social Sciences and Sciences, in particular, start to use it less as they conduct experiments and field work. While this isn't ground breaking I think highlighting how the Library is used during the course of their study was really interesting.


We completed this study nearly four months ago so what’s happened? Well I’ve broken down what we’ve done or are doing into the following four categories - confirmed findings from the original work which Emma did, simple things, medium term changes and longer term things.


Confirmed findings from our original study

  • The need to display the classmark of the book in the catalogue search results screen, which we'd been looking to do for a while and have now done
An example of the classmark of the book appearing in the results screen, rather than the user needing to click on the specific item to find where it's located 
  • The need to have a hot water tap for food and drink prep which we were looking at and have now done
  • The Burton (part of the Library building) being under-explored by PGs at peak times so needing more promotion which we already knew about but have now done
  • It discovered part of the reason people were reluctant to study in the Burton was that it closed at 10pm so you knew you'd have to leave eventually; it's now open 24hrs as part of a redevelopment of the space (which added in additional seating and made the whole Reading Room space look a lot nicer too)
Part of the redeveloped Burton Library 

Simple things

  • We’re adding white boards to the PG lounge in the Fairhurst (they should be arriving soon)
  • We’ve found a more appropriate space for PGs in the silent area of the Library (it’s a room) that we hope will help them to create the kind of space they want. We realise we can’t manufacture this sense of community for them but hopefully by providing them with a nice space this will help them to shape it to what they want it to be
  • We’re talking more to the students themselves about what they want. We’ve always had a good relationship with the GSA (Graduate Student’s Association) but this is also about talking to students on the ground as well
  • All new PGR students in 2016/17 will be sent an individual welcome email from their Academic Liaison Librarian with option to come and see them (hopefully thereby making them more aware of everything they can access)


Medium term

  • Reviewing interlibrary loans (ILLs), how they’re used and really understanding why they aren’t working for our Arts & Humanities students in particular. To do this we’ll be looking at the data we already have about ILL use across departments as well as reviewing data from a GSA intern study. We hope to be able to be able to understand more about how the students are really working and then ensure our services fit these needs
  • We are establishing PG Wednesdays with the Graduate Research School and other support services. These are afternoons dedicated to PGs which will involve a series of training, talks, and continue the Shut up and Writes events we organised last term (we hope to have a blog post separately about this once they’ve been established)
  • We want to review the rest of the PG space in Fairhurst once the white boards are in place. It may be that after installing these nothing else needs to change or that we want to make further changes in this area
  • We are organising supervisor training with our Graduate Research school so that supervisors know what we offer and can signpost their students appropriately
  • We will be reviewing all the training we offer - is it the right stuff at the right time


Longer term

  • We are looking at how we might re-purpose some of our space in the longer term - areas that we know don’t work and which might result in another UX project addressing space more generally (hopefully more on this later this year or early next year)
  • We have begun some work on a digital humanities project to better understand needs of humanities researchers, this may well take into account some of the findings from our Arts & Humanities PGRs


Conclusions


So finally I wanted to finish on what we’ve learnt from the project and what we might do differently next time.

  • While having an intern is great, one of the things we came to realise is that it can be useful to have someone who has more intimate knowledge about your services or someone with a library background. It was this thinking that led us to the approach we’re taking in our Understanding Academics project (we’ll blog about this project separately soon)
  • You really need to do things quickly - I don’t think we did them quickly enough with this project but it’s been a good learning curve
  • It’s really important to agree timescales and ownership and be clear what the outcomes are from any work you do
  • People will “challenge” relatively small sample sizes. You need to consider how will you back up your findings e.g. what other data do you have that help to triangulate your findings
  • Getting people to take part was hard work - we tried a lot of different approaches with this project and none of them were very successful. This has been in stark contrast to our Understanding Academics project where attracting participants has been much easier
  • Originally we had wanted to attract students from particular departments who had lower satisfaction rates in the PRES (PostGraduate Research Experience Survey) but were unsuccessful in doing this. In total we had 11 participants for the PGRUX project and while this might sound like a small number the data that we got from these interviews was incredibly rich.

So has it all been worth it? Absolutely, without a doubt the PGR UX project has really given us a solid foundation on which to continue to build our UX work. I hope to post on here soon about our latest project, Understanding Academics.