---
schema_version: "1"
id: 4faaf6802d0068afdd8376dfcf06f022eb9a5f74cc6c14908c9fff7cd0cd18ed
title: Revise a Prompt Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/prompt_builder_revise_template.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_revise_template.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 016dee47513cbca37774ec7c14a4fccd2999c6a6cd7aec21ff48be3368b7ca43
description: Perfecting a prompt template is an iterative process. You revise the prompt template, regenerate a resolved prompt and response, and then make further revisions based on that updated response. Every time you run a prompt template in Prompt Builder, you create a unique call to the LLM. That means that resolving the same prompt can produce different responses. Remember to review every response for accuracy, even if you’ve run the template before.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Revise a Prompt Template

Perfecting a prompt template is an iterative process. You revise the prompt template, regenerate a resolved prompt and response, and then make further revisions based on that updated response. Every time you run a prompt template in Prompt Builder, you create a unique call to the LLM. That means that resolving the same prompt can produce different responses. Remember to review every response for accuracy, even if you’ve run the template before.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations</td></tr></tbody></table>

To revise a prompt template, edit your prompt template text directly in the Prompt Template Workspace. Then regenerate the response by clicking **Save & Preview**.

When you edit a prompt template, we recommend that you:

- Experiment with different selected records to ensure that the LLM produces consistent responses.
- Save your template early and often. You can also create a copy of your prompt template by clicking **Save As**.
- Study the language of the templates in the [Example Prompt Template Library](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_example_library.htm&release=264.0.0&type=5 "This library of example prompt templates gives you a starting point for creating your own custom prompt templates."), especially the text related to writing style. You can use similar phrasing in your own templates.

For more information about creating effective prompt templates, see [Best Practices for Building Prompt Templates](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_best_practices.htm&release=264.0.0&type=5 "Learn the best practices for building effective prompt templates.").