Onfleet
Jelizaveta avatar
Written by Jelizaveta
Updated yesterday

Onfleet allows you to provide delightful customer experiences, increase on-time deliveries and scale operations efficiently with the world’s most advanced fleet management platform. This article details how our integration with Onfleet works and provides help for getting setup.

Our Onfleet integration has been built to work seamlessly with our local delivery functionality. It's perfect for both scheduled and on-demand orders.


Requirements

  • You need to be on the Essential plan or higher with Zapiet - Pickup + Delivery

  • Your store will need access to the Carrier Service API, and Zapiet - Pickup + Delivery will need to be added as a carrier to your domestic shipping profile

  • You must have an active Onfleet account and API key

    • Contact your Onfleet account manager and ask them for an API key to use with Zapiet - Pickup + Delivery

  • You must have our delivery date and time picker enabled

    • Enable this in Zapiet - Pickup + Delivery > Settings > Local Delivery

    • Delivery slots must be at least an hour long (e.g. 9:00AM-10:00AM, 2:00PM-5:00PM)

  • Please ensure that you have marked “Shipping address phone number” as a required field in Shopify Admin > Checkout.


How it works

When the order is created within Zapiet - Pickup + Delivery, we will automatically create two connected tasks within Onfleet. The first will be a pickup task that contains your bricks and mortar stores address. The second will be a delivery task that contains your customer's home address.

Both tasks will contain your Shopify order number and the items ordered.

If your customer has left a comment in your themes “note” field we will also include that within both tasks.

If you do not require the creation of the pickup task you can disable it via the Onfleet integration settings page.

If you don't want the order to be sent to Onfleet automatically, you can turn on the Create task in Onfleet when the order is marked as “Ready for delivery” setting.


Tracking information

Once your order has been sent through to Onfleet we will automatically fulfil the order within Shopify and attach the Onfleet tracking number and URL.

Order status updates are supported—when the order is in transit/completed, the status will change in Zapiet - Pickup + Delivery.


Onfleet API Key

  1. Go to https://onfleet.com/login and login to your Onfleet account.

  2. Click Settings.

  3. Then click API & Webhooks.

  4. If you have previously created an API key you will see it listed. Select it and click Edit. You will then see your API key in the field labelled Key.

  5. If you do not see an API key listed, click the plus button to create one.


Activate Onfleet

Before activating Onfleet please ensure that you have set the customer's telephone number to be a required field within your Shopify checkout settings. Learn more.

  1. In Zapiet - Pickup + Delivery, click Settings, then click External Services.

  2. Click Activate Onfleet.

  3. Enter your Onfleet API key.

  4. Select the order Assign mode.

    You can select between: Manual, Automatic - Distance and Automatic - Load.

  5. Set needed Requirements.

  6. Add an email address to receive error notifications.

  7. Set your fulfilment settings according to your business needs.

  8. Click Save.

Onfleet integration has now been activated on your store.


Disable Onfleet

If you would like to stop using Onfleet, you can disable it.

  1. Within Zapiet - Pickup + Delivery, open Settings and click External services.

  2. Click Disable Onfleet.

Onfleet is now disabled on your store.


Limitations

  • If an order fails to create in Onfleet, you would need to manually create the task for this order in Onfleet.

  • If a customer enters an invalid phone number the order will be rejected from Onfleet.

  • Editing orders is not currently supported.

  • You can disable the creation of the pickup task via the Onfleet integration settings page.

  • You must have the Delivery time picker enabled for the integration to work.

Did this answer your question?