Onfleet is the world's most advanced last mile delivery platform.
Create a pickup task and dropoff task linked with each other. See the docs here
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Creates a single task. Used for simple templates only. See the docs here
Tired of manually managing your local delivery tasks and execution? Onfleet API
provides a way to automate and streamline your local delivery operations. With
Onfleet API, you can build powerful applications that can dramatically increase
the efficiency of your delivery business.
Here are some examples of what you can build with Onfleet API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onfleet: {
type: "app",
app: "onfleet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onfleet.com/api/v2/organization`,
auth: {
username: `${this.onfleet.$auth.api_key}`,
password: ``,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})