Overview

Starting with Version 2026.1, AI is now a native, provider-agnostic capability of the ESM Platform. 

Customers can design, configure, and execute AI-powered functions using a low-code approach, embedding AI directly into existing workflows, UI actions, and the M42 Assist experience. AI is therefore available as an integrated platform capability rather than as a separate application or isolated feature.

This approach:

  • Enables AI extensibility through low-code configuration. 
  • Embeds AI directly into existing business processes and user interfaces. 
  • Supports different AI providers through a standardized integration model. 
  • Reduces dependency on a single AI vendor. 
  • Simplifies the adoption, deployment, and scaling of AI use cases. 
  • Preserves the existing Matrix42 security and action model.

A centrally configured AI provider framework currently supports: 

  • Matrix42 Intelligence
  • OpenAI
  • OpenAI-compatible providers 

The provider can be changed without redesigning the AI Function or the business process that uses it. 

AI Function executions are recorded with relevant execution information, such as the selected function, provider, request, response, and execution status. This supports troubleshooting, auditability, and controlled use of AI capabilities.

Terminology Update: Neo

The agentic AI and LLM features described in this article, previously branded M42 Intelligence, are consistently renamed Neo across the ESM platform, including an updated logo and color scheme.

This includes the M42 Assist, or AI Assist Bar name as Ask Neo, and AI-related ticket journal entries, which now name the agent explicitly, for example "Ticket Automatically Resolved by Neo" instead of generic "AI" wording.

Requirements

During Preview, customers must have one of the following subscriptions: 

  • ITSM 2023 Advanced or Enterprise
  • ITSM 2025 Enterprise
  • A later supported subscription

When Matrix42 Intelligence is configured as the AI Service Provider, an active Matrix42 Intelligence subscription and sufficient Action Credits are also required. When customers use their own supported AI provider through Bring Your Own Model (BYOM), they are responsible for any consumption, licensing, or infrastructure costs charged by that provider.

Bring Your Own Model (BYOM) functionality with Native AI Functions comes as Preview, and has currently limitations with the Temperature, Structured Output and supported models, that are planned to be resolved with next updates.

Matrix42 does not charge additional fees or Action Credits for BYOM usage during Preview. 

After the Preview period, use of this capability may require a Matrix42 Intelligence subscription, and additional Matrix42 execution charges may apply.

 

Availability by Deployment Model

REVIEWER NOTE (PM feedback, 27.10.2026): added from the PM-provided M42 Enterprise ITSM deployment-model overview. Rows below are scoped to the AI Functions and AI Agents covered in this article.

 
Capability On-Premises / Private Cloud Cloud / Hybrid
Custom Native AI Functions Available Available
Native AI Function in workflows Available Available
AI Actions in User Interface Available Available
Text Translation Available Available
Text Enhancement Available Available
Text Summarization Available Available
Ticket-related functions (KB Drafting, Ticket Summarization, Detect Urgency/Type/Service/Category/Impact, Find Similar Tickets, Find Ticket Solution) Available Available
AI Agent: Intelligent Service Desk (automated ticket triage and resolution) With AI Core or BYOM Available
AI Agent: Reported Service Detection Available Available, with image analysis and AI routing to role
Feedback Loop (clarification questions) Available Available

For Neo Agents, data sources need to be configured for AI Core or BYOM scenarios, to ingest additional business data such as Tickets, Services, and Knowledge Base articles. For BYOM used as the AI Provider behind Native AI Functions, the AI Function implementation needs to be configured, and is currently more limited than Configurable AI in some functionality; this is planned to improve in upcoming releases.

 

Predefined AI Functions

Matrix42 provides a predefined set of AI Functions that can be used immediately after a supported AI Service Provider has been configured.

The predefined functions include: 

Detect Ticket Category 

Analyzes the ticket content and suggests the most appropriate service category. 

The suggestion is based on the available ticket information, including fields such as the title and description. 

Detect Ticket Impact

Analyzes the ticket context and suggests an appropriate impact value. 

