Skip to main content

Uploading Bulk Custom Models


Bulk uploading allows you to take advantage of the Machine Learning and Artificial Intelligence technologies that send data to your Azure machine learning model and brings the output. Skypoint AI creates new dimensions for understanding and segmenting your customers into high-performing audiences. Skypoint AI imports and unifies the data that you can upload for the custom integration.


To configure the Bulk Custom model, the following prerequisites must be met:

  • You must have an API of the custom object to make the bulk import request.
  • Request and response body of the service should be in JSON format.

To add a Bulk Custom model

  1. In the left pane, go to Predict > Custom.

The Custom models window appears.

Alt text

  1. Click New workflow.

To upload Bulk Custom models

  1. In the Custom models upload area, select the Bulk upload.

Alt text

  1. In the Name box, enter your custom model web service.
  2. Select the Table from the drop-down list.
  3. In the Total number of record to be used box, enter the number of records to process for the table.
  4. Select the Profile attributes from the drop-down list.
  5. In the Model attributes box, enter the attributes to map the model column as per selected profile attributes.

Use at least three characters to define the Model attributes. The following example shows a mapping of the Model attributes with Profile attributes.

"total_transaction_value": 1,
"total_no_of_items_bought": 1,
"total_no_of_orders": 1,
"month": "Jan",
"day_of_month": 1,
"day_of_week": 1,
"between_purchase_days": 10,
"day_since_first_purchase", 10,
"day_since_last_purchase": 5,
"days_between_first_last_purchase": 5,
"WillChurn": 0,
"ProfileID": 1
"total_transaction_value": 2,
"total_no_of_items_bought": 2,
"total_no_of_orders": 2,
"month": "Feb",
"day_of_month": 2,
"day_of_week": 2,
"between_purchase_days": 20,
"day_since_first_purchase", 20,
"day_since_last_purchase": 15,
"days_between_first_last_purchase": 5,
"WillChurn": 1,
"ProfileID": 2
"total_transaction_value": 3,
"total_no_of_items_bought": 3,
"total_no_of_orders": 3,
"month": "Mar",
"day_of_month": 3,
"day_of_week": 3,
"between_purchase_days": 30,
"day_since_first_purchase", 20,
"day_since_last_purchase": 10,
"days_between_first_last_purchase": 10,
"WillChurn": 0,
"ProfileID": 3

Alt text

  1. If you want to add Model attributes and profile attributes, click Add row.
  2. Enter the web address of the API name of the custom object in the URL box.
  3. Select the Hypertext Transfer Protocol (HTTP) method from the URL Method drop-down list.
GETRequests retrieve data from the server.
POSTSends data to the server.
PUTReplaces all current data of the target resource with the uploaded content.
DELETERemoves the resource.
  1. In the Rate Limit box, enter a rate limit of an API request per second.
  2. In the Allowed number of record per request box, enter the number of record.

The rate limit of an API works as a gatekeeper that processes the amount of incoming or outgoing data per second. This is the number of parallel requests created on an API. The rate limit ensures that the user does not exceed the maximum rate limit. For example, if an API processes 1000 records per second with a rate limit of 5, then this API can process 5000 requests per second. If request exceeds the rate limit, it generates an error message.

  1. Click Add Row to enter API address in Header.
  2. Enter JSON code in the Body area to pass the data.
  3. Enter Map Input Parameter.
  4. Enter Map Output Parameter.
  5. Click Save to apply your changes.

For example, a user's API can accept data in the JSON format as mentioned below:

  • An Array is an ordered list of values. For Array, square brackets should be used. The Array properties indices start from 0 and are accessible with the '[]' operator.
  • An object is a collection of key values. For object, curly brackets should be used. Key always be enclosed in double-quotes. The Object type properties are accessible with a "." operator.



"type": "skypointdata",

"index": "1",

"input": {

"data": "",

"custom": true



This is just a sample request of the client's API. With this request, the object is one of the properties which is supposed to contain data for the Client's custom model. When you run the custom model, we will append the data from the Skypoint AI data store in form of an array to this property and send it over to the configured custom model API. Here, the input parameter is





"domain": "ecommerce",

"priority": 1









"channel": "social",

"quantity": 3






"rate": {










You need to specify the key property that contains the score. Here, output parameter will be metrics[1].rate.score.

Once you have saved the custom model, it will appear on the Custom models page.

Alt text

NameName of the custom model.
TypeType of the custom model such as Single Upload or Bulk Upload.
StatusThe status of the run command on the custom model.
ScoreIndicates the score of the custom model. Click View to see attributes and data in the Database section.
ActionsOption to perform activities such as Edit, Delete, and Run.
Group byView the items in a specific Group (For example, Name, Type, status, and score).
Run HistorySee the run history of the custom models.

To Run, Edit, and Delete the workflow

Follow the below step to perform actions for the custom models:

  • On the Custom models page, select the horizontal ellipsis in the Actions column and do the following:
If you want toThen
Edit a workflow for previously created custom modelSelect Edit and modify the custom models. Click Save to apply your changes.
Remove a workflowSelect Delete and click Yes to remove the custom model.
Execute the custom modelSelect Run.