Envia.com - Track Shipment
Description
Section titled “Description”This module tracks a shipment in Envia.com using the carrier name and tracking number. It makes a POST request to the /ship/tracking/ endpoint with the carrier and tracking number. It returns the shipment status, event history, estimated delivery date, and a message with the current status.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Envia.com credential (provider: envia) |
| carrier | text | Yes | Carrier name (e.g.: fedex, dhl, estafeta) |
| tracking_number | text | Yes | Shipment tracking number |
Credentials
Section titled “Credentials”A envia type credential is required with the following fields:
- api_key: Envia.com API Key
Output
Section titled “Output”{ "success": true, "tracking_number": "794644790138", "carrier": "fedex", "status": "in_transit", "events": [ { "status": "in_transit", "description": "En camino a la siguiente instalacion", "date": "2026-03-23T10:30:00", "location": "Ciudad de Mexico, MX" } ], "estimated_delivery": "2026-03-25", "message": "Estado: in_transit"}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "credentials_id": "mi_credencial_envia", "carrier": "fedex", "tracking_number": "794644790138"}API Used
Section titled “API Used”- Endpoint: POST
/ship/tracking/ - Base: Envia.com API (via helper
_enviaHelper) - Documentation: https://docs.envia.com/
- The carrier name is required for tracking in Envia.com
- Events may come in the
eventsortracking_detailsfield depending on the carrier - If the status is not available, “Desconocido” is displayed
Related Nodes
Section titled “Related Nodes”- Envia.com - Create Shipment / Label (enviaCreateShipment)
- Envia.com - Get Rates (enviaGetRates)
- Envia.com - Cancel Shipment (enviaCancelShipment)
- Envia.com - List Carriers (enviaGetCarriers)