Apex Actions for AI Agents
The following Apex actions are available for use with AI agents.
| Apex Action | Apex Class | Purpose |
|---|---|---|
| Create Plan for Assignment Reallocation | pse_AssignmentReallocationPlanAction | Creates a plan to reallocate assignments from a user's request. |
| Execute Plan | pse_PlanExecutionAction | Executes a smart action plan. This works in conjunction with any action that creates a plan. |
Inputs and Outputs for the Create Plan for Assignment Reallocation Apex Action
The Create Plan for Assignment Reallocation Apex action includes the following inputs and outputs.
Inputs
The Create Plan for Assignment Reallocation Apex action has the following inputs for each plan passed to it.
| Input | Required or Optional | Description |
|---|---|---|
| Utterance | Required | The natural language request provided by the user that the plan is created from. |
Outputs
The Create Plan for Assignment Reallocation Apex action has the following outputs for each plan passed to it.
| Output | Description |
|---|---|
| Smart Action Plan Summary | The summary of the smart action plan. |
| Smart Action Plan ID | The ID of the smart action plan record that relates to the request. |
Inputs and Outputs for the Execute Plan Apex Action
The Execute Plan Apex action includes the following inputs and outputs.
Inputs
The Execute Plan Apex action has the following inputs for each plan passed to it.
| Input | Required or Optional | Description |
|---|---|---|
| Additional Required Input | Optional | Natural language input to provide any additional information that is required to continue with the plan execution. |
| Plan ID or Name | Required | The ID or name of the plan to execute. |
Outputs
The Create Plan for Assignment Reallocation Apex action has the following outputs for each plan passed to it.
| Output | Description |
|---|---|
| Execution Summary | The summary of the plan execution. |
| Result Data | A JSON string that represents output data from the execution. |
SECTIONS