Skip to main content

Update an item by ID tool

Configure an AI Agent to find a record by its unique ID, update selected fields, and verify the result.

Use Update an item by ID to let an AI Agent change selected fields on one existing record. For example, the agent can update a service request’s status using its unique record ID.


Accessing the Tools Page

Open the AI Agent and select Tools in the top navigation. You can add, edit, enable, disable, or remove tools from this page.


Adding the “Update an item by ID” Tool

  1. Select Add a tool → Update an item by ID.

  2. Choose the application, then choose the target list under Data source.

  3. Select Add to create the tool or Add and configure to open its settings.


General Settings

Under Details, check the tool name, description, type, application, and data source. Set Credentials to use to End user credentials for the caller’s access or Specific user for the selected user’s access. The identity must be able to edit the target record. AI Agent settings


Inputs – Fields Used When Updating an Item

The tool starts with Item Id to locate the record. Add only the fields the agent needs to modify. For a status update, add Status alongside Item Id.

If the user provides a subject or display number, query the selected list for the record and use its unique ID. If several records match, ask which one to update. Configure Query Items

Default Input: Item Id

Column

Description

Input name

Item Id

Input type

Single line

Fill using

Choose Dynamically fill with AI or Custom value according to how the caller finds the record.

Value

With Custom value, supply the ID directly or map it from an earlier step.

The Item Id is mandatory. Without it, the system cannot identify which record to update.

Adding and configuring inputs for fields to update

To specify which fields the AI Agent is allowed to update, click + Add input.
The popup dialog lists all fields in the selected data list—including each field’s Input name, ID, and Input type (Single line, Number, Date, etc.). Select the fields you want to allow updates for, then click OK.

The selected fields will appear in the Inputs table, where each row represents a field that can be updated. For each field, you can configure:

Column

Description

Input name

The field to be updated

Input type

Inherited from the list

Fill using

AI-filled or Custom value

Value

Required only when using a Custom value

Only fields added to the Inputs section can be updated by the agent.
You may remove any field using the delete icon.
Required list fields only need to be included if they must be modified.
​If the Item Id is missing or invalid, the update will fail.

Note:

To learn more about the Dynamically fill with AI and Custom value options, please refer to the following article: Usage and Differences Between “Dynamically fill with AI” and “Custom value” in AI Agent Tool Inputs


Completion

Under After running, choose Waiting for response when the agent must report the result. Use the non-waiting option when the agent can continue without it.


Outputs available to the agent and other tools

This section specifies which outputs will be made available after the update action completes.

Default outputs include:

Output

Output type

Description

Data

Text

Information returned by the update. Inspect a test result before mapping it to a later step.

Message

Text

A readable message describing success or failure.

Status Code

Number

Numeric status indicator such as 200 (success) or 400 (error).

Managing outputs

Select Customize to change an output mapping. Remove unused outputs and select Add output if you need to restore one.

Update an item by ID output reference. Data and Message are Text, and Status Code is Number. Select Customize to adjust an output.


Summary

  1. In a test list, prepare two records with the same subject and different IDs. Update one record by its ID. Check that only the mapped field on that record changed.

  2. Try an invalid ID. Check the returned failure and verify that neither record changed. Also test a missing ID to confirm that the agent asks for it or reports the failure.

  3. If you use End user credentials, verify the result with a user who can edit the record and with a read-only user.

Did this answer your question?