Onfleet is a SaaS-based delivery management platform that helps large and small businesses manage their last-mile deliveries. It provides features such as auto-dispatching, tracking of delivery drivers, optimal route suggestions, and automatic notifications and real-time tracking for recipients.
Hevo uses the Onfleet JSON RESTful API to replicate data from your Onfleet account to the Destination of your choice.
Supported Features
| Feature Name |
Supported |
| Capture deletes |
No |
| History mode |
No |
| Custom data (user-configured tables & fields) |
No |
| Data blocking (skip objects and fields) |
Yes |
| Resync (objects and Pipelines) |
Yes |
| API configurable |
Yes |
Prerequisites
-
An active Onfleet account from which data is to be ingested exists.
-
The API key is available with the required permissions to provide Hevo access to your Onfleet account data.
-
You are logged in as an Account Owner or an Admin user to obtain the API key. Else, you can obtain it from your account owner or administrator.
Creating the API Key
You require an API key to authenticate Hevo on your Onfleet account. The API key does not expire and can be reused for all your Pipelines.
Note: You must log in as an Account Owner or an Admin user to perform these steps.
Perform the following steps to obtain the API key:
-
Log in to your Onfleet account.
-
In the top right corner, click Settings.
-
In the left navigation pane of the pop-up window, click API & Webhooks.
-
In the API Keys section, click +.
-
In the Add API key pop-up window, specify the following:
-
Click Create Key.
-
In the API Keys section, double-click the API key.
-
In the Edit API key pop-up window, copy the API key and save it securely like any other password. Use this key while configuring your Hevo Pipeline.
Perform the following steps to configure your Onfleet Source:
-
Click Pipelines in the Navigation Bar.
-
Click + Create Pipeline in the Pipelines List View.
-
On the Select Source Type page, select Onfleet.
-
On the Select Destination Type page, select the type of Destination you want to use.
-
In the Configure Source screen, specify the following:
-
Source Name: A unique name for your Source, not exceeding 255 characters. For example, Onfleet Source.
-
API Key: The API key that you created in your Onfleet account.
-
Click Test & Continue to test the connection to your Onfleet Source. Once the test is successful, you can proceed to set up your Destination.
Data Replication
Hevo replicates data for all the objects selected on the Configure Objects page during Pipeline creation. By default, all supported objects and their available fields are selected. However, you can modify this selection while creating or editing the Pipeline.
Hevo ingests data as per the sync frequency.
Data Model
The following is the list of tables (objects) that are created at the Destination when you run the Pipeline:
| Object |
Description |
| Administrators |
Contains the details of all the users who can manage or configure your Onfleet account, such as adding or removing a team from the organization. |
| Hubs |
Contains the details of the locations that serve as the start and end of routes for workers. |
| Organizations |
Contains the details of the companies connected to an Onfleet account. |
| Teams |
Contains the details of all various groups of workers and dispatchers in your Onfleet account. |
| Tasks |
Contains the details of the pickup or delivery works assigned to workers in an organization. |
| Workers |
Contains the details of the people who deliver the items to their respective destinations. |
Read the detailed Hevo documentation for the following related topics: