CRM

cathalhopper
HubSpot Employee
HubSpot Employee

How to create a number of associated tickets property for Contacts and Companies

resolver

Requirements - Edit properties permissions + any of: 

Marketing Hub Professional, Enterprise
Sales Hub Professional, Enterprise
Service Hub Professional, Enterprise
CMS Hub  Professional, Enterprise

 

Hello everyone! 🙂 

My name is Cathal! I work in the HubSpot Support team in EMEA.

 

I saw a request in our ideas forum for an associated number of tickets filter (and additional filters) like what we have for deals, and found we can create this using calculated properties it's super straightforward to create!

I've also added a gif at the bottom of this post of creating the property; written steps below ⬇️

 

Creating the property (Contacts) :

  1. Head to settings in your portal clicking the gear icon on the top right
  2. Navigate to properties on the left (may be under CRM > properties)
  3. Hit create property on the right
  4. 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
  5. Select Calculation in the field type dropdown and hit Build calculation
  6. Click the Calculated property type at the top and choose Count
  7. Under Choose the Associated record type choose Ticket
  8. Under the associated property dropdown choose Ticket ID (every ticket has one)
  9. Hit Create! 
  10. 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):

  1. Almost the same as above, head to settings in your portal clicking the gear icon on the top right
  2. Navigate to properties on the left (may be under CRM > properties)
  3. Hit create property on the right
  4. 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
  5. Select Calculation in the field type dropdown and hit Build calculation
  6. Click the Calculated property type at the top and choose Count
  7. Under Choose the Associated record type choose Ticket
  8. Under the associated property dropdown choose Ticket ID (every ticket has one)
  9. Hit Create! 
  10. 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

 

createticketpropertyv2.gif

 

 

 

 

 

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!

 

Best,

Cathal 🙂

3 Soluciones aceptadas
JackieLalley
Solución
Colaborador | Partner nivel Gold
Colaborador | Partner nivel Gold

How to create a number of associated tickets property for Contacts and Companies

resolver

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. 

Ver la solución en mensaje original publicado

JackieLalley
Solución
Colaborador | Partner nivel Gold
Colaborador | Partner nivel Gold

How to create a number of associated tickets property for Contacts and Companies

resolver

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.] 

Ver la solución en mensaje original publicado

Asif
Solución
Participante | Partner nivel Platinum
Participante | Partner nivel Platinum

How to create a number of associated tickets property for Contacts and Companies

resolver

Thanks for the inputs everyone and this was a very informative thread.

I wanted to update this topic as I believe things have changed since the last accepted solution.

To create a property now that fetchess the COUNT of tickets associated with a Company, you will have to create a custom property and choose "Rollup" instead of Calculation as the property type. COUNT, MIN, MAX and Ave are grouped under Rollup now (previously under Calculation). Rest of the process is as described above.
Hope that helps.

Ver la solución en mensaje original publicado

0 Me gusta
14 Respuestas 14
spoole
Colaborador

How to create a number of associated tickets property for Contacts and Companies

resolver

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

0 Me gusta
DianaGomez
Administrador de la comunidad
Administrador de la comunidad

How to create a number of associated tickets property for Contacts and Companies

resolver

Hi @spoole, I hope you are doing well!

 

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 🙂

 

Best,

Diana


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

lukecro
Colaborador

How to create a number of associated tickets property for Contacts and Companies

resolver

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.

JackieLalley
Solución
Colaborador | Partner nivel Gold
Colaborador | Partner nivel Gold

How to create a number of associated tickets property for Contacts and Companies

resolver

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. 

KatyaManges
Colaborador | Partner nivel Platinum
Colaborador | Partner nivel Platinum

How to create a number of associated tickets property for Contacts and Companies

resolver

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!

0 Me gusta
JackieLalley
Solución
Colaborador | Partner nivel Gold
Colaborador | Partner nivel Gold

How to create a number of associated tickets property for Contacts and Companies

resolver

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.] 

Asif
Solución
Participante | Partner nivel Platinum
Participante | Partner nivel Platinum

How to create a number of associated tickets property for Contacts and Companies

resolver

Thanks for the inputs everyone and this was a very informative thread.

I wanted to update this topic as I believe things have changed since the last accepted solution.

To create a property now that fetchess the COUNT of tickets associated with a Company, you will have to create a custom property and choose "Rollup" instead of Calculation as the property type. COUNT, MIN, MAX and Ave are grouped under Rollup now (previously under Calculation). Rest of the process is as described above.
Hope that helps.

0 Me gusta
BKeszei10
Participante | Partner nivel Platinum
Participante | Partner nivel Platinum

How to create a number of associated tickets property for Contacts and Companies

resolver

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?

Or anyone else?

0 Me gusta
KatyaManges
Colaborador | Partner nivel Platinum
Colaborador | Partner nivel Platinum

How to create a number of associated tickets property for Contacts and Companies

resolver

That 12 x piece was what I was missing thank you!

JackieLalley
Colaborador | Partner nivel Gold
Colaborador | Partner nivel Gold

How to create a number of associated tickets property for Contacts and Companies

resolver

Sure!

0 Me gusta
DianaGomez
Administrador de la comunidad
Administrador de la comunidad

How to create a number of associated tickets property for Contacts and Companies

resolver

Thanks for sharing, @JackieLalley😊

 

Best,

Diana


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

0 Me gusta
JackieLalley
Colaborador | Partner nivel Gold
Colaborador | Partner nivel Gold

How to create a number of associated tickets property for Contacts and Companies

resolver

You bet!

0 Me gusta
RSA
Colaborador | Partner nivel Platinum
Colaborador | Partner nivel Platinum

How to create a number of associated tickets property for Contacts and Companies

resolver

Very useful, thank you

natsumimori
Administrador de la comunidad
Administrador de la comunidad

How to create a number of associated tickets property for Contacts and Companies

resolver

Thank you for sharing this @cathalhopper !