Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Marketing | Draft Content

          Marketing | Draft Content

          Creates or revises copy for any text-based property for campaigns and initiatives, including paragraph, heading, email subject line and preheader, and SMS message. Users can revise generated text by entering a different key message or target audience or by selecting a different tone.

          Required Editions

          Available in: Lightning Experience
          Available in: Salesforce Enterprise and Unlimited Editions with the Marketing Cloud Next Growth or Advanced Edition, or the Einstein for Sales, Einstein for Service, or Einstein Platform add-on.
          User Permissions Needed  
          See Common User Access for Standard Agent Actions.

          Action Details

          API Name DraftOrRefineTextForProperty
          Reference Action Type Standard Action
          Does this action execute one or more prompt templates? Yes

          Marketing Cloud: Draft Content and Prompt Templates

          This action calls an internal invocable action, which uses internal-only prompt templates to create and revise emails, SMS messages, and other text in the content builder.

          Considerations

          • The Draft Content action can draft or revise text in a component that’s already on the canvas, but it can’t add or remove a component from the canvas.
          • To generate or revise a subject line or preheader for an email, use the sparkle button Property panel sparkle button in the email’s property panel. To generate or revise a paragraph or heading, use the sparkle button Component toolbar sparkle button on the component toolbar.
          • When an AI agent creates a campaign, it uses the key message and target audience of the campaign’s associated brief to ground its text generation. You can then ask the agent to revise the text based on a different key message or target audience.
          • If a brand is selected for an email, the tone of the generated text matches the default tone in the brand—for example, professional, casual, or urgent. You can select a different tone to revise the text.
           
          Loading
          Salesforce Help | Article