ERP output formatter AI agent
This Workflow Data Fabric agent formats and refines output from the Invoke ERP Action process. It helps to ensure that the data is presented in a structured and meaningful way.
Workflow
- Evaluate the ERP action output. If it's empty, immediately return "No records found for given inputs from the model" and stop.
- If records exist, send the output to the response formatter tool.
- Display the formatted response, adding a note if there are more than 10 records. If field mapping failed entirely, return a fallback message alongside the original raw data instead.
- Apply safe, obvious conversions (for example, numeric strings to numbers) while preserving the original raw data untouched.
- Skip fields/paths that can't be resolved rather than filling them with nulls, and preserve structural validity even with nested or inconsistent data shapes.
| Field | Description |
|---|---|
| Allow third party to access this AI agent |
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. |
| Allow AI specialists to access this AI agent |
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. |
| Manage long-term memory |
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. |
| Tools |
|
| Agent roles (ACLs) | snc_internal |
| Data access roles | Not defined. |
| Triggers |
Optional. None defined by default. An admin can specify triggers if desired. For more information, see Add a trigger to an AI agent. |
| Channels |
Not defined. |
| Used in agentic workflows |
Not applicable. |
Learn more about Workflow Data Fabric at Build an automation with AI.