Creating or editing multiple users from a CSV file

Creating or editing multiple users from a CSV file

Overview

You can import a CSV file to create or edit multiple users in your account at the same time. Each row in the file represents a new or existing user.

  • If the username already exists in Vonage Contact Center (VCC), importing the file updates the existing user.

  • If the username does not exist in VCC, importing the file creates a new user.

You perform this task in User Admin in the VCC Portal. For more information, see Accessing and finding your way around User Admin.

Prerequisites

Prerequisite

Description

Prerequisite

Description

VCC Portal access

You must be able to log in to the VCC Portal.

Permissions to edit a user

To edit existing users from a CSV file, you need the Edit User and Manage Routing Settings permissions enabled in User Admin.

For more information, see Configuring individual users.

Permissions to create and edit a user

To create new users from a CSV file, you need the Create User and Edit User permissions enabled in User Admin.

For more information, see Configuring individual users.

Limitations

Limitation

Description

Limitation

Description

Single account scope

You can only create or edit users in the account you are currently logged in to.

Active or archived users

If you filter users by active or archived when importing, your CSV file must contain only active or archived users respectively.

No group or skill creation

CSV import only assigns users to groups and skills that already exist in the portal. It does not create new groups or skills. Ensure all referenced groups and skills are configured before importing.

For more information, see Configuring skills and Configuring groups.

Leading zeros

Some file editors remove leading zeros from number values (for example, Phone Number or ID). Change the cell or column format to Text to prevent this.

User Last Login column

The User Last Login column is included in exported files but is ignored during import.

Configuration steps

Step 1: Create your CSV file

You can either download a blank template or export your existing users and edit the file.

Download a template

Use a template if you are mostly creating new users.

  1. Log in to the VCC Portal.

  2. Navigate to User Admin > Users.

  3. Click the three-dot menu and select Download Template.

  4. Your browser downloads users-template.csv to your default downloads location.

  5. Open the file and add rows representing new users.

Export existing users

Use an export if you are mostly updating existing users.

  1. Log in to the VCC Portal.

  2. Navigate to User Admin > Users.

  3. Click the three-dot menu and select Export.

  4. Your browser downloads a CSV file to your default downloads location. The file name includes your account name, the date and time of download, and is appended with _users (for example, TechAuthor_7_20_2017_09_29_58_163_users.csv).

  5. Open the file and edit existing rows or add new rows.

Filtering users on export

If you are filtering users by active or archived users when you export, the exported CSV file contains only active or archived users respectively. For more information, see Filtering active and archived users in Accessing and finding your way around User Admin.

Step 2: Prepare your CSV file

Your import file must meet the following requirements:

  • It must be a valid CSV file.

  • It must contain all required values, and all values must be valid.

  • It must not contain the same ID or Username value in more than one row.

Column descriptions and validation

The following table describes all columns processed during import, their availability, whether they are required, and their validation rules.

Column

Description

Availability

Required?

Validation

Column

Description

Availability

Required?

Validation

Username

A unique username the user uses to log in to the VCC Portal or ContactPad.

  • You cannot include spaces.

  • You cannot edit this username after you save the user.

Default.

Required.

Alphanumeric characters, underscores (_), hyphens (-), @ symbols, or dots (.) only.

Name

The name of the user. Appears in ContactPad or Agent Workspace if the user is an agent.

Default.

Required.

Alphanumeric or ASCII punctuation and symbols only.

Email

The user's email address.

Default.

Conditional; Required for new users; optional when editing an existing user

Must be empty or a valid email address.

SSO External Id

Used for single sign-on.

Default.

Optional

No validation.

User Active

Determines whether the user is active.

Default.

Optional.

Must contain true or false.

License

The user's license type, which determines what tasks the user can perform.

Default.

Required.

Must contain Admin, Supervisor, Wallboard, or Agent.

Type

The user's type.

Default.

Optional.

Must be empty or contain Customer.

ID

A unique ID for the user if ContactPad or Agent Workspace access is enabled.

  • VCC automatically generates one if you do not provide a value.

  • You cannot edit the ID after you save the user.

Default.

Conditional; Required for Agent license.

Must be empty or a number (maximum 11 characters).

Physical Location

The country code for the ContactPad or Agent Workspace user's telephone number (for example, GB). Sets the international dialing prefix.

  • If you do not provide a value, VCC uses the default country code for the account.

Default.

Conditional: Required if ID is present.

Must be empty or a valid ISO 3166-1 alpha-2 country code.

Phone Number

The telephone number that rings when a call is assigned to the user. Enter the number in national format.

Default.

Conditional: Required for Agent license if ID is present.

Must be empty or a number.

Virtual Location

The virtual location the ContactPad or Agent Workspace user is operating from. Determines the format of telephone numbers in ContactPad or Agent Workspace.

  • If you do not provide a value, VCC uses the default location code for the account.

Default.

Conditional: Required if ID is present.

Must be empty or a valid ISO 3166-1 alpha-2 country code.

In Country Display

Determines whether phone numbers display in national or international format in ContactPad or Agent Workspace.

Default.

Optional.

Must be empty or contain National or International.

VBC Username

The user's Vonage Business Communications (VBC) username.

Requires your VCC account to be linked to a VBC account.

Optional.

For more information, see Configuring Vonage Contact Center and Vonage Business Communications integration.

Allow to act as agent

Determines whether the user can access and use ContactPad or Agent Workspace.

Default.

Optional.

Must be empty or contain true or false.

WebRTC

Determines whether the user uses WebRTC in ContactPad or Agent Workspace.

Requires WebRTC to be enabled for your account.

Optional.

Must be empty or contain true or false.

Enforced Disposition Codes

Determines whether the ContactPad or Agent Workspace user must provide a disposition code for an interaction.