The result can be reviewed by the user before it is applied to the ticket. 

Detect Ticket Service

Identifies the service that is most likely related to the reported issue or request. 

This can help reduce manual classification effort and improve routing and reporting quality. 

Detect Ticket Type 

Determines whether the ticket is more likely to represent an Incident, Service Request, or another supported ticket type. 

Detect Ticket Urgency

Analyzes the reported situation and proposes an urgency value. 

The function supports consistent ticket assessment while keeping the user in control of the final value. 

Detect Ticket Solution

Analyzes the ticket and available context to suggest a possible resolution.

Depending on the configured scenario, the result can be shown as information, copied into the ticket, or used by an automation process. 

Similar to the previous AI feature, “Detect Ticket Solution,” this feature analyzes not only the current ticket and available context but also a list of similar tickets and relevant knowledge base articles, if provided, to suggest a possible solution.

Depending on the configured scenario, the result can be displayed as information, copied into the ticket, or used by an automation process. 

Generate Ticket Summary

Generates concise, AI-driven ticket summaries by analyzing the ticket’s title, description, comments, and related context. It extracts the most relevant details - such as the issue type, existing communications, actions taken, affected services, key symptoms, and current status to provide a clear, standardized overview that improves readability, accelerates triage, and supports faster resolution.

The result is displayed in three sections: Overview provides a concise summary of the ticket. Communication shows incoming and outgoing communications for the ticket. Actions Taken focuses on the actions taken on the ticket.

Generate KB Draft

Generates a draft knowledge base (KB) article from ticket information, such as the title, description, and solution. Only closed tickets can be considered during KB draft generation.

Depending on the configured scenario, the result can be shown as information, copied, used by an automation process, or applied to turn support tickets into structured, reusable documentation for your KB.
If applied, a new knowledge base article will be created, with a link to it included in the description of the action result.

Detect Similar Tickets

Analyzes similar tickets and relevant knowledge base articles using AI’s advanced analysis capabilities. It provides an intelligent way to identify and surface related historical incidents, service requests, and self-service resources by analyzing the ticket subject, recognizing patterns, and matching contextual similarities across existing records.

The result returns the top 3 similar tickets and the top 3 relevant knowledge base articles that match the current ticket. This information can help identify related items or be used by an automation process for further activities.

The ticket status is taken into account when searching for similar tickets and relevant knowledge base articles.

By default, the search includes only tickets with the “Closed” status and KB articles with the “Final” status. These settings can be changed in the User Personalization section, under the “AI Action Preferences” subsection—specifically, the “Related ticket status” and “Knowledge article status” properties.

 

Text Enhancement

 Improves the quality of user-entered text. 

Typical use cases include: 

  • Correcting spelling and grammar.
  • Improving readability.
  • Rephrasing text in a more professional tone.
  • Making descriptions clearer and more concise. 

Text Summarisation

This is used for summarizing long texts in HTML literal or Ticket Journal 

Auto Translation 

Translates text into a selected target language. This can be used for ticket descriptions, journal entries, knowledge content, and other supported text fields.

UI AI-powered actions

predefined AI-powered action are described here

Customization with Native AI Functions

see next article for details how Native AI Functions can be used for customization here

Predefined Neo Agents

Read about Neo Agents here

AI Service Providers

An AI Service Provider defines which AI backend is used to execute an AI Function. 

The provider configuration is managed centrally. This allows administrators to configure the connection once and reuse it across multiple AI Functions and business processes. 

Supported provider types include: 

Matrix42 Intelligence 

Matrix42 Intelligence provides the recommended Matrix42-managed AI capabilities and can offer additional services beyond basic prompt execution. The exact available functionality depends on the customer’s subscription and deployed Matrix42 services. 

OpenAI 

The platform includes an out-of-the-box integration for supported OpenAI models. Customers must provide the required credentials and configuration for their OpenAI account. 

OpenAI-compatible 

Providers that expose an OpenAI-compatible interface can also be connected. Compatibility depends on the provider’s API implementation and the supported model capabilities.

