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

View supported editions.
User Permissions Needed
To create and manage a contact center: Salesforce Voice Contact Center Admin

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.

  2. Follow the instructions in the Bulk API 2.0 Developer Guide 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.