# Auto-incremented property

**URL:** <https://community.hubspot.com/t/auto-incremented-property/102547>\
**Category:** Blog, Website & Page Publishing\
**Tags:** enterprise\
**Created:** [March 14, 2024, 8:50am UTC](https://community.hubspot.com/t/auto-incremented-property/102547 "2024-03-14T08:50:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMomo](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@SMomo](https://community.hubspot.com/u/SMomo)\
**Post date:** [March 14, 2024, 8:50am UTC](https://community.hubspot.com/t/auto-incremented-property/102547/1 "2024-03-14T08:50:39Z")

</div>

Can I create an auto-incremented property? For example, I would like to have a property named contact ID that will auto-increment as a contact fills a specific form. I was wondering if the property could look at itself and increment by 1 for each new contact who filled out the form.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [March 14, 2024, 8:53am UTC](https://community.hubspot.com/t/auto-incremented-property/102547/2 "2024-03-14T08:53:07Z")

</div>

Hi @SMomo,

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](https://knowledge.hubspot.com/workflows/use-custom-code-actions-in-workflows). There is a[similar thread that already includes some lines of code](https://community.hubspot.com/t5/9881-Operations-Hub/Custom-Code-action-not-copying-into-Custum-Property/m-p/437381#M108) that you could adapt for your purpose.

Alternatively, you could also achieve this with [Zapier](https://knowledge.hubspot.com/integrations/how-to-use-zapier-and-hubspot), I think, sending contacts into a Google Sheets where they receive a running number and then back to HubSpot.

Best regards!
