Design a Telegram Bot that will interact with truck drivers to track your shipments and provide real-time visibility of your transportation performance
Find in the link below a short animated explained video to understand the concept behind this solution
In this Article, we will implement a simple, cheap and easy-to-implement solution to track your shipments that
- Does not require additional IT development for your carriers
- Easily integrates into the current transportation processes
- Reduces admin workload for your logistics team
- Does not impact drivers’ productivity
- Does not require additional equipment
- Provides visibility, real-time tracking and transparency
Scenario Your shipment has been unloaded in your store. DRIVER wants to send delivery confirmation before leaving for his next destination.\
This repository code is ready to be deployed on Heroku:
pip3 install -r requirements.txt
@ BotFather is a Telegram bot that will help you create your own bot
Search @ BotFather on Telegram and send him ‘/start’
Answer ‘/newbot’ message and follow instructions to set up a name and a username
Your bot is now ready, with an API token created—please keep a copy of it!
TOKEN: shared by @ BotFather when you created your bot
APP_NAME: address of your Heroku application (see steps below)
Heroku is a cloud-based platform for hosting web applications; its free tier provides sufficient resources to run your app.
Procfile
requirements.txt
- The full write-up, with the reasoning behind the code: Build a Shipment Tracking Tool using a Telegram Bot
- The video: Build a Shipment Tracking Telegram Bot with Python (Source Code)
- Test what you learned: the Supply Science App has a quiz on road transportation and lessons on transportation management, free and in the browser.
- 100+ case studies with their source code: samirsaci.com
Samir Saci, supply chain engineer and data scientist with ten years in operations across Asia and Europe. Founder of LogiGreen, creator of Supply Science. For consulting on analytics and sustainable supply chain transformation: LogiGreen. More about me: samirsaci.com/about · LinkedIn