Configure an AI Service Provider

Before AI Functions can be executed, at least one AI Service Provider must be configured and activated. 

The exact configuration fields depend on the selected provider. In general, the administrator must provide: 

  • Provider type 
  • Service Connection
  • Model or deployment name 
  • Activation status 
  • Capabilities
  • Priority

To configure a provider: 

  1. Go to Administration > Intelligence > AI Service Providers. 
  2. Create a new provider or open an existing provider. 
  3. Select the provider type. 
  4. Select the required service connection. 
  5. Configure the model configuration. 
  6. Specify a Capability, e.g., AI Functions.
  7. Activate the provider.
  8. Save the configuration. 
  9. Test the connection, where available. 

After the provider has been configured, it can be assigned to one or more AI Function implementations.

Request Pattern

Use Request Pattern to add model-specific properties to chat completion requests. You configure the pattern on an AI Service Provider model, and it applies to prompt-based AI Function implementations that use that model. It does not apply to service-based implementations.

Configure a Request Pattern

In Administration > Intelligence > AI Service Providers, edit the model and enter a JSON object in the Request Pattern field, as shown in the AI Service Provider model screenshot.

Each key is a request property name. Before adding a property, check the provider’s official API documentation for the model: supported properties and values vary by model.

Value type How it works
Literal Numbers, booleans, null, and plain strings are sent as-is. For example, "reasoning_effort": "low" sends "low" as a string.
JSON Enter an object or array directly, or supply it as a string. If the trimmed string starts with { or [ and parses as valid JSON, it is sent as an object or array rather than as a string.
ASQL Enter a JSON string in the form "{aiFunction: <ASQL expression>}". The aiFunction keyword is case-sensitive and must not be quoted inside the string. The expression is evaluated in the context of the AI Function implementation, not the current user or request. If it returns null, the property is omitted.

Validation and conflicts

  • Blank or empty pattern: A blank field or an empty object ({}) adds no properties.
  • Invalid pattern JSON: If the entire pattern cannot be parsed, Matrix42 logs one warning and builds the request without any properties from the pattern.
  • Invalid property: If an individual entry is invalid—for example, "{aiFunction:}" contains an empty ASQL expression—Matrix42 skips that entry and logs a warning. Other valid entries still apply.
  • Protected keys: A Request Pattern cannot override model or messages. Matrix42 ignores each conflicting entry and logs a warning for each one. The original values remain unchanged, and other valid entries still apply.
  • Custom Attributes: For other properties, if both the model’s Request Pattern and the implementation’s Custom Attributes define the same key, the Custom Attributes value takes precedence.
 

Example: Detect Ticket Category

The AI Function implementation screenshot

shows the Detect Ticket Category prompt implementation using OpenAI (gpt-4.1), with Temperature set to 0.1 and Max Tokens set to 500.

To pass those settings to the provider, enter this pattern on the gpt-4.1 model. The expressions read the implementation’s Temperature and MaxOutputTokens values.

{
  "temperature": "{aiFunction:Temperature}",
  "max_completion_tokens": "{aiFunction:MaxOutputTokens}"
}

The resolved values are added to the request as numbers, not strings. The following example uses placeholder message content:

{
  "model": "gpt-4.1",
  "messages": [
    {
      "role": "user",
      "content": "Example ticket text"
    }
  ],
  "temperature": 0.1,
  "max_completion_tokens": 500
}

Configure the System Prompt

The system prompt defines the general instructions and behavioral rules applied when AI Functions are executed through the configured AI Service Provider. 

It can be used to establish common requirements such as: 

  • Expected response style and tone
  • Language behavior
  • Formatting conventions
  • Security and compliance instructions
  • Restrictions on unsupported or unsafe responses
  • General rules that should apply across multiple AI Functions 

The system prompt is combined with the function-specific prompt at runtime. The system prompt provides the general execution context, while the AI Function prompt defines the concrete task, such as detecting a ticket category, translating text, or suggesting a resolution. 

To configure the system prompt: 

  1. Go to Administration.
  2. Open System Settings → Intelligence.
  3. Enter or update the AI Function System Prompt. 
  4. Save the settings.
  5. Test the affected AI Functions. 

Administrators should keep the system prompt generic and reusable. Instructions that are specific to one business use case should be defined in the corresponding AI Function implementation instead. 

Changes to the system prompt may affect all AI Functions. The updated prompt should therefore be tested before being introduced into productive use.

Configure the Structured Output

Structured Outputs lets a prompt-based AI Function define the JSON object it expects back from the model. The function’s output parameters define the object’s keys, types, and allowed values. The model-level Structured Outputs option determines how that structure is sent: as a strict JSON Schema in the provider request when enabled, or as an example-based instruction in the user prompt when disabled. Service-based implementations do not use this feature because they do not build a provider request.

Configure the output parameters

Add one parameter for each top-level key you want in the response and mark it as Output. For example, to return a summary, a list of tags, and a review flag, configure summary as String, tags as String with IsArray enabled, and needsReview as Boolean. The generated schema requires every included property and disallows additional properties, both at the top level and inside nested objects.

Parameter type Type ID JSON type Configuration notes
String 1 string Can use an enum.
Boolean 2 boolean Can use an enum.
Integer 4 integer Can use an enum.
Float 5 number Can use an enum.
Decimal 6 number Can use an enum.
Object 26 object Requires a non-empty Object Schema with at least one supported property. Can contain nested objects.
  • Arrays: Enable IsArray on an output parameter or IsMultiple on an Object Schema entry. Arrays of objects are supported.
  • Enums: For a supported scalar output parameter, enable IsEnum and put the allowed values in DefaultValue as a JSON array or comma-separated list. For an Object Schema entry, use IsEnumeration with a JSON array. Parameter-level arrays and enums cannot be combined in the UI, but an Object Schema entry can define an array of enum values. Values that cannot be converted to the declared type are skipped; if none remain, the property uses the plain type without an enum restriction.
  • Descriptions: Use descriptions to explain what values should contain. In the prompt-based fallback, descriptions and enum choices appear as hints in the example. For an object or an array of objects, put descriptions on the individual fields if you want them to appear in that example.

Unsupported types such as Date, Guid, and Currency do not contribute to the schema. An invalid Object Schema can cause the parameter to be skipped, and unsupported nested entries are skipped individually. If no qualifying output parameters remain, the feature adds nothing to the request.

Activate Structured Outputs at the model level

Enable Structured Outputs on the provider model used by the prompt-based implementation. Enable it only if that model supports strict JSON Schema responses.

The same setting is used for OpenAi, AzureOpenAi, CompatibleOpenAi, and M42Intelligence; the presence of the setting does not mean every model supports it. Leave it off to use the prompt-based fallback.

How the request is built

The output schema is generated from the current parameter configuration on each execution. The table describes the three default cases, without a custom response_format override.

Case What the request contains What to expect
1. No output parameters are specified No generated response_format and no Output Format Instruction. The model toggle has no effect, and the request is unchanged by this feature. The same applies if all configured output parameters are skipped. No JSON shape is requested by this feature.
2. Output parameters are specified; Structured Outputs is off An Output Format Instruction is appended to the user prompt. It asks for a JSON object with exactly the configured keys and shows an example with placeholders, not a JSON Schema. No response_format field is generated in the provider request body. The instruction guides the model but does not enforce the format. The application does not validate the response against the schema.
3. Output parameters are specified; Structured Outputs is on The user prompt is unchanged. The base provider client sends response_format with type: "json_schema", the generated schema, and strict: true. A supporting provider enforces the shape for a successful structured response. The application returns the reply without parsing or validating it against the schema.

Override: A custom response_format supplied through a Request Pattern or Custom Attribute takes precedence. With the model option on, it replaces the generated format. With the option off, it is sent instead of appending the Output Format Instruction. For example, an override of {"type":"json_object"} requests JSON mode but does not send the schema defined by the output parameters.

 

Example

As an example, consider the AI Function "Detect Ticket Category", for which two output parameters are defined.

The first output parameter is "Explanation" of string type.

The second one is "Options" of array type. Each item in Options is an object. Its required Id field is configured as String (type 1), so the generated schema uses "type": "string". The description asks for a UUID v4, but strict mode does not validate UUID syntax or version. The Name field is also configured as String (type 1), and the Score field as Float (type 5), so the generated schema uses "type": "number".

All three examples use the same model and ticket prompt. Variant 1 shows the function before the output parameters are configured; variants 2 and 3 use the Explanation and Options parameters described above. These are base request examples with no custom response_format, hooks, or provider-specific overrides.

1. No output parameters configured.

The model-level Structured Outputs setting has no effect. The user message is sent unchanged, and the feature adds no response_format field.

{
  "model": "gpt-4o",
  "messages": [
    {
      "role": "user",
      "content": "Detect the category for this ticket.\nSource language: English\nTicket Subject: Cannot sign in after password reset\nTicket Description: The employee reset their password but still cannot sign in.\nAvailable category: Account Access (ID: 550e8400-e29b-41d4-a716-446655440000)."
    }
  ]
}

2. Output parameters configured; Structured Outputs off

The request adds a format instruction to the user message, not a response_format field to the body. The instruction shows one example item in Options and places the configured descriptions next to the values they describe. The placeholders and ... are template markers, not values the model should return. The instruction guides the model but does not enforce the output shape.

In the JSON below, \n represents a line break, and \u003c and \u003e decode to literal angle brackets. The source_language marker is shown as part of the configured description.

{
  "model": "gpt-4o",
  "messages": [
    {
      "role": "user",
      "content": "Detect the category for this ticket.\nSource language: English\nTicket Subject: Cannot sign in after password reset\nTicket Description: The employee reset their password but still cannot sign in.\nAvailable category: Account Access (ID: 550e8400-e29b-41d4-a716-446655440000).\n\n\u003cresponse_format\u003e\nReturn ONLY a valid JSON object (RFC 8259) with exactly these 2 top-level keys.\nDo NOT return a JSON Schema and do NOT wrap the result in \"type\" or \"properties\".\nReplace each \u003c...\u003e placeholder with the actual value.\n\n{\n  \"Explanation\": \"\u003cShort, automatically generated explanation of assessment (2 sentences, 20–30 words) based on the ticket context. Use \u003csource_language\u003e language for explanation; if empty, detect automatically using the **Ticket Subject** or **Ticket Description**.\u003e\",\n  \"Options\": [\n    {\n      \"Name\": \"\u003cstring\u003e\",\n \"Score\": \u003cnumber\u003e,\n      \"Id\": \"\u003cA valid v4 UUID/GUID string in standard 8-4-4-4-12 hexadecimal format (e.g., 550e8400-e29b-41d4-a716-446655440000).\u003e\"\n    },\n    ...\n  ]\n}\n\u003c/response_format\u003e"
    }
  ]
}

3. Output parameters configured; Structured Outputs on

The user message stays unchanged. The provider request adds a strict JSON Schema named Detect_Ticket_Category. Both top-level keys are required, and each item in Options must contain Name, Score, and Id. Neither the top-level object nor the option objects allow additional keys.

{
  "model": "gpt-4o",
  "messages": [
    {
      "role": "user",
      "content": "Detect the category for this ticket.\nSource language: English\nTicket Subject: Cannot sign in after password reset\nTicket Description: The employee reset their password but still cannot sign in.\nAvailable category: Account Access (ID: 550e8400-e29b-41d4-a716-446655440000)."
    }
  ],
  "response_format": {
    "type": "json_schema",
    "json_schema": {
      "name": "Detect_Ticket_Category",
      "strict": true,
      "schema": {
        "type": "object",
        "properties": {
          "Explanation": {
            "type": "string",
            "description": "Short, automatically generated explanation of assessment (2 sentences, 20–30 words) based on the ticket context. Use \u003csource_language\u003e language for explanation; if empty, detect automatically using the **Ticket Subject** or **Ticket Description**."
          },
          "Options": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Name": {
                  "type": "string"
                },
                "Score": {
                  "type": "number"
                },
                "Id": {
                  "type": "string",
                  "description": "A valid v4 UUID/GUID string in standard 8-4-4-4-12 hexadecimal format (e.g., 550e8400-e29b-41d4-a716-446655440000)."
                }
              },
              "required": ["Name", "Score", "Id"],
              "additionalProperties": false
            }
          }
        },
        "required": ["Explanation", "Options"],
        "additionalProperties": false
      }
    }
  }
}

