n8n Logistics DHL API Delhivery API WhatsApp Automation

Track shipments with DHL/Delhivery APIs & send Google Sheets updates to customers via WhatsApp/Email

Automate shipment tracking across multiple courier services with real-time customer notifications

Download Template JSON · n8n compatible · Free
Shipment tracking workflow diagram showing DHL/Delhivery API integration with Google Sheets and WhatsApp/Email notifications

What This Workflow Does

This n8n workflow solves the tedious manual process of tracking shipments across multiple courier services and updating customers. It automatically polls DHL and Delhivery APIs for shipment status changes, updates a centralized Google Sheet, and sends personalized notifications via WhatsApp or Email when statuses change.

Ecommerce businesses, logistics providers, and operations teams use this to eliminate hours of daily tracking work while improving customer communication. The system handles everything from "Order Shipped" notifications to "Out for Delivery" alerts and final delivery confirmations - all without manual intervention.

How It Works

1. API Polling for Shipment Status

The workflow regularly checks DHL and Delhivery APIs using tracking numbers from your Google Sheet. It compares the latest status against previous records to detect changes that require customer notifications.

2. Google Sheets Integration

All shipment data syncs to your master Google Sheet, including timestamps, current status, and location updates. This creates an audit trail and gives your team visibility without logging into multiple courier portals.

3. Smart Notification Logic

The system determines which status changes warrant notifications based on your rules. For example, you might notify customers at "Dispatched", "Out for Delivery", and "Delivered" stages but skip intermediate warehouse scans.

4. Multi-Channel Customer Alerts

Notifications send via WhatsApp (using the Business API) or Email based on customer preferences. Messages include tracking links, estimated delivery windows, and personalized order details from your sheet.

Pro tip: Configure different notification templates for each status type. "Out for Delivery" messages should include time windows while "Delayed" notifications should set proper expectations.

Who This Is For

This automation delivers the most value for:

  • Ecommerce stores shipping 50+ orders weekly
  • Dropshipping businesses needing to track supplier shipments
  • Logistics companies managing multiple courier partners
  • Operations teams tired of manual tracking spreadsheets
  • Businesses wanting to improve post-purchase customer experience

What You'll Need

  1. n8n instance (cloud or self-hosted)
  2. Google Sheets with shipment data (tracking numbers, contacts)
  3. DHL and/or Delhivery API credentials
  4. WhatsApp Business API access or Email SMTP credentials
  5. Basic understanding of n8n workflows (or follow our setup guide)

Quick Setup Guide

  1. Download the JSON template file
  2. Import into your n8n instance
  3. Connect your Google Sheets account
  4. Configure DHL/Delhivery API credentials
  5. Set up WhatsApp/Email notification channels
  6. Map your spreadsheet columns to the workflow fields
  7. Test with sample tracking numbers
  8. Activate the workflow

Key Benefits

Save 10+ hours weekly by eliminating manual shipment tracking across multiple courier websites and customer update processes.

Reduce customer service inquiries by 40-60% with proactive, automated status notifications that keep customers informed.

Improve delivery experience scores with timely, personalized updates via customers' preferred channels (WhatsApp or Email).

Centralize tracking data in Google Sheets for easy reporting, exception handling, and team visibility.

Scale effortlessly as your shipment volume grows - the automation handles 10 or 10,000 tracking numbers with equal reliability.

Frequently Asked Questions

Common questions about shipment tracking automation

Automated shipment tracking provides real-time updates to customers without manual work. When integrated with WhatsApp/Email notifications, it reduces customer service inquiries by 40-60% while improving satisfaction scores.

Customers appreciate proactive updates about their orders, especially for high-value or time-sensitive deliveries. The system can include personalized messages, estimated delivery windows, and self-service tracking links - all automatically triggered by API status changes.

  • 98% of customers want shipment notifications
  • Proactive updates reduce "Where is my order?" calls
  • Personalized messages build brand trust

Integrating multiple courier APIs centralizes tracking across all your shipping partners. This eliminates the need to check different portals manually and ensures consistent tracking data flows into your Google Sheets.

Businesses handling 100+ shipments weekly save 10-15 hours of manual tracking work while reducing human errors in status updates. The workflow normalizes data from different couriers into a standard format, making reporting and exception management easier.

  • Single view of all shipments regardless of courier
  • Eliminates copy-paste errors from manual tracking
  • Standardized status updates across carriers

WhatsApp notifications have 98%+ open rates compared to 20-30% for emails, making them ideal for time-sensitive updates. The template uses WhatsApp's official Business API for reliable delivery.

Customers can also reply directly to the notification if they have questions, creating a two-way communication channel without sharing personal numbers. The structured messages can include tracking buttons, delivery time estimates, and quick response options.

  • Near-instant delivery with read receipts
  • Rich media support for maps and images
  • 24/7 availability without international SMS costs

Yes, the workflow can trigger special notifications for exceptions. When the API detects delays or issues, it automatically sends customized messages with estimated resolution times.

This proactive approach reduces frustration and customer service contacts by 35% according to logistics industry benchmarks. You can configure different message templates for common exceptions like weather delays, customs holds, or address corrections.

  • Automated delay alerts build trust
  • Custom messages for different exception types
  • Option to include compensation offers

Your sheet needs tracking numbers, courier names, customer contact info, and order details. The template maps these fields to create personalized notifications.

Best practice is to include product details and expected delivery dates so notifications provide context. The system updates status timestamps automatically as it polls the courier APIs. Additional columns for special instructions or delivery notes help personalize messages further.

  • Minimum: Tracking#, Courier, Contact, Order#
  • Recommended: Product names, photos, expected date
  • Optional: Delivery instructions, gift messages

The template checks APIs every 2-4 hours by default, which balances freshness with API rate limits. For time-sensitive shipments, you can increase frequency to hourly.

The workflow smartly adjusts polling based on shipment stage - checking more frequently during transit than after delivery confirmation. You can configure different schedules for domestic vs international shipments based on typical transit times.

  • Configurable polling intervals
  • Smart adjustment based on shipment phase
  • Respects courier API rate limits

Absolutely. GrowwStacks specializes in custom logistics automations tailored to your specific couriers, notification preferences, and business rules. We can integrate with your existing systems, add advanced features like predictive delays, or create branded notification templates.

Our team has built tracking systems for ecommerce brands, 3PL providers, and manufacturing companies. Custom solutions might include multi-language support, return tracking, or integration with your OMS/ERP systems beyond basic Google Sheets.

  • Tailored to your tech stack and workflows
  • Advanced features like predictive ETAs
  • White-labeled customer communications

Need a Custom Shipment Tracking Integration?

This free template is a starting point. Our team builds fully tailored automation systems for your specific needs.