# Custom Object Workflow - Renaming the record.

**URL:** <https://community.hubspot.com/t/custom-object-workflow-renaming-the-record/74466>\
**Category:** Data Hub\
**Created:** [February 3, 2023, 6:36pm UTC](https://community.hubspot.com/t/custom-object-workflow-renaming-the-record/74466 "2023-02-03T18:36:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DCalderon11](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@DCalderon11](https://community.hubspot.com/u/DCalderon11)\
**Post date:** [February 3, 2023, 6:36pm UTC](https://community.hubspot.com/t/custom-object-workflow-renaming-the-record/74466/1 "2023-02-03T18:36:30Z")

</div>

I am working to rename each new custom object automatically upon creation. Soemthing like this: Random number - Company Name.

The custom object is associated to the Company upon creation however I haven’t been able to accomplish this as the workflow won’t let me pull the company name of the associated record.  
I’ve tried a workaround where upon creation of the customer object it will update a field on the Company record which can then trigger the Company to update all associated custom objects with the company name. From there I trigger another workflow on the custom obejcts to rename itself when the Company field on the custom object is known.

The workaround doesn’t always trigger so I’m hoping there is a more efficient way to accomplish.

I hope this makes sense. I’m working to have a clean naming scheme and need assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![kvlschaefer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kvlschaefer/32/71076_2.png) [@kvlschaefer](https://community.hubspot.com/u/kvlschaefer)\
**Post date:** [February 6, 2023, 3:04pm UTC](https://community.hubspot.com/t/custom-object-workflow-renaming-the-record/74466/2 "2023-02-06T15:04:50Z")

</div>

Hi @DCalderon11,

Thank you for reaching out to the Community!

I wanted to invite our subject matter experts to this conversation.

Hi @MariSuper, @ChrisoKlepke, @jolle - Do you have any tips for @DCalderon11?

Thank you!

Best,

Kristen
