---
schema_version: "1"
id: 63258bbef61c4aeb36afad5be599ab87a076bc80256857fcffaafeeda4f43259
title: Create Or Update Contact Center Users 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_users.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.voice_bulk_add_users.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 19f2cb2192001adbbca8c1bc2cccd8da1b9036a5ec370747ebf831226d6c8cdf
description: Use Salesforce Bulk APIs to add contact center users in bulk. You can use this bulk operation if you want to add or update more than 100 users at a time.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Create Or Update Contact Center Users in Bulk

Use Salesforce Bulk APIs to add contact center users in bulk. You can use this bulk operation if you want to add or update more than 100 users at a time.

### Required Editions

This article applies to:

- 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)
- Salesforce Voice with Partner Telephony

<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>

1. Create a CSV file with the required fields, and add the user records.
    1. If you use the Salesforce Voice with Amazon Connect or Salesforce Voice with Partner Telephony from Amazon Connect license, then create a CSV file with the fields:
        
        Argument1: Add the email ID of the user.
        
        Argument2: Add the user ID in this field. The user ID must be 18 characters, and use your preferred method to fetch it from the Id column of the User table.
        
        Argument3: Add the profile of the user. This is a case-sensitive field, and the only possible values are Admin, Agent, and CallCenterManager.
        
        Argument4: Add the routing profile ARN corresponding to the Salesforce contact center group in your Amazon Connect account.
        
        Argument5: Add the contact center ID.
        
        BulkAction: The value for this field must be `AddUsers`.
        
        An example CSV file is available in [Github](https://github.com/service-cloud-voice/examples-from-doc/blob/main/BulkOperations/amazon_connect_add_users.csv).
    2. If you use the Salesforce Voice with Partner Telephony license, then create a CSV file with the fields:
        
        Argument1: Add the email ID of the user.
        
        Argument2: Add the user ID in this field. The user ID must be 18 characters, and use your preferred method to fetch it from the Id column of the User table.
        
        Argument5: Add the contact center ID.
        
        BulkAction: The value for this field must be `AddUsers`.
        
        In this case, the Partner Telephony Permission Set is also automatically assigned to the user.
        
        An example CSV file is available in [Github](https://github.com/service-cloud-voice/examples-from-doc/blob/main/BulkOperations/partner_telephony_add_users.csv).
2. Follow the instructions in the [Bulk API guide](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/bulk_api_2_0.htm) for using 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.
    
    The fields of the ContactCenterBulkOp entity are:
    
    Argument1: Mandatory field. This field represents the email ID of the user.
    
    Argument2 : This field represents the user ID.
    
    Argument3 : This field represents the profile of the user.
    
    Argument4 : This field represents the routing profile ARN corresponding to the Salesforce contact center group in your Amazon Connect account.
    
    Argument5 : This field represents the contact center ID.
    
    ErrorMessage : If an error occurs, this field indicates the error message. Otherwise, this field is blank.
    
    Status : Indicates the status of the bulk action.
    
    BulkAction: Mandatory field. Allowed value is `AddUsers`.
    
    VoiceProvisioningJobID: This field represents the job ID.
    
    You can add or update only the Argument1, Argument2, Argument3, Argument4, Argument5, and BulkAction fields. The remaining fields are read-only.
3. Query the Status field to check the status of the bulk action. Refresh the Salesforce org and Amazon account to verify the new users added in the contact center.

When using Salesforce Bulk APIs to add or update contact center users in bulk, it's best to keep the maximum number of users per request at 5,000.

If an error occurs in the CSV file for one or more users, then the operation fails only for those users, and you can query the ErrorMessage field to see the error message.

You can also use the ContactCenterBulkOp entity to update the field values of a contact center user.

#### 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)