---
schema_version: "1"
id: 93e3363ec518aa73b5e2d09af7dec2c9f891b6a29b924dbdaa3b7bd57f3ce3dd
title: Service | Close Case
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/copilot_actions_ref_close_case_asa.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_close_case_asa.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ac9469ea13e81d6322136ea18d3820ce7870e7e7fcd32210eec36fdedf65ca97
description: This action lets customers retrieve case information and close cases.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Service | Close Case

This action lets customers retrieve case information and close cases.

### 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 Foundations, or <strong>Agentforce 1</strong> or <strong>Einstein 1</strong> Editions</td></tr></tbody></table>

<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>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:center;vertical-align:top;" id="d26434e77">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d26434e80">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d26434e77 d26434e80 ">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">Common 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;">CloseCase</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</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;">Flow</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Inputs</td><td class="slds-cell-wrap" style="vertical-align:top;">Case Rcord, Case Status, Case Reason</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Outputs</td><td class="slds-cell-wrap" style="vertical-align:top;">Success Message, Error Message</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></tbody></table>

## Guidelines and Considerations

- Picklist values must be passed as text.
- Agentforce doesn’t automatically adjust picklist values based on record types or user profiles. To manage this, you can use subagent instructions to guide the process or add custom validations within workflows.
- You can add fields into the Agentforce close case functionality in these ways:
    - Update the quick-action layout to include the new fields.
    - Clone the workflow and modify it to accommodate the new fields.
    - Update the subagent instructions to support the new fields.
- If multiple cases have the same case reasons and status, the agent can close a maximum of five cases at one time.
- You can create multiple close case actions for different record types.