Shipping API & multi carrier shipping system
Emit new event when a new label is shipped. See the docs.
Emit new event when a new event is tracked. See the docs.
Continue workflow execution only if a condition is met
By default, all labels are returned, 25 at a time, starting with the most recently created ones. You can combine multiple filter options to narrow-down the results. See the docs.
Allows you to subscribe to tracking updates for a package. See the docs.
The Shipengine API enables robust automation possibilities for shipping logistics. From label creation, rate comparison, to tracking shipments, the API provides the tools to streamline e-commerce and shipping workflows. By harnessing Shipengine's capabilities through Pipedream, you can build seamless integrations that connect your shipping operations with other business processes, enhancing efficiency and reducing manual overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shipengine: {
type: "app",
app: "shipengine",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.shipengine.com/v1/addresses/validate`,
headers: {
"API-Key": `${this.shipengine.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
The Filter API in Pipedream allows for real-time data processing within workflows. It's designed to evaluate data against predefined conditions, enabling workflows to branch or perform specific actions based on those conditions. This API is instrumental in creating efficient, targeted automations that respond dynamically to diverse datasets. Using the Filter API, you can refine streams of data, ensuring that subsequent steps in your Pipedream workflow only execute when the data meets your specified criteria. This cuts down on unnecessary processing and facilitates the creation of more intelligent, context-aware systems.
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})