All teams are continuously looking to improve, and to do so often requires tracking data changes over time. Time-series data is central to Planhat, but one type of time-series data is when you track the evolution of a customer or end-user through different states or phases. For example, the evolution of a customer from Onboarding to Adoption to Success, or the maturing of a User from a new user to an advocate. Since there are some unique quirks to this kind of data tracking, we developed a specific data model for it called StatesLogs.
With States Logs you can track the development of data through different "States", for example how long a customer spends in Onboarding phase, then Adoption phase. You can then view this data rolled to any Filter, be it your Enterprise customers, or those belonging to a specific CSM.
Other examples of StatesLogs could be stages in a sales pipe if you are using Planhat as your new business CRM or to manage upsales or cross sales. Likewise, it could be a custom field you create such as how long a customer is classified as small, medium or large in your portfolio, or how long they spend with different product types if you have a land and expand model. Fields that can be used in StatesLogs are almost always list fields.
You can measure total days, average days, the shortest / longest time spent in a state and many other variables. You can also measure the time spent in one state before moving to any other. For example, how long customers spend in Onboarding before moving to different stages in your customer lifecycle.
How to use StatesLogs
StatesLogs can be used in charts in Dashboard and Presentation Pages. Generally, StatesLogs are best visualised in Bar or KPI charts.
In the example below we're showing the average number of days per Phase, but we could equally have chosen to view the total days, a count of items in each Phase or the max or min days spent in a Phase. It's very flexible so you should always be able to view the data how you need.
Click the image to view it enlarged
β
When building the Widget, select the settings as above. (Note the filter that has been applied, pictured later in this article.)
It's possible to group multiple Phases into one; for example, grouping Sales Handover and Implementation if you treat them as two Phases in your day-to-day work, but want them as one combined in your analysis. In the example pictured above, you could group "Renewal" and "Red Flag Renewals" into a single "Renewals" column. You configure this in the "Custom Segments" part of the "Customization" tab.
It is also important to apply filters when building a StatesLogs chart. The filters ensure you are analysing the correct data point and also help you remove errors. For example, if someone accidentally moves a customer out of Onboarding after 2 days, then quickly realises and moves them back, you don't want that error to pull down your average time in Onboarding metrics.
In the Filter below, each row serves a specific function:
To Date "has value" ensures I'm only including Phases that have been completed
Property "phase" ensures Planhat is looking specifically at the Phase Logs
Days "More than 1" ensures I only include changes that lasted more than 1 day to navigate around errors
Value "Not equal to Churned Account" tells Planhat to ignore that Phase from the analysis
Click the image to view it enlarged
As another example, this time we are benchmarking team members by their average time to Onboard a customer. It's clear from the chart that Freddie has had a nightmare Onboarding experience!
Click the images to view them enlarged
To see different angles of this data, rather than split by Owner we could have chosen to split by Industry, Product line or any other relevant field to slice the data differently.
Some more detailed definitions
As a recap.... a StatesLog is any field of type list. Lifecycle phases are the obvious example but we love flexibility and hate using systems that restrict you. So, in Planhat you can measure time spent in many different types of 'state', beyond just lifecycle stages.
These charts are very powerful and can have many different requirements, so here are some of the core definitions that might be helpful for you.
Object (to select in a filter): the model to which the stage you are interested in is related. A lifecycle phase is connected to the Company model (object) for example, whereas a sales pipe stage is connected to the Opportunity model (object).
Property: All the different fields available to view in Phases. Put another way, all the fields of type list in your Account. Lifecycle stages will almost always be one, but so can things like products, tiers or other variable fields that change for your customers.
Value: The specific part of the Property. For example, Onboarding is a Value of the Property 'phase', whereas Enterprise could be a Value of the Property 'product'.
Next Value: The part of the Property moved to next. For example, the chart below shows the average number of days spent in Onboarding, before moving to Adoption or Success stages.
Exporting this data via API
As with almost all data in Planhat, we have made this available to export via API in case you want to blend Phase change data with other data types in your data warehouse.
To fetch States Log data use the following endpoint:
GET /stateslog
?limit=100
&offset=0
&value=Onboarding
&property=phase
&model=Company
β