---
schema_version: "1"
id: 02579f9b8c6655bd058ba606011f369cb0c99569b164450ef4dc4716b412dc96
title: Add Prompt Template Test Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_studio_testing_center_prompt_templates_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_studio_testing_center_prompt_templates_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4b7809da0d9e0c97344978206981ce6de669d88c055d07fc2c872d4d1408b7ca
description: Provide the test inputs your prompt template is evaluated against. Download a CSV template preconfigured for your prompt template's input variables, fill in your test cases, and upload it to run your evaluations.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Add Prompt Template Test Data

Provide the test inputs your prompt template is evaluated against. Download a CSV template preconfigured for your prompt template's input variables, fill in your test cases, and upload it to run your evaluations.

### 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>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions. <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;release=264.0.0&amp;type=5" title="Learn about agent types and default templates for specific clouds and common use cases.">Required add-on licenses vary by agent type.</a></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d33363e78">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d33363e78 ">To create tests in the Testing Center:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d33363e78 ">
              <p>Manage Agentforce Grids</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Manage Agentforce Testing</p>
            </td>

          </tr>
        </tbody>
      </table>

The CSV columns are derived from your prompt template's input variables, not a fixed schema. Each column maps to one of the template's inputs, so the data you provide reflects how your template is used in production.

1. ![The data tab in the setup wizard.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/testing_center/testing_center_add_data.png)
    
    For **Data**, click **CSV Template** to download a CSV file with columns preconfigured for your selected prompt template's input variables.
2. Fill in the CSV. Each row is one test case.
    
    ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_important.png)
    
    Important Test data must reference records that exist in your org. If an input variable expects a record ID — such as an account ID or case ID — that record must exist. If the record isn't found, the test fails for that row. Batch testing doesn't generate org records.
    
    ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_important.png)
    
    Important If you plan to use the **Response Match** scorer, include an **Expected Response** column in your CSV now. After you upload the file, you can't add this column without uploading the file again.
3. Click **Upload File**, or drag and drop your CSV onto the upload area.
4. Click **Next**.

#### See Also

- [Use Test Results](https://help.salesforce.com/s/articleView?id=ai.agent_testing_center_use_test_results.htm&release=264.0.0&type=5 "After a test run completes, review evaluation scores to identify where your agent or prompt template is falling short. Understand what each scorer measures, how scores are calculated, and what to do when results are low .")
- [_Salesforce Help_: Prompt Builder](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_intro.htm&type=5&language=en_US)