Configure Application-Specific AI Prompt

In addition to the account-wide system prompt described above, an administrator can define a dedicated AI Application Prompt for each Matrix42 Enterprise application. This prompt adds further context, business rules, terminology, and response guidance that applies only when an AI Function is executed from that specific application.

For example, AI Functions executed in the Self Service Portal can be configured to use simple, employee-friendly language and prioritize self-service solutions, while the same AI Functions executed in the Service Desk can use ITSM terminology and provide more detailed recommendations for agents.

Workflow Designer's Execute Native AI Functions action can also select an application context, so an automated workflow benefits from the same application-specific instructions as a manually triggered AI Function.

Configure Text Translate & Enhance

Administration application → Settings → Regional Settings → Auto Translate & Correct section:

  • Enable Auto Translate
  • Enable Text Enhancement
  • Language Engine:
    • M42 Intelligence (default)
    • OpenAI (gpt-3.5-turbo)
    • OpenAI (gpt-4o-mini)
    • OpenAI (gpt-4-turbo)
  • Service Connection: a configured service connection that will process the text, e.g. M42 Next for M42 Intelligence Language Engine or Open AI for other Language Engines. See also, Service Connections.

When enabled, the current auto-translation and text enhancements, including configuration details, are shown on the Global System Settings preview page in the Auto Translate & Correct section as follows:   

 