For more information, see Configuring enforced disposition codes.

Requires enforced disposition codes to be enabled for your account.

Optional.

Must be empty or contain true or false.

Transcribe Calls

Determines whether VCC transcribes calls for this ContactPad or Agent Workspace user.

Requires call transcription to be enabled for your account.

Optional.

Must be empty or contain true or false.

Screen Recording

Determines whether this ContactPad or Agent Workspace user's screens are recorded during a call.

Requires screen recording to be enabled for your account.

Optional.

Must be empty or contain true or false.

Telephony Region

The telephony region for the ContactPad or Agent Workspace user. VCC uses this to determine the telephony server for outbound calls.

Default.

Optional.

N/A

Callback Numbers

The callback numbers available to the user. Enclose in double-quotes and separate multiple values with new lines.

Default,

Optional,

Must be empty or contain valid callback numbers for your account.

Skills

The skills assigned to this user. You can specify skills using their display ID or name (case-insensitive). Enclose multiple values in double-quotes and separate them with new lines. Names and IDs can be mixed within a cell.

For more information, see Configuring skills.

Default.

Optional.

If two skills share the same name, use the ID to avoid ambiguity.

Empty cells clear existing assignments

If the Skills column is present in your import file, an empty cell for a user clears all existing skill assignments for that user. If you do not want to change a user's assignments, either omit the column from the file entirely, or ensure the cell contains the current values. If the column is absent from the file, existing assignments are left untouched.

Groups

The Agent Groups this user belongs to. You can specify groups using their display ID or name (case-insensitive). Enclose multiple values in double-quotes and separate them with new lines. Names and IDs can be mixed within a cell.

For more information, see Configuring groups.

Default.

Optional.

If two groups share the same name, use the ID to avoid ambiguity.

Empty cells clear existing assignments

If the Groups column is present in your import file, an empty cell for a user clears all existing groups assignments for that user. If you do not want to change a user's assignments, either omit the column from the file entirely, or ensure the cell contains the current values. If the column is absent from the file, existing assignments are left untouched.

IsAgentLevel

Determines whether custom interaction capacities are set for the user.

Requires interaction capacity by agent to be enabled for your account.

Optional.

N/A

Live

The percentage of capacity a live interaction (such as a phone call) uses.

  • Default: 51.

Requires interaction capacity by agent to be enabled for your account.

Conditional: VCC ignores this value if IsAgentLevel is empty or false.

Must be a whole number between 51 and 100. VCC ignores this value if IsAgentLevel is empty or false.

Non-live

The percentage of capacity a non-live interaction (such as an email) uses.

  • Default: 25.

Requires interaction capacity by agent to be enabled for your account.

Conditiona: VCC ignores this value if IsAgentLevel is empty or false.

Must be a whole number between 1 and 100. VCC ignores this value if IsAgentLevel is empty or false.

Semi-live

The percentage of capacity a semi-live interaction (such as a chat) uses.

  • Default: 33.

Requires interaction capacity by agent to be enabled for your account.

Conditional: VCC ignores this value if IsAgentLevel is empty or false.

Must be a whole number between 1 and 100. VCC ignores this value if IsAgentLevel is empty or false.

Step 3: Import your CSV file

  1. Log in to the VCC Portal.

  2. Navigate to User Admin > Users.

  3. Click the three-dot menu and select Import.

  4. In the Upload tab, upload your file using the Drag & Drop or click to upload only one file field.

  5. After you upload the file, click Continue import.

Step 4: Check for errors

After uploading, the Check tab displays any messages about your file. Review and resolve all issues before proceeding.

Re-upload required after changes

If you had to make changes to your import file after reviewing errors, you must upload the file again before continuing.

Whole-file errors

These errors apply to the entire file and prevent you from continuing the import until resolved.

Error

Description

Error

Description

Username ‘value' appears more than once in the file, in rows ‘n’, 'n’.

Duplicate usernames are not allowed.

ID ‘value' appears more than once in the file, in rows ‘n’, 'n’.

Duplicate IDs are not allowed.

ID ‘value' - which appears in row 'n’ - already exists in VCC with a different username.

You cannot add a new user with the same ID as an existing user.

The following column or columns appear more than once in the input file: …

Your CSV file contains duplicate column headers. Remove the duplicate columns and upload the file again.

Redundant column messages

If your file contains columns that are not processed, VCC ignores them and displays the following message: These columns are redundant and will not be imported: 'columnName'. You can continue with the import.

Row-specific messages

These messages indicate missing or invalid values in specific rows. Each message is grouped by row number and indicates whether the row is a Create (new user) or Edit (existing user) action.

Account license messages

Message

Description

Message

Description

Account License Limit Exceeded

You have exceeded your agent user license limit, or this import will cause you to exceed it. You must authorize any additional charges before you can proceed.

Maximum Agent Limit Exceeded

You have exceeded your maximum agent user license limit. You cannot continue until you delete or deactivate the required number of agent users.

For more information, see Agent licenses.

Full error reference

For a full list of error messages that can appear during upload validation and import, see CSV user import error reference.

Step 5: Complete the import

  1. When no messages require action, click Continue Import.

  2. Monitor the progress in the Import tab.

  3. When the import is complete, review the results in the Summary tab:

    • Expand Failed to see the reason for any failures. VCC groups errors by action (Create or Update) and username.

    • Expand Passed to see the rows that were successfully imported.

Welcome email for new users

When you import a new user, VCC sends a welcome email to the email address provided. The user must follow the link in the email to set their password. The link is valid for two weeks. After two weeks, the user must reset their password.

Support and documentation feedback

For general assistance, please contact Customer Support.

For help using this documentation, please send an email to docs_feedback@vonage.com. We're happy to hear from you. Your contribution helps everyone at Vonage! Please include the name of the page in your email.