Automate Shipment Tracking with n8n and Telegram
detail.loadingPreview
Streamline your logistics by automating shipment tracking notifications and updates directly through Telegram. This n8n workflow allows drivers to easily share GPS locations and delivery confirmations, ensuring real-time visibility for your operations.
About This Workflow
This n8n workflow provides a robust solution for automating shipment tracking by leveraging the power of Telegram. Designed for operational efficiency, it allows drivers to communicate critical delivery information seamlessly. The workflow begins with a Telegram trigger that listens for incoming messages. It then intelligently routes incoming data based on the driver's current state (e.g., waiting for shipment number, GPS, or photo). When specific commands like /sendConfirmation are received, the workflow triggers actions such as sending proof of delivery to the logistics team via Gmail and updating Google Sheets with shipment details. The Check State node acts as the central logic, directing the flow based on predefined states, ensuring the right information is collected at the right time. For developers and users who need to dive deeper, a detailed tutorial and video guide are available.
Key Features
- Real-time Driver Communication: Use Telegram to prompt drivers for essential shipment details like GPS location and delivery confirmations.
- Automated Data Collection: The workflow intelligently processes driver inputs based on predefined states, ensuring accurate data capture.
- Seamless Integrations: Connects with Gmail for sending delivery proofs and Google Sheets for record-keeping.
- Configurable Logic: The
Check Statenode allows for easy customization of the workflow's decision-making process. - Step-by-Step Guidance: Includes links to comprehensive tutorials and video guides for easy setup and understanding.
How To Use
- Set up your Telegram Bot: Create a Telegram bot using BotFather and obtain the API token. Configure this token in the
Telegram TriggerandTelegram Messagenodes. - Configure Google Drive Integration: Add your Google Drive API credentials to n8n and select the appropriate folder and sheet for storing shipment data.
- Set up Gmail for Notifications: Configure your Gmail API credentials in the
Gmail Emailnode to send delivery confirmations to your logistics team. - Customize State Logic: Adjust the
Check Statenode's rules to match your specific operational requirements for different driver input states. - Implement Driver Prompts: Configure the
Telegram Messagenodes to send clear instructions and prompts to your drivers via Telegram.
Apps Used
Workflow JSON
{
"id": "6efe4cc4-10b7-4b5b-83c9-9a2456163c69",
"name": "Automate Shipment Tracking with n8n and Telegram",
"nodes": 11,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 6efe4cc4-10b7...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.