Import Shipments into Route Planner

What are Shipments?

Each shipment has a pickup and a corresponding delivery step. Shipments can be used to model real-world scenarios such-as food delivery, ride hailing, or third-party logistics, where specific items or persons are picked-up from a location and then delivered to another location. Details such as time windows, service times, priority, or required skills can be specified to further model actual constraints for completing the shipment.

How to Import Shipments in Route Planner?

Route Planner can optimize a large number of daily shipments through data imports. You can input data by either downloading and modifying a sample CSV template or uploading your own CSV or Excel file.

Step 1: Ensure “Shipments” Data is in the Right Format

Before importing, it is essential to ensure that the data within the file adheres to the necessary format. The shipment-related fields and their corresponding formats must be compatible with Route Planner.

Item NameRequiredDescription / Examples
DescriptionNoAny custom description for the vehicle. It should only be in text.
SkillsNoSpecify the skill needed to perform this shipment. When optimizing, the app will assign the shipment to a vehicle having all the required skills. Accepts positive integers only. Specifying different skills for pickup and delivery steps is not allowed.
Example: 110
PrioritySpecify the priority of this shipment. The valid values are in the integers in the range of [0, 100]. Setting a priority will only decide whether this job will be assigned or not, but has nothing to do with the sequence of job fulfillment.
Example: 95
Pickup IDYesA unique identifier for the pickup step of each shipment. Supports text values.
Example 1: “123”
Example 2: Pickup 1
Pickup ServiceThe time required to perform the pickup step, in seconds. Accepts positive integers only.
Example: 180
Pickup LocationYesProvide the pickup location coordinates. You can either provide the latitude and longitude coordinates in separate columns or both of them together in a single column. While mapping, use the correct map keys to reflect the way in which locations have been added.
Pickup Start TimeThe start of the time window after which the pickup can be performed.
Format: YYYY-MM-DD HH:mm
Pickup End TimeThe end of the time window before which the pickup has to be started.
Format: YYYY-MM-DD HH:mm
Pickup SetupSpecify the time needed to complete the necessary setup before/after performing the pickup, in seconds. This can be used for any one time activity like parking, or recording information for compliance etc. Please note that setup time is applied only once for a given job location.
Example: 120
Delivery IDYesA unique identifier for the delivery step of each shipment. Supports text values.
Example 1: “123”
Example 2: Delivery 1
Delivery ServiceThe time required to perform the delivery step, in seconds. Accepts positive integers only.
Example: 180
Delivery LocationProvide the delivery location coordinates. You can either provide the latitude and longitude coordinates in separate columns or both of them together in a single column. While mapping, use the correct map keys to reflect the way in which locations have been added.
Delivery Start TimeThe start of the time window after which the delivery can be performed.
Format: YYYY-MM-DD HH:mm
Delivery End TimeThe end of the time window before which the delivery has to be started.
Format: YYYY-MM-DD HH:mm
Delivery SetupSpecify the time needed to complete the necessary setup before/after performing the delivery, in seconds. This can be used for any one time activity like parking, or recording information for compliance etc. Please note that setup time is applied only once for a given job location.
Example: 120
Amount CapacitiesThe quantity of the items that need to be shipped. You can provide quantities in multiple units/dimensions (e.g., weight, volume etc) in separate columns and map these columns to “Amount Capacity 1”, “Amount Capacity 2” and so on while adding map keys. Supports integer values only.

Step 2: Import the “Shipments” File into Route Planner

On the file import widget

  1. Navigate to the Shipments section in the application.
  2. Click on the Upload a CSV button.
  3. In the pop-up window, select the CSV file with details of your shipments.
  4. Click Open to import the file.

Step 3: Mapping “Shipments” Attributes to File Columns

Once you have successfully imported the shipments file, the subsequent step involves mapping the columns within the sheet to the corresponding fields available in Route Planner. This can be achieved by selecting the appropriate information represented by each CSV column from the respective "Map Key" dropdown menu.

Mapping optimizer attributes for Shipments to columns in file

Shipment attributes


The data format and mappings can be validated by clicking “Next” after the shipment import process is complete. The import widget will proceed to the next section if the validation is successful; otherwise, any errors in the data will be highlighted.

© 2025 NextBillion.ai all rights reserved.