Hello,Is it possible to create a unique Ticket ID field thats limited to 5 digits that will be automatically updated when a new ticket is created? Like the record ID but we need this to be shorter.
Natively in HubSpot there isn't a stable, guaranteed-unique way to auto-generate a 5-digit Ticket ID on creation.
If you need this to be reliable, you've basically got two solid options:
Use an app/add-on There are apps/integrations that handle custom ID generation and uniqueness for you. This is the quickest route if you want to avoid custom engineering.
Build a small serverless function to issue IDs atomically Create a serverless endpoint backed by a datastore that supports atomic operations.
Your HubSpot workflow would: - Trigger on ticket creation - Call your function to reserve the next ID atomically - Write that value back to the ticket property via API or Workflow Action
This requires some development, but it's the proper way to guarantee uniqueness and avoid race conditions.
One important caveat: a 5-digit numeric ID only allows 100,000 combinations (00000–99999), so you'll eventually either need a reuse strategy, a prefix/namespace (e.g., year), or more digits if you need long-term uniqueness.
Did my post resolve your question? If so, please consider marking it as the accepted solution to help others in the community.