How AI Functions Work

An AI Function represents a reusable business capability, such as detecting a ticket category or translating text. 

Each AI Function can have one or more implementations. 

At runtime, the platform: 

  1. Identifies the AI Function to execute. 
  2. Selects the applicable implementation. 
  3. Resolves the configured AI Service Provider. 
  4. Collects the required input data. 
  5. Sends the request to the selected provider. 
  6. Receives and processes the response. 
  7. Returns the result to the calling UI action, workflow, or automation. 

An AI Function can return: 

  • Informational text 
  • Formatted HTML 
  • A suggested value
  • Multiple structured output values
  • A reference to a generated object 

Depending on the scenario, the result can be shown to the user for review or processed automatically by a workflow.

Pre/Post execution mechanism

Starting with version 26.2, you can add custom logic to prompt-based AI Functions. Execution hooks let you modify the inputs to a provider request, build the request body yourself, or process the provider’s raw response.

To add a hook, implement Matrix42.AI.Contracts.AIFunction.IAiFunctionPromptExecutionHook in a custom configuration project. The AI Function resolves registered hooks through the dependency resolver and runs them in the order they’re resolved. If a hook throws an exception, the error is logged and execution continues with the next applicable hook or the provider’s default behavior.

Execution hooks

Method When it runs What it does
PreExecution Once on every registered hook, before the request body is built and before execution history is checked. Modify the model, system prompt, user prompt, or additional request properties used to build the provider request.
BuildProviderRequest After PreExecution. Return the complete serialized request body. The first non-null result stops the hook chain. If that result is empty, or if all hooks return null, the AI Service Provider builds the body. The final body is used both for the execution history lookup and, when a provider call is needed, as the body sent to the provider.
ProcessProviderResponse When a raw response is received from the provider or retrieved from execution history. Return a ProviderResponse containing the processed content and token usage. The first non-null result stops the hook chain. Return null to pass the response to the next hook. If no hook handles it, the AI Service Provider processes it.

