In workflows, some steps require decisions based on multiple inputs or exceptions. Managing these decisions using only fixed conditions can lead to complex and hard-to-maintain workflows.
AI Agents help address this by evaluating data at runtime and determining how the workflow should proceed, reducing complex branching while keeping workflow behavior consistent.
When you select the Configure New Agent option, the following configuration fields become available. These fields are used to define how the agent evaluates data and returns a decision during workflow execution.
| Field | Description |
|---|---|
| Agent Name | Enter a unique name to identify the agent. |
| Description | Briefly describe the purpose of the agent. |
| Integration Type | Select AI Integration or External Integration based on how the agent evaluates data. |
| Model | Select the AI model to be used for evaluation. |
| Submodel | Optional. Leave unchanged unless instructed by your administrator. |
| Temperature | Controls how consistent or varied the agent’s responses are. |
| Top P | Controls the probability range used for generating responses. |
If External Integration is selected, the agent evaluates data by invoking an external API instead of using an AI model.
| Field | Description |
|---|---|
| End Point URL | Enter the API endpoint that processes the request. |
| Method Type | Select GET or POST based on the API requirement. |
| Custom Headers | Add required headers such as authorization tokens or content type. |
| Parameters | Define key value pairs passed to the external service. |
| User Prompt | Define the request payload sent to the external system. You can include dynamic application values. |
| Response Format (JSON) | Define the expected JSON response structure returned by the service. |
| Decision Prompt | Specify how the response should be evaluated to determine the next workflow step. |
| Field | Description |
|---|---|
| System Prompt | Defines the role and responsibility of the agent. |
| User Prompt | Defines the default instruction given to the agent. |
| Response Format (JSON) | Specifies the expected response structure. |
| Decision Prompt | Defines how the agent evaluates input data and makes decisions. |
Click Save to create and attach the agent to the workflow.