Sapient Track & Trace(DG Storage)

Returns the latest Sapient/Intersoft tracking status for a parcel from DigitalGenius carrier storage. Use it in tracking flows once a parcel has been registered with Sapient.

What it does

  • Looks up the latest tracking event for the tracking number in DigitalGenius carrier storage.
  • Maps the Sapient milestone to a simple delivery status.
  • Returns the current status, description, last event date and event details.

Inputs

NameTypeDescription
Tracking NumberStringTracking reference for the package

Outputs

NameTypeDescription
Tracking Found?BooleanWhether any tracking info was found for the tracking number provided
StatusStringStatus of the package delivery Possible values: Delivered, In Transit, Ready for Shipment, Ready for Pickup, Problem with Delivery, Returning to Sender.
Status DescriptionStringStatus description of the package delivery
Last Event DateStringDate of the last update
Shipped DateStringDate when the package was shipped
Activity HistoryListHistory of events for this package
Last EventObjectLast event for this package

Notes

  • This reads from DigitalGenius carrier storage (populated by the Sapient webhook), so the parcel must already have been registered and have at least one tracking event.