Adding ticket number to ticket subject

My team and I wanted to add a property by which any ticket generated in hubspot would be assigned ticke id. And increment that everytime a new ticket is created, then add that incremented value with a prefix like Ticket #00001 to the subject of the ticket.

Hi @PBarik,

Out of the box, this is not possible. I’ve discussed this before in another thread:


This isn’t possible out of the box in HubSpot because in workflows, HubSpot isn’t comparing records at all. You can increase a value that is already available on a record, but you can’t hand out running numbers to records as they enter a workflow.

However this can be achieved with custom code actions in workflows, available in the new Operations Hub Professional. There is a similar thread that already includes some lines of code that you could adapt for your purpose.

Alternatively, you could also achieve this with Zapier, I think, sending contacts into a Google Sheets where they receive a running number and then back to HubSpot.


Keep in mind that HubSpot already is maintaining a Record ID for each ticket. It’s not a running number but it’s a unique identifier.

Best regards!

We would also appreciate it if ticket numbers were assigned. These should be in the subject of all replies and you should be able to search for them. Because the record ID cannot be searched for.

This should 100% be a feature of any ticketing system - email confirmation sent to the person who opened the ticket along with their ticket number so they can reference it in future calls/emails with support.

Hi @PhilDenton-JLC ,

Thank you for contributing your feedback ! It looks like our Product Team is working on a similar feature that will allow tickets # to be more visible in the CRM. Here’s the latest update from the Product Team on a related feature request in our Ideas Forum. Feel free to upvote the idea and follow it to stay on the loop and be notified when it will be implemented across portals !

I highly recommend sharing product feedback in our Ideas Forum by submitting or upvoting in a Feature Request. Our Development and Product teams are constantly monitoring this forum to prioritize features that will enhance the platform so I highly encourage your contributions.

Josefina, Community Moderator