ActionGenerateObjectiveKPIs
Generates AI-powered suggested Key Performance Indicators for the given objectives within a success plan and returns them as unsaved records. It does not create or save any Objective KPI records; the returned content must be reviewed and saved separately.
| Property | Value |
| Label | Generate Objective KPIs |
| Category | AI |
| Since | May 2026 |
| Read-only | Yes |
| Supports Agents | Yes |
| Supports Flows | Yes |
| Async Action | No |
| Keywords | — |
Request Parameters
| Field | Type | Label | Description | Required |
ObjectiveIds | List<Id> | Objective IDs | The IDs of the objectives for which to generate KPIs. | Yes |
SuccessPlanId | Id | Success Plan ID | The ID of the success plan that contains the objectives. | Yes |
Response Parameters
| Field | Type | Label | Description | Required |
IsSuccess | Boolean | IsSuccess | Indicates whether the KPI generation was successfully completed. | No |
GeneratedKPIs | List<Objective_KPI__c> | Generated KPIs | The list of generated, unsaved Objective KPI records. These are returned in memory and are not inserted. | No |
ErrorMessage | String | Error | Stores exception messages that occur when executing the KPI generation service. | No |
|