---
schema_version: "1"
id: 8ae7af9506f642f94f0f678b4f2ccfdb5cde1c8ee905bdbd80e1f6049b4ac4d8
title: Create Contact Center Queues in Bulk
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/voice_bulk_add_queues.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.voice_bulk_add_queues.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a48f0d80f49bb0923ea0090a3c37dc2b174a966c43d42b7a99a23e87bb42f0ba
description: Use the Salesforce Bulk API 2.0 to create contact center queues in bulk. This method streamlines the process of managing large numbers of queues for your contact center.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Create Contact Center Queues in Bulk

Use the Salesforce Bulk API 2.0 to create contact center queues in bulk. This method streamlines the process of managing large numbers of queues for your contact center.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=service.voice_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the user interfaces, editions, and add-ons that support Voice solutions by Salesforce.">View supported editions</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="d19000e60">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d19000e60 ">To create and manage a contact center:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d19000e60 ">Salesforce Voice Contact Center Admin</td>

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

Applies to these telephony models

- Salesforce Voice with Amazon Connect.
- Salesforce Voice with Partner Telephony from Amazon Connect. Also applies to Voice manually integrated with your Amazon Connect instance by importing the contact center definition XML file.

Before you begin, make sure that the Update Amazon Connect Queues and Routing Profiles option is enabled in your Contact Center settings.

1. Create a CSV file with the required fields, and add the queue records.
    
    Argument1: Add the queue ID
    
    Argument2: Add the basic hours of operation ID ARN from AWS.
    
    Argument3: (optional) Add the queue ID ARN from AWS to associate an AWS queue with a Salesforce queue.
    
    Argument5: Add the contact center ID.
    
    BulkAction: The value for this field must be `AddQueues`.
    
    An example CSV file is available in [GitHub](https://github.com/service-cloud-voice/examples-from-doc/tree/main/BulkOperations/bulk_add_queues.csv).
2. Follow the instructions in the [Bulk API 2.0 Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/bulk_api_2_0.htm) to use the bulk API to create a job, upload job data, and complete the upload. Use your preferred method to trigger the `ContactCenterBulkOp` entity and upload the CSV file.
    
    You can add or update only the Argument1, Argument2, Argument3, Argument5, and BulkAction fields. The remaining fields are read-only.
3. Query the `Status` field to check the status of the bulk action.
4. Refresh the org and AWS account to confirm that the queues are added to the contact center.

If an error occurs in the CSV file for one or more queues, the operation fails only for those queues. You can query the `ErrorMessage` field of `ContactCenterBulkOp` entity to view the specific error message.

The limit for adding queues using the Bulk API is 5000 per API request.

#### See Also

- [_Salesforce Developer Guide_: Bulk API 2.0](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/bulk_api_2_0.htm)