Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
Get or Execute Field Update Suggestion Action

Get or Execute Field Update Suggestion Action

Enqueue requests to get a field update suggestion from a field generation prompt template, or update a field based on a generated suggestion if the agent is configured to make updates autonomously. This action is used in the Process Field Update Suggestions flow as part of Agentforce Pipeline Management.

Required Editions

Available in: Lightning Experience
View supported editions.

In Flow Builder, add an Action element to your flow. In the New Action window, search for Field Update Suggestion, and then select Get or Execute Field Update Suggestion.

Set Input Values

Use values from earlier in the flow to set the inputs for the action.

field description
Agent User ID Required. The ID of the agent user calling this invocable action.
Field API Names

Required. The API names of the fields to update.

When the Update Fields Autonomously setting is turned on, only fields specified in this parameter are updated.

When the Update Fields Autonomously setting is turned off, specify the field in both this parameter and the fieldApiNameForCustomAutonomousUpdates parameter for it to be updated automatically.

Field AI Names for Custom Autonomous Updates

Optional. The API names of the fields to update when the Update Fields Autonomously setting is turned off.

Use this parameter if you want more granular control over automatic updates to fields.

Specify the field in both this parameter and the fieldApiNames parameter for it to be updated automatically. You can specify up to 5 fields.

Prompt Template API Names The API names of the field generation prompt templates to use for the field update. You can specify up to 5 prompt templates.
Record ID Required. The record IDs to retrieve data for.

Store Output Values

field description
Current LLM Usage The number of Large Language Model (LLM) calls used by this instance of the invocable action.
Daily LLM Limit The number of LLM calls that can be made by the invocable action within a 24-hour period.
Enqueued Status A string indicating whether the invocable action request was successfully enqueued for processing.

Usage

The Get or Execute Field Update Suggestion action is a part of the Process Field Update Suggestions flow. It’s primarily used with Agentforce Pipeline Management.

Limitations

This action is limited to usage within a flow. It can’t be invoked through other methods such as Apex, REST API, Agentforce, Prompt Studio, or Einstein Bots. While actions can typically be invoked through frameworks such as InvocableActionService, this specific action is restricted to flows.

 
Loading
Salesforce Help | Article