You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

The AI Agent Tool lets you integrate AI automation directly into a process by executing a predefined AI Agent during a process activity. This enables automated decision-making, content generation, or data processing based on the logic defined in the AI Agent, all as part of your Joget workflow.

Get started

To begin:

  1. Ensure you have already created an AI Agent in the AI Agent Builder.
  2. Design or modify a process in Process Builder.
  3. Add this tool to the appropriate process activity.
  4. Configure the tool to call your AI Agent.

Configure AI Agent properties

To set up the AI Agent Tool, configure the following property:

NameDescription
AI AgentSelect an existing AI Agent to be executed during the process. This dropdown lists agents you’ve already created via the AI Agent Builder. This agent will be triggered automatically when the associated activity is reached in the workflow.

How it Works

When the process reaches the activity that includes this tool:

  1. The selected AI Agent is executed via AgentBuilder.runAgent(...).
  2. The WorkflowAssignment context is passed to the agent, so it can interact with form data, process variables, or perform actions.
  3. Any logic defined in the agent (e.g., prompts, tools, enhancers) will be processed as usual.

Example Use Cases

  • Auto-respond to support tickets: Use an AI agent to generate a reply when a support ticket reaches a review stage.
  • Process evaluation: Have an AI agent analyze inputs (e.g., application forms) and return decisions or summaries.
  • Data enrichment: Use an agent to fetch or derive additional data from a JSON API or external source during processing.
  • No labels