Use ProcessProviderResponse to customize response handling. There is no separate PostExecution hook.

 

Register and deploy a hook

  1. Create a custom configuration project or open an existing one.
  2. Implement Matrix42.AI.Contracts.AIFunction.IAiFunctionPromptExecutionHook and register your implementation through Matrix42.AI.BizLogic.Properties.DependencyRegistrator.
  3. Build the project and create a custom configuration package.
  4. Install the package as an extension.
  5. Add the custom assembly as a module in the host configuration for the AI Functions you want to customize:
AI Functions Host configuration file
Translation and Enhance Matrix42.TextHelper.Services.dll.host.config
All other AI Functions Matrix42.AI.Services.dll.host.config
  1. Run the AI Function and verify that the hook produces the expected result.

Security and Governance

AI Functions use the existing Matrix42 security and object-access model. 

Access can be controlled through: 

  • Roles
  • Permissions
  • Audience
  • UI Action security
  • Object-level access

Administrators should ensure that only authorized users can: 

  • Configure AI Service Providers. 
  • View or change credentials. 
  • Create or edit AI Functions. 
  • Access execution details. 
  • Execute functions against sensitive data. 
  • Enable automated AI processing. 

The data sent to an AI provider depends on the configured prompt, input parameters, and object context. 

Administrators must therefore review each implementation to ensure that: 

  • Only the required data is sent. 
  • Personal or confidential information is handled appropriately. 
  • The selected provider meets organizational and regulatory requirements. 
  • Data retention and processing conditions are understood. 
  • The configuration complies with internal security policies.

