FWA for Telephone field: Phone number overwrites existing value when editing the 'Body' field.
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3577636. -->
Reported by: [brunocarvalho](https://www.drupal.org/user/3857893)
>>>
<p>When changing the text in the 'Body' to ‘My UK number is 020 7946 0958’, instead of adding a new phone number, it replaces the value of the first item generated.</p>
<h4>Steps to reproduce:</h4>
<ol>
<li>Make sure that AI Automators, Telephone and Field Widget Action modules are enabled.</li>
<li>Create a content type under <a href="https://drupal11-test.ddev.site/admin/structure/types/add">https://drupal11-test.ddev.site/admin/structure/types/add</a></li>
<li>In label set "Telephone Automator"</li>
<li>Click "Save and manage fields"</li>
<li>Click "Re-use an existing field"</li>
<li>Pick "Body" and click "Re-use"</li>
<li>Click "Save Settings"</li>
<li>Click "Create a new field"</li>
<li>Pick "Telephone Number" as the field type</li>
<li>Set the label to "Telephone Number"</li>
<li>Set the "Allowed number of values" to "Unlimited"</li>
<li>Scroll down and check "Enable AI Automator"</li>
<li>In the "Choose AI Automator Type" pick "LLM: Telephone"</li>
<li>In "Automator Base Field" pick "Body"</li>
<li>In Automator Prompt write "Based on the context text return any telephone numbers listed in the text with country code. Context: {{ context }}"</li>
<li>Open "Advanced Settings"</li>
<li>Pick "Field Widget" under "Automator Worker"</li>
<li>Click "Save".</li>
<li>Goto form display for the content type: <a href="https://drupal11-test.ddev.site/admin/structure/types/manage/telephone_automator/form-display">https://drupal11-test.ddev.site/admin/structure/types/manage/telephone_automator/form-display</a></li>
<li>On Telephone Number, click the cogwheel to edit the field settings.</li>
<li>Open "Field Widget Actions"</li>
<li>Under "Add new action" choose "Automator Telephone" and click "Add action"</li>
<li>Check "Enable Automators"</li>
<li>Open "Enable an Automator and click "Telephone Number Default"</li>
<li>Click "Update"</li>
<li>Click "Save"</li>
<li>Go to Create Telephone Automator under <a href="https://drupal11-test.ddev.site/node/add">https://drupal11-test.ddev.site/node/add</a></li>
<li>In the title write something whatever.</li>
<li>In the body write "You can contact me at american numbers 555-1234 or at 555-5678"</li>
<li>Click "Automator Telephone" button - this might take a while.</li>
<li>You should see that the two phone numbers are generated and attached to the Telephone Number field with the country code +1 for American numbers.</li>
<li>Change the body to "My UK number is 020 7946 0958"</li>
<li>Click "Automator Telephone" button again</li>
<li>You should see that the new phone number is generated with the country code +44 and that the previous numbers are still there.</li>
<li>Make sure to delete the entity if you created it and delete the content type: <a href="https://drupal11-test.ddev.site/admin/structure/types/manage/telephone_automator/delete">https://drupal11-test.ddev.site/admin/structure/types/manage/telephone_automator/delete</a></li>
<li>
</ol>
> Related issue: [Issue #3576696](https://www.drupal.org/node/3576696)
issue