Skip to main content
Early Access - The Dcycle CLI is currently available for enterprise customers. Contact us to learn more about access.

Logistics Data Automation

For transport companies and fleet operators, this guide shows how to automate daily uploads of trip data (viajes) and fuel consumption (consumos) to Dcycle.

The Daily Upload Challenge

Fleet operations generate data continuously: Manual uploads quickly become unsustainable. Automation ensures:
  • Consistency: Same process every day
  • Timeliness: Data available for reporting
  • Accuracy: No human transcription errors

Quick Start: Daily Upload Script

Schedule with cron:

CSV File Formats

Transport Requests (viajes)

Fuel Recharges (consumos)


Integration with TMS/ERP

Export from TMS

Most Transport Management Systems can export to CSV. Set up automated exports:

Database Export

If your data is in a database:

Complete Pipeline

A production-ready pipeline with all best practices:

Handling Common Issues

Missing Vehicles

If uploads fail because vehicles aren’t registered:

Retry on Failure

Incremental Uploads

For real-time or hourly uploads, track what’s been uploaded:

Monitoring Dashboard

Create a simple monitoring view:

Best Practices

Archive Processed Files

Move uploaded files to an archive directory. Keep for audit trail and reprocessing if needed.

Idempotent Uploads

Include unique identifiers in your data to handle duplicate uploads gracefully.

Monitor Gaps

Set up alerts for days with zero uploads or unusually low counts.

Validate Before Upload

Check required fields and data formats before sending to Dcycle.

Next Steps

CI/CD Pipeline

Integrate with GitHub Actions or GitLab CI

Multi-Org Reporting

Consolidated reporting for holdings