Execution Transparency

Each AI Function execution creates an execution record. 

Depending on the provider and implementation, the execution information can include: 

  • AI Function
  • Implementation
  • AI Service Provider
  • Execution time
  • Execution status
  • Input parameters
  • Prompt or request
  • Response
  • Output parameters
  • Error information
  • Related business object
  • Initiating user or process

This information supports: 

  • Troubleshooting 
  • Prompt optimization
  • Auditing 
  • Usage analysis
  • Provider validation
  • Identification of failed executions 

Access to execution details should be restricted because prompts and responses may contain business or personal data

Troubleshooting

AI Function executions can be reviewed from the corresponding AI Function Executions area. 

When an AI Function does not return the expected result, verify the following. 

The AI action is not visible 

Check: 

  • Whether the AI Function and UI Action are active. 
  • Whether the current object type is supported. 
  • Whether the user has the required role and permissions. 
  • Whether the UI Action conditions are fulfilled. 
  • Whether the required extension is installed. 
  • Whether a supported AI Service Provider is configured. 

The action is visible but cannot be executed 

Check: 

  • Whether the provider is active.
  •  Whether credentials are valid. 
  • Whether the configured model or deployment exists.
  •  Whether all mandatory inputs are available. 
  • Whether the customer has sufficient Action Credits. 
  • Whether the provider endpoint is reachable. 

The execution fails 

Open the corresponding AI Function execution and review: 

  • Execution status
  • Provider response
  • Authentication error
  • Endpoint error
  • Rate limit
  • Timeout
  • Invalid model configuration
  • Invalid prompt
  • Missing data binding
  • Invalid structured response
  • Matrix42 Dispatcher Service not running

For external providers, also review the provider’s own monitoring and consumption portal. 

The result is incomplete or inaccurate 

Review: 

  • Prompt wording 
  • Data included in the prompt
  • Input object quality
  • Selected model
  • Output format
  • Available knowledge or context
  • Temperature or provider-specific parameters, where supported 

AI output depends on the supplied context and the selected model. Administrators should test functions with representative customer data before making them broadly available. 

Structured output is not populated 

Check: 

  • Whether output parameters are defined in the AI Function. 
  • Whether the implementation returns the expected output structure from the Prompt.
  • Whether parameter names and types match. 
  • Whether the calling UI Action or workflow maps the returned parameters correctly.