AI Agents in Genio automate processing and decision-making based on structured data. They extract relevant information, generate insights, and store results in mapped fields within the system.
AI Agents can be created in the Genio interface:
Each AI Agent consists of the following components:
Defines how the AI response is processed and stored.
Field | Description |
---|---|
Destination Field | The field where the AI response will be stored. |
Mapping ID | The property name in the AI request schema. Each mapped field becomes an entry in the AI request. |
Mapping Type | Specifies whether the mapping is a Formula or AI Input Mapping. |
Expression | If Formula, contains the Genio formula to compute the value. If AI Input Mapping, it can be left blank. |
Genio expressions allow dynamic values to be injected into the User Prompt using {{ }}
syntax. Supported expressions:
{{ [TICKET->TITLE] }}
TITLE
field from the TICKET
table.{{ GetCurrentYear() }}
{{ iif([TICKET->PRIORITY] = 'High', 'Urgent', 'Normal') }}
TICKET->PRIORITY
is "High", otherwise returns "Normal"This agent reviews tickets and suggests improvements before submission.
Field | Value |
---|---|
Id | TicketValidator |
System Prompt | Review the provided ticket and identify if any changes are necessary. Organize them clearly and mark correct sections with ✅. |
User Prompt | Ticket Information: - Category: {{ [TICKET->CATEGORY] }} - Program: {{ [TICKET->PROGRAM] }} - Priority: {{ [TICKET->PRIORITY] }} - Title: {{ [TICKET->TITLE] }} - Description: {{ [TICKET->DESCRIPTION] }} |
Base Area | TICKET (Support Tickets Table) |
Mappings | 1. AIReview → AI Input Mapping → ReviewComments 2. CheckedByAI → AI Input Mapping → Verified |
CATEGORY | PROGRAM | PRIORITY | TITLE | DESCRIPTION |
---|---|---|---|---|
Incident | CRM System | High | Login Failure | User cannot log in after update. |
Ticket Information:
- Category: Incident
- Program: CRM System
- Priority: High
- Title: Login Failure
- Description: User cannot log in after update.
ReviewComments | Verified |
---|---|
Title could be more specific. Describe what happens when trying to log in. | 1 |
This component allows users to trigger an agent directly from a form, with two execution modes:
Persist Mode:
Client-Side Mode:
To use it, add the Button to AI Agent to a form and configure the agent to be called.
Alternatively, agents can be called via Triggers:
This allow more flexibility in the way that the agents are called
To use the AI agent on an application, the AI Service must be configured in WebAdmin. This can be done in:
WebAdmin > System Configuration > AI and External Services: