# Use AI to fill entity fields of name formula

**URL:** <https://community.fibery.io/t/use-ai-to-fill-entity-fields-of-name-formula/5090>\
**Category:** Ideas & Features\
**Created:** [September 6, 2023, 5:38pm UTC](https://community.fibery.io/t/use-ai-to-fill-entity-fields-of-name-formula/5090 "2023-09-06T17:38:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![njyo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/njyo/32/923_2.png) [@njyo](https://community.fibery.io/u/njyo)\
**Post date:** [September 6, 2023, 5:38pm UTC](https://community.fibery.io/t/use-ai-to-fill-entity-fields-of-name-formula/5090/1 "2023-09-06T17:38:50Z")

</div>

I’m a big user of generated names as that brings consistency and structure to our data and makes finding it so much easier thanks to consistent prefixes, etc. (e.g. for releases, but even APIs, Views and other parts of the spec)

One huge drawback of generated names is that when creating new entities as part of a view or even inline, Fibery needs to go through this awkward dance where I indicate that I’m creating a new entity, Fibery tells me that the name will be generated yet still lets me type stuff and then finally, after I submit everything I typed gets forgotten and a nothing-empty-void name is generated (as no fields are likely to be filled)

I see that the team’s been keen on using AI for a number of things. This would be a use case I’d love to be AI put to use. As I enter the expected name of the new entity, the AI should decide based on the formula and the data, how to fill the defining fields. That way it makes sense to let me type a name and the result will be an entity with a better name than

Thanks!

---

<div class="post-metadata">

**Author:** ![Oshyan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/oshyan/32/11431_2.png) [@Oshyan](https://community.fibery.io/u/Oshyan)\
**Post date:** [September 6, 2023, 6:25pm UTC](https://community.fibery.io/t/use-ai-to-fill-entity-fields-of-name-formula/5090/2 "2023-09-06T18:25:58Z")

</div>

I’m not certain exactly how it should work, but I feel like this is a more specific/narrow case of what _should_ be more general improvements to the formula name handling for in-line entity creation (and any other situation where there is a need to provide a name that just gets replaced by the formula result). So I think a more general feature request might be best (may already exist, don’t have a moment to look just now 😅).

I was thinking something that sort of combines the button automation “Text Input” pop-up function with the Form function, in a sense, basically creating a pop-up on creation of any formula-named entity with _only_ the fields used in the formula being shown for filling in-line right there (in the pop-up). AI could be integrated into that in some way, I’d hope, i.e. as part of the name formula for that database, like `entity.name = source/reference.entity.field(s) -> ChatGPT` (sorry, I am terrible with Fibery formula syntax, so this is beyond pseudo code 😆).

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [September 6, 2023, 8:19pm UTC](https://community.fibery.io/t/use-ai-to-fill-entity-fields-of-name-formula/5090/3 "2023-09-06T20:19:49Z")

</div>

Some related topics:

> [@Save original user-entered entity name for entities created inline](https://community.fibery.io/t/save-original-user-entered-entity-name-for-entities-created-inline/3150):
>
> Name Formulas are awesome, with one big exception: when creating a new entity “in line” (where you see this) The problem is that 90% of the time, I want to save whatever the user enters here, maybe in a field called Title, to be used as part of the Name formula. The simplest solution I can think of is to have a special field in Rules, something like UserEnteredName, which holds whatever name the user entered when creating the entity inline. Then my “entity created” Rule could save …

> [@Name Formula when creating new Entry from outside the list](https://community.fibery.io/t/name-formula-when-creating-new-entry-from-outside-the-list/4861):
>
> I store my contacts name in “LastName, FirstName” and would like to split this from now on, because its safer in a team environment to get right data. but when i want to create a new entry (from inside a meeting for example) the new entry is just “untitled” because it does not take the input from the external source. Of course, as it is a formula field… any way of having an option, that the input from external is filled into other fields than the name field or another work around to not end up…

> [@Add ability to open a new record pop-up](https://community.fibery.io/t/add-ability-to-open-a-new-record-pop-up/2487):
>
> Every record has record lists. “+ Link or create” is confusing when you want to create a new record with a formula name. This ONE button does TWO actions: link or create. For instance, we have a parent record. The child object has the name field as a formula. When we want to add a new record, the system shows “Start typing to create a new record”. Why? After that we have to do several unnecessary clicks: [screencast 2022-02-04 09-44-16] Guys, please add (or provide a setting) to just open a n…

---

<div class="post-metadata">

**Author:** ![njyo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/njyo/32/923_2.png) [@njyo](https://community.fibery.io/u/njyo)\
**Post date:** [September 7, 2023, 3:52am UTC](https://community.fibery.io/t/use-ai-to-fill-entity-fields-of-name-formula/5090/4 "2023-09-07T03:52:26Z")

</div>

True, a more generic, reusable solution is of course also welcome. 🙂
