Bulk Import/Export of Agent Data

To create or modify large numbers of agents, you upload a comma-separated value (CSV) file containing new and changed agent information. You enter or modify values in the appropriate columns for the agent. When uploaded to GAX, the agents listed in the file are created or modified, based on the action to be taken as indicated in the Action column.

GAX enables you to create spreadsheet templates for this purpose. You can create an empty template containing only column headers, or you can export data from existing agent records. The exported spreadsheet can be modified and then imported into GAX again for creation or update of agent records.

Conseil
You might want to create various templates that fit scenarios specific to your operations.

Creating an Empty Template

An empty template contains all of the mandatory columns plus column headers that you specify. It does not include any data—that is for you to fill in.

[+] Show steps

Exporting Data

GAX allows you to export data from existing data records. If you are modifying the spreadsheet to use as a template, save it as a CSV after making the appropriate changes, and upload it into GAX.

[+] Show steps

Uploading a File

Before uploading the bulk updates, you must enter the data into a spreadsheet and save it as a CSV file. Do this in one of two ways:

  • Create an empty template and fill in the appropriate values—This is probably the best way if the majority of your updates are adding new agents.
  • Export existing data and make the necessary additions and changes—This is probably the best way if you are primarily making changes to existing agents. You can export the information for just those agents, saving you from filling in the mandatory information for them.

See the example of a prepared spreadsheet and CSV file here.

Now go ahead and upload the data into GAX.

[+] Show steps

Script Actions

For new users:

  1. Create a new Person with specified properties in the specified Folder.
  2. Associate the new Person with the specified Access Groups.
  3. Associated the new Person with the specified Agent Groups.
  4. For Agents, add the specified Skills.
  5. For Agents, do the following:
    • If the Extension field is not specified, create and associate Agent Logins on all specified Switches with the Login Code equal to the Username of the Agent. Agent Logins are created in the Switch Agent Logins folder of the same folder hierarchy specified for the Person object in the Folder property.
    • If the Extension field is specified, a new Place is created with the name equal to the Username of the Agent. Extension DNs are created with the number corresponding to the Extension field on all specified Switches. Agent Logins are created and associated with all specified Switches that have a Login Code equal to the value of the Extension field. All objects are created under their corresponding root folders using the same folder hierarchy as specified for the Person object in the Folder property.

For existing users:

  1. Username and Is Agent fields must be populated in the input file identify the Person.
  2. All other fields are optional.
  3. If an optional field is defined, its value is compared to the existing value and, if different, updated for that Person.
Comments or questions about this documentation? Contact us for support!