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
| Name | Type | Description |
|---|---|---|
| Tracking Number | String | Tracking reference for the package |
Outputs
| Name | Type | Description |
|---|---|---|
| Tracking Found? | Boolean | Whether any tracking info was found for the tracking number provided |
| Status | String | Status of the package delivery Possible values: Delivered, In Transit, Ready for Shipment, Ready for Pickup, Problem with Delivery, Returning to Sender. |
| Status Description | String | Status description of the package delivery |
| Last Event Date | String | Date of the last update |
| Shipped Date | String | Date when the package was shipped |
| Activity History | List | History of events for this package |
| Last Event | Object | Last 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.