- DarkLight
Global Upload
- DarkLight
Global Upload is a feature that allows you to upload a single lead list into multiple campaigns simultaneously. This process uses predefined criteria for each Campaign to sort and assign leads accordingly. Key functionalities of global upload include:
You upload one lead list, and the system distributes leads to different campaigns based on set criteria.
You configure the global upload by providing file information and setting conditions that dictate how leads are assigned to campaigns.
It helps you to map the fields in your contact list (such as name, email, phone number) to the appropriate data types required by the system.
You can add conditions to refine which leads go to which campaigns. This involves creating condition sets, where conditions within a set are connected using AND logic (all conditions must be met), and different sets are connected using OR logic (leads meeting any set of conditions is included).
You can perform the following configuration on this page:
Upload Contacts
Global Upload Configuration Using Text and CSV
Global Upload Configuration Using API
Global Upload Configuration Using JSON or Fixed Width
Upload Contacts
Import File
Go to System > Global Upload.
Click the + icon and go to Upload Contacts.
Select the file type from Text/CSV or Other. Note that the Other format only supports JSON.
Click Choose File and select a contact file to upload.
Note:
If you are using the application in a localized language other than English, ensure that the contact file is saved in UTF-8 encoding before uploading.
Select a File Template from the dropdown list.
Data Schema
Go to the Data Schema. All fields in the template file are displayed in the dropdown list. Define the characteristics of each field.
Select a Data Type from Float, String, Number, and DateTime.
If the selected data type is DateTime, select a Format.
Expression Builder
Go to the Expression Builder and click CREATE NEW.
Enter an Expression Name.
Select a Function from the dropdown list. For functions such as Left, Right, Substring, and Replace, all Schema Fields, which are the header fields in your upload file, and System Fields are populated. You can select one of these options and then click Select.
Click Settings next to Parameter 1. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 2. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 3. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Save.
Build Condition
Go to the Build Condition tab. This tab displays the condition builder for a campaign and Profile. You can edit or delete the condition from the Action Menu.
Click + Add Condition to create a new condition.
Select a Campaign Name and a Profile Name from the dropdown menus.
There are two ways to upload a file, which are controlled by a configuration:
If the configuration set to True: Upload to multiple campaigns where a contact satisfies conditions for multiple campaigns.
If the Configuration set to False: Upload to a single campaign where the contact is uploaded to the first campaign that matches the condition.
To activate or deactivate an Advanced Builder, refer to the Advanced Condition Builder section.
Click Upload.
Configuration Using Text and CSV
Import text or CSV file:
Go to System > Global Upload.
Click the + icon and then select Global Upload Configuration.
Select a Source for the upload in the Import File section.
Select New to configure a new file for global upload.
Select Existing to update conditions to an existing file.
If the selected Source is New, select a File Delimiter from the dropdown list.
Select a File Type as Text/CSV. This is to upload contact from a flat file. The fields in the flat file can be separated by a comma, a tab, or a custom delimiter.
Note:
If you are using the application in a localized language other than English, save the contact file placed for upload in UTF-8 encoding.
If you are uploading from a file, select an upload file.
Notes:
Ensure that the filename for upload starts with the same string. For example, if you receive files from a CRM on a regular basis and configure one named Contact.txt here, all files from the CRM should start with Contact. The CRM might add a timestamp or unique ID, like Contact_MMDDYYYY.txt or Contact_000001.txt. If a file matches the starting string, it will be uploaded.
If your contact file contains optional business fields, ensure that the file headers for these fields do not contain any special characters or start with a number. Additionally, if you use a custom delimiter, select the delimiter used in your upload file to separate data fields.
Data Schema
Go to the Data Schema. All fields in the template file are displayed in the dropdown list. Define the characteristics of each field.
Select a Data Type from Float, String, Number, and DateTime.
If the selected data type is DateTime, select a Format.
Expression Builder
Go to the Expression Builder and click CREATE NEW.
Enter an Expression Name.
Select a Function from the dropdown list. For functions such as Left, Right, Substring, and Replace, all Schema Fields, which are the header fields in your upload file, and System Fields are populated. You can select one of these options and then click Select.
Click Settings next to Parameter 1. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 2. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 3. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Save.
Build Condition
Go to the Build Condition tab. This tab displays the condition builder for a campaign and Profile. You can edit or delete the condition from the Action Menu.
Click + Add Condition to create a new condition.
Select a Campaign Name and a Profile Name from the dropdown menus.
There are two ways to upload a file, which are controlled by a configuration:
If the configuration set to True: Upload to multiple campaigns where a contact satisfies conditions for multiple campaigns.
If the Configuration set to False: Upload to a single campaign where the contact is uploaded to the first campaign that matches the condition.
To activate or deactivate an Advanced Builder, refer to the Advanced Condition Builder section.
Click Upload.
Configuration Using API
Import file using API:
Select a Source for the upload.
Select New file to configure a new file for global upload.
Select Existing file to update conditions for an existing file.
If the selected Source is New, select a File Delimiter.
Select API as a File Type. If you are using the Global Upload API to upload contacts, select this option. This requires a template (data source) that contains the contact details. You can map the fields in the template file to the data schema, write conditions, and upload contacts.
Enter a Template Name. A template contains the input requirements as mandated by the API.
Data Schema
Go to the Data Schema. All fields in the template file are displayed in the dropdown list. Define the characteristics of each field.
Select a Data Type from Float, String, Number, and DateTime.
If the selected data type is DateTime, select a Format.
Expression Builder
Go to the Expression Builder and click CREATE NEW.
Enter an Expression Name.
Select a Function from the dropdown list. For functions such as Left, Right, Substring, and Replace, all Schema Fields, which are the header fields in your upload file, and System Fields are populated. You can select one of these options and then click Select.
Click Settings next to Parameter 1. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 2. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 3. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Save.
Build Condition
Go to the Build Condition tab. This tab displays the condition builder for a campaign and Profile. You can edit or delete the condition from the Action Menu.
Click + Add Condition to create a new condition.
Select a Campaign Name and a Profile Name from the dropdown menus.
There are two ways to upload a file, which are controlled by a configuration:
If the configuration set to True: Upload to multiple campaigns where a contact satisfies conditions for multiple campaigns.
If the Configuration set to False: Upload to a single campaign where the contact is uploaded to the first campaign that matches the condition.
To activate or deactivate an Advanced Builder, refer to the Advanced Condition Builder section.
Click Upload.
Configuration Using JSON or Fixed Width
Import using JSON or Fixed Width:
Go to System > Global Upload.
Click + icon and then select Global Upload Configuration.
Select a Source for the upload in the Import File section.
Select New to configure a new file for global upload.
Select Existing to update conditions for an existing file.
If the selected Source is New, select a File Delimiter.
Select Other as a File Type and select an appropriate format from Fixed Width (formatted text files without headers) or JSON (default option).
Note:
If you are using the application in a language other than English, save the contact file for upload in UTF-8 encoding.
If you are uploading from a file, select an upload file.
Notes:
Ensure that the filename for upload starts with the same string. For example, if you receive files from a CRM on a regular basis and configure one named Contact.txt here, all files from the CRM should start with Contact. The CRM might add a timestamp or unique ID, like Contact_MMDDYYYY.txt or Contact_000001.txt. If a file matches the starting string, it will be uploaded.
If your contact file contains optional business fields, ensure that the file headers for these fields do not contain any special characters or start with a number. Additionally, if you use a custom delimiter, select the delimiter used in your upload file to separate data fields.
Fixed Width
Select the intended TXT file, and the Fixed Width section appears.
The first row of data from the file is displayed on a character scale, allowing you to delimit the columns and define the headers for each one.
Click on the data row to mark the limits for each column. Each column can have a maximum of 128 characters. The first column is named Column 1, with subsequent columns numbered accordingly. The character range for each column starts from 1, and the endpoint of one column is the starting point for the next.
Enter the header for each column in the text box provided next to it.
Note:
Only TXT files without headers are recommended for upload. If a TXT file with a header is uploaded, the header is treated as a record, and any header mismatch is not reported in the Global Upload history. Errors can be found in the Error Log folder under the Global Upload path.
To delete a column, click Remove next to it and confirm in the Delete Confirmation pop-up that appears.
Note:
The last column cannot be deleted.
Click the APPLY button to save the changes. Once applied, the changes cannot be reverted. The column headers are now populated for data mapping in the subsequent fields. Go to the Field Mapping section to map the headers to the fields.
Data Schema
Go to the Data Schema. All fields in the template file are displayed in the dropdown list. Define the characteristics of each field.
Select a Data Type from Float, String, Number, and DateTime.
If the selected data type is DateTime, select a Format.
Expression Builder
Go to the Expression Builder and click CREATE NEW.
Enter an Expression Name.
Select a Function from the dropdown list. For functions such as Left, Right, Substring, and Replace, all Schema Fields, which are the header fields in your upload file, and System Fields are populated. You can select one of these options and then click Select.
Click Settings next to Parameter 1. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 2. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Settings next to Parameter 3. There are three parameters available for this expression. For functions like Left, Right, Substring, and Replace, all Schema Fields and System Fields are populated. Select one of these and click Select. For all other date, day, and time-related functions, you can select only Now.
Click Save.
Build Condition
Go to the Build Condition tab. This tab displays the condition builder for a campaign and Profile. You can edit or delete the condition from the Action Menu.
Click + Add Condition to create a new condition.
Select a Campaign Name and a Profile Name from the dropdown menus.
There are two ways to upload a file, which are controlled by a configuration:
If the configuration set to True: Upload to multiple campaigns where a contact satisfies conditions for multiple campaigns.
If the Configuration set to False: Upload to a single campaign where the contact is uploaded to the first campaign that matches the condition.
To activate or deactivate an Advanced Builder, refer to the Advanced Condition Builder section.
Click Upload.
Advanced Condition Builder
To build an Advanced Condition:
Activate the Advanced Builder switch.
Enter an open bracket in the first cell and select an appropriate item from the dropdown list. Select a comparison option such as > (greater than), < (less than), = (equals), etc. This specifies the condition that the selected field must satisfy for the contact.
Enter a value that the condition must meet for the contact to be searched and close the bracket.
Click Add to add another condition.
Click Save.
If the Advanced Builder is deactivated, follow these steps to build the condition:
Select an appropriate item from the Fields dropdown.
Select a comparison option such as > (greater than), < (less than), = (equals), etc. This specifies the condition that the selected field must satisfy for the contact.
Enter a value that the condition should meet for the contact to be searched and close the bracket.
Click the Add symbol to add another condition. Global Upload Configuration allows you to create multiple configurations to upload contacts from files. However, the starting string in a file name of one configuration cannot be used in another. For example, if you use Contact.txt as the filename for one configuration, you cannot use Contactxxyy.txt in another configuration.
Click Save.
The conditions determine which contacts from the file are uploaded to the selected campaign.
The uploader processes the files whenever it finds one in the configured location. When the file containing contacts is processed for upload, four subfolders are created. The file names moved to these folders are prefixed with a date and time stamp:
Error: Contains all the contacts that were not uploaded to Campaign Manager. The file is named <GUID>_YYYYMMDDTHHMMSS_filename, where GUID is the Global Upload ID allocated in the database to each upload file, YYYYMMDD is the date, T is the separator between date and time, HHMMSS is the time, followed by the filename.
Failure: Contains files that could not be processed for upload.
InProcess: Contains the live file being processed. After the process is complete, this folder should not hold any file.
Success: Contains all the contacts that were uploaded to Campaign Manager. The file is named YYYYMMDDTHHMMSS_filename, where YYYYMMDD is the date, T is the separator between date and time, HHMMSS is the time, followed by the filename.
You can also use the Upload Contacts feature once you have successfully completed the Global Upload Configuration.
Status Update of Global Upload
Select a global list ID and click Menu icon under Action.
Based on current status, menu displays options. Select appropriate option to change status.
Delete Global Upload
Select a global list ID and click Menu icon under Action.
Select Delete.
Fields
Field | Description |
---|---|
Global List ID | List ID allocated by the application at the time of upload. |
File Name | File name that contained the contacts for upload. |
Uploaded Time | Date and time when the list was uploaded. |
Processed | Count of processed contacts from the list. |
Unmatched | Count of contacts that were unmatched from the list. Click Download to download the list of unmatched records. |
Error | Count of contacts that display error at the time of upload. Click Download to download the list of error records. |
Global List Campaign | Expand to view the number of contacts uploaded to each campaign |
Status | Defines the status of contacts.
|
Completion Percentage | The Completion Percentage is calculated using the formula: ((TotalRecords - BadRecords - UnmatchedRecords) / TotalRecords)* 100 |
Action | Lists the available action options. |
Stop | Stops contacts uploaded to various campaigns and delivering to the dialer. |
Start | Resumes uploaded contacts’ delivery to the dialer. |
Permanent Stop | Permanently stops delivery of contacts from this list. This action is irreversible. |