View as Markdown
DPD Shipping icon

DPD Shipping ACTION

Get Tracking Data

Track the current status and history of individual parcels during transit and after delivery. Provide the 14-character parcel label number to look up. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's DPD Shipping account once, then configure and run Get Tracking Data from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "dpd_shipping-get-tracking-data",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dpd_shipping: { authProvisionId: "apn_xxxxxxx" },
    parcelLabelNumber: "Parcel Label Number",
    messageLanguage: "Message Language",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Get Tracking Data inputs
Property Type Description
parcelLabelNumber Parcel Label Number string
The DPD parcel label number to track. Free-form string, exactly 14 characters (e.g. 01234567890123).
Required
messageLanguage Message Language string
Language for response messages as a 5-character locale code (e.g. nl_NL or en_US). Defaults to en_US if omitted.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
dpd_shipping-get-tracking-data
Version
0.0.2
App
DPD Shipping
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes