jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Order enrichment AI agent

On this page

Order enrichment AI agent

This Sales Customer Relationship Management agent identifies enrichment tasks for order line items and their children using historic data, confirms the task list with the user, and creates them.

Workflow

  1. Fetch the details for the given top-level order line item and all its children.

  2. For each order line item, check for existing historic enrichment tasks. If none exist, identify the available tasks instead.

  3. Display the proposed tasks grouped by order line item. If rejected, let the user provide their own task list per line item, validate it, and confirm again (repeating until satisfied).

  4. Once confirmed, create the enrichment tasks for each order line item.

  5. Mark the trigger task as closed complete. If no tasks were created, reset all order line item states back to new.

  6. Display a summary of all steps taken, including created task numbers grouped by order line item, or note that none were created.

<table><thead><tr><th>

Field

</th><th>

Description

</th></tr></thead><tbody><tr><td>

Allow third party to access this AI agent

</td><td>

When enabled, third-party AI agents can use this agent. This value is off (false) by default. This setting is defined in the AI Agent configs [sn_aia_agent_config] table on the External discoverable field.

</td></tr><tr><td>

Allow AI specialists to access this AI agent

</td><td>

When enabled, AI specialists can use this agent. This value is off (false) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs [sn_aia_agent_config] table on the Specialist enabled field.

</td></tr><tr><td>

Manage long-term memory

</td><td>

When enabled, all previous user interactions are used as context for the LLM. This value is off (false) by default. This setting is defined by the sn_aia.ltm.enable_long_term_memory system property. For more information, see ServiceNow Otto AI agents reference.

</td></tr><tr><td>

Tools

</td><td>

  • Scripts

Create Enrichment Tasks

Fetch Top Order Line info.

Find available Enrichment tasks for given specification

Find historic enrichment tasks

Update top OLI state back to new.

Update Trigger task state.

Validate task names

</td></tr><tr><td>

Allowed user roles The specific user roles that can access this AI agent.

</td><td>

sn_somt_gen_ai.sales_and_order_fulfillment_ai_agent

</td></tr><tr><td>

Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take.

</td><td>

sn_ind_tmt_orm.order_fulfilment_agent, sn_gaf.data_writer

</td></tr><tr><td>

Triggers

</td><td>

Optional. None defined by default. An admin can specify triggers if desired. For more information, see Add a trigger to an AI agent.

</td></tr><tr><td>

Channels

</td><td>

Not defined.

</td></tr><tr><td>

Used in agentic workflows

</td><td>

Default VA Workflow

</td></tr></tbody> </table>Learn more about Sales Customer Relationship Management at Sales Customer Relationship Management.

Parent Topic:Order Management AI agents

Keep exploring.

Find another answer, or bring this documentation into your own tools.