Loading
Ongoing maintenance for Salesforce HelpRead More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Experience Builder | Draft Text for Experience Builder Site (Beta)

Experience Builder | Draft Text for Experience Builder Site (Beta)

Creates or revises text in the Text Block component on enhanced Lightning Web Runtime (LWR) sites in Experience Builder.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions with Foundations, or Agentforce 1 or Einstein 1 Editions
User Permissions Needed
To access Experience Builder:
  • Create and Set Up Experiences AND View Setup and Configuration AND be a member of the site
  • OR
  • View Setup and Configuration AND be a member of the site AND have appropriate role-based site access
To execute actions in Experience Builder Agent: A permission set or profile that includes access to the Experience Builder Agent
See Common User Access for Standard Agent Actions.

Action Details

API Name ExpBuilderDraftOrRefineText
Does this action execute one or more prompt templates? Yes
Required Setup Set Up Agentforce for Experience Builder
Example
Example
Note
Note

Experience Builder Agent is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer's sole discretion.

Draft Text for Experience Builder Site and Prompt Templates

This action calls an internal invocable action, which uses internal-only prompt templates to create and revise text for enhanced LWR sites in Experience Builder.

Guidelines and Considerations

  • This action can draft or revise text in a Text Block component that’s already on the canvas, but it can’t add or remove a component from the canvas.
  • You can ask the agent to revise the text in a different tone, or based on a different main message.
  • This action can only generate text. It can’t format or style the text, such as make it boldface or change its color.
 
Loading
Salesforce Help | Article