---
schema_version: "1"
id: 36efe4037730f3dd825e83159a11945c2155b49cee6d04ea3cd979cfa8827d2e
title: Retail Execution Visit Assistant | Get Retail Execution Account Performance Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_get_retail_execution_acc_perf_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_get_retail_execution_acc_perf_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fbc2be7bba3a5f621cb7f91c64642fa78494053004bb6b6afb2b3153d8185c98
description: Calculates total revenue, minimum and maximum order values, and identifies top N% and bottom N% selling products based on order quantities. The action calculates product metrics data from preorders, deliveries, and invoices that are ready or released, optionally within a date criteria.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Retail Execution Visit Assistant | Get Retail Execution Account Performance Data

Calculates total revenue, minimum and maximum order values, and identifies top N% and bottom N% selling products based on order quantities. The action calculates product metrics data from preorders, deliveries, and invoices that are ready or released, optionally within a date criteria.

### 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 with the Agentforce for Consumer Goods add-on or included in Agentforce 1 Consumer Goods Edition. Requires each user to have the Agentforce for Consumer Goods add-on to access the action.</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="d212154e70">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d212154e70 ">To use Retail Execution</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d212154e70 ">Assign one of the Retail Execution user permissions. See <a href="https://help.salesforce.com/s/articleView?id=ind.cg_permsets_re_from_summer24.htm&amp;type=5&amp;language=en_US" target="_blank">Permission Sets From Summer ’24</a></td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d212154e70 ">To use Retail Execution Agentforce action</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d212154e70 ">Access CGCloud AI Assistive Agent</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d212154e70 ">For additional permissions, see <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">User Access for Standard Agent Actions</a>.</td>

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

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">GetReAccountPerformanceData</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Standard Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td class="slds-cell-wrap" style="vertical-align:top;">Get Retail Execution Account Performance Data</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Invocable Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=ind.retail_org_preference_agentforce.htm&amp;language=en_US" target="_blank">Agentforce Setup in Retail Execution</a></td></tr></tbody></table>

#### See Also

- [Agent Topic: Account Performance](https://help.salesforce.com/s/articleView?id=ai.retail_agentforce_acc_per_topic.htm&language=en_US)