---
schema_version: "1"
id: cc0257a532da25a0de71cb76823f1cff003bd63a6fdd4eda68f729f8802f56c6
title: Swarming | Check Swarming Preconditions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_swarming_check_swarming_preconditions.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_swarming_check_swarming_preconditions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: df7bc9c77d6b91460671b2e16cb007289193307e3e5271635c15fd04b4ad8807
description: Checks that the preconditions are met before creating a swarm.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Swarming | Check Swarming Preconditions

Checks that the preconditions are met before creating a swarm.

### 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>,&nbsp;<strong>Performance</strong>, and&nbsp;<strong>Unlimited</strong>&nbsp;Editions with the Einstein for Service add-on</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col>
        <col>
      </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="d218730e82">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d218730e82 ">To execute actions in Agentforce (Default):</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d218730e82 ">Use Agentforce Default Agent</td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d218730e82 ">To use prompt templates:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d218730e82 ">Prompt Template User</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;">CheckSwarmPreconditions</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;">Standard Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Inputs</td><td class="slds-cell-wrap" style="vertical-align:top;">recordId</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Outputs</td><td class="slds-cell-wrap" style="vertical-align:top;">collaborationTool, contextUserId, slackAppId, outputMessage</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>