I've also added a gif at the bottom of this post of creating the property; written steps below ⬇️
Creating the property (Contacts) :
Head to settings in your portal clicking the gear icon on the top right
Navigate to properties on the left (may be under CRM > properties)
Hit create property on the right
Object type should be Contact, choose the most appropriate group for you, and label it appropriately for you - I suggest something like Number of associated Tickets - hit next
Select Calculation in the field type dropdown and hit Build calculation
Click the Calculated property type at the top and choose Count
Under Choose the Associated record type choose Ticket
Under the associated property dropdown choose Ticket ID (every ticket has one)
Hit Create!
All done, if you head to a contact record now > view all properties on the left > search for your new number of associated tickets property > you'll see the number of associated tickets here!
From here you can use the property as you would with any other, such as filtering lists, using as part of HubSpot scoring, a contact token in an email, and so on!
Creating the property (Companies):
Almost the same as above, head to settings in your portal clicking the gear icon on the top right
Navigate to properties on the left (may be under CRM > properties)
Hit create property on the right
Object type should be Company, choose the most appropriate group for you, and label it appropriately for you - I suggest something like Number of associated Tickets - hit next
Select Calculation in the field type dropdown and hit Build calculation
Click the Calculated property type at the top and choose Count
Under Choose the Associated record type choose Ticket
Under the associated property dropdown choose Ticket ID (every ticket has one)
Hit Create!
All done, if you head to a company record now > view all properties on the left > search for your new number of associated tickets property > you'll see the number of associated tickets here!
The use case for the company property would be to get an idea of how many tickets a company has on a company wide level, and compare that alongside other metrics like MRR
I still recommend heading to that idea, liking it, and commenting your use case, if you'd like to see default Ticket properties we can use with Contacts/Companies as we can for Deals!
Hopefully you find this helpful!
Leave your comments, questions, thoughts, and tips and tricks for using the new property below!
How to create a number of associated tickets property for Contacts and Companies
I'm trying to think of a way to calculate the number of associated tickets over a rolling date period. e.g. if company has had x number of tickets over the last 30 days flag this for investigation
Since this questions is different from the exact topic here, I will recommend you create a new thread, so more people can see it. Make sure to add context, examples and all the details you can 🙂
How to create a number of associated tickets property for Contacts and Companies
This is a great idea, thank you for the step-by-step instructions for setting it up.
Question: Will this work with time-filtering? I'm guessing not. I'm wondering how to solve for this related type of scenario:
Creating lists and reports based around how many tickets were created relative to a contact within a specific time period.
e.g., A contact might be associated with 20 tickets in all-time... But I only want to see how many tickets were created over, say, the last 30 days or last quarter.
For something like, say, surfacing all contacts owned by Sales Rep X that generated 2+ tickets in the last month; or seeing how many total tickets were associated with Sales Rep X this month.
How to create a number of associated tickets property for Contacts and Companies
I'm working on a workaround for this that is related and might be a useful way to think about what you want to do - I want service reps to get an alert when a customer has used up their number of service tickets in a 30-day membership period. I'm creating the property as described above, adding "in past 30 days" to the property name, and using a workflow to reset it every 30 days, possibly a date property driven by the member's membership start date. For you, rather than resetting to 0, you could have the workflow copy the property value to another property value that is, # of tickets for a rep, etc.
How to create a number of associated tickets property for Contacts and Companies
Hey Jackie! Were you able to figure out a way to get the property to reset? We're trying to do a similar thing where we want to count the number of marketing emails sent to a contact in the last 30 days.
Wondering if you were able to solve for this issue!
How to create a number of associated tickets property for Contacts and Companies
I believe we were successful:
(1) We created a property Number of Tickets [custom property > number > calculation, +1 every time Ticket ID is known]. That property cannot be cleared in a workflow because calculated properties cannot be changed via workflow, so:
(2) We created another property Number of Tickets 30 Days [custom property > number]. Set a workflow to populate that with the value in the property Number of Tickets. Set another workflow to set that value to 0 after a 30-day delay, 12 times to make this happen every 30 days for a year. [I believe you could have this happen ongoing with Ops Hub, using a workflow centered on a date property.]
How to create a number of associated tickets property for Contacts and Companies
Hi Jackie,
Your solution is very promising, I'd like to implement it to have a few property show the last 30/180/365 days tickets. What I don't see how did you triger the workflow that reset the property to 0 every 30/180/365 days. Could you help me on that?