🔑 Yamato Track & Trace

This action is used to get the tracking information from Yamato for a specified tracking number

This action usess browser automation on the following site: https://track.kuronekoyamato.co.jp/english/tracking

Inputs

NameTypeDescription
Tracking NumberStringTracking Number
Time IDOptional StringAuthorisation Time ID - Get this by looking at the network tab of https://track.kuronekoyamato.co.jp/english/tracking and checking the POST request being made when you search for a tracking number

Outputs

NameTypeDescription
Found Tracking?BooleanWhether the tracking information was found
True / False
DG Shipping StatusStringTracking status:
Ready for Shipment,
Delivered,
In Transit,
Problem with Delivery,
Returning to Sender,
Ready for Pickup,
Label Created
Status DescriptionStringDescription of the status
Last Event DateStringThe date of the last tracking event.
Format:
YYYY-MM-DDThh:mm:ss
Raw DataObjectTracking Data
Error MessageStringCan be "None", "Error" or "Access Invalid - Update TimeID"

When the Error Message output returns "Access Invalid - Update TimeID" - you will need to retrieve a new Time ID by going to https://track.kuronekoyamato.co.jp/english/tracking and adding a tracking number + clicking the "Track" button. Make sure you have the network tab open, and check the POST request made when you click "Track". There will be a Time ID, and you can use this value.


Statuses mapping


{
    "Label Created": [],
    "Ready for Shipment": [
        "indication for shipment"
    ],
    "Delivered": [
        "delivered"
    ],
    "In Transit": [
        "received in overseas",
        "customs clearance in progress",
        "shipped out",
        "import customs cleared",
        "departed from overseas",
        "shipped out",
        "shipment accepted",
        "request accepted (alternate delivery schedule arranged)",
        "in transit"
    ],
    "Returning to Sender": [],
    "Problem with Delivery": [],
    "Ready for Pickup": []
}