Skip to main content

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

Workflow preview

Workflow preview
100%
Track shipments with DHL/Delhivery APIs & send Google Sheets updates to customers via WhatsApp/Email preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automatically tracks shipments across multiple courier services, updates Google Sheets, and notifies customers via WhatsApp/Email when status changes. Good to know Runs daily at 9 AM ...

Best for

  • Support Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.cron, n8n-nodes-base.googlesheets, n8n-nodes-base.filter, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.emailsend, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

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

This workflow automatically tracks shipments across multiple courier services, updates Google Sheets, and notifies customers via WhatsApp/Email when status changes.

Good to know

  • Runs daily at 9 AM and only sends notifications when shipment status actually changes
  • API costs may apply for courier tracking (Delhivery, DHL) and WhatsApp notifications
  • Requires Google Sheet with proper column structure and valid API credentials
  • Currently supports Delhivery and DHL APIs but easily expandable

How it works

  • Daily Trigger: Cron node runs workflow every day at 9 AM
  • Get Shipments List: Fetches all shipment data from Google Sheet
  • Filter Active Shipments: Excludes delivered orders and empty tracking numbers
  • Route by Courier: Directs shipments to appropriate API (Delhivery or DHL)
  • Track via APIs: Makes real-time tracking calls to courier services
  • Parse Tracking Data: Normalizes different API responses and detects status changes
  • Check Status Change: Only processes shipments with actual status updates
  • Update & Notify: Simultaneously updates Google Sheet, sends WhatsApp message, and email notification
  • Execution Summary: Logs workflow performance metrics

How to use

  • Import the JSON workflow into n8n
  • Create Google Sheet with columns: tracking_number, order_id, customer_email, customer_phone, courier, status, location, last_updated, estimated_delivery
  • Configure credentials: Google Sheets OAuth2, Delhivery API, DHL API, WhatsApp API, SMTP
  • Replace YOUR_GOOGLE_SHEET_ID with actual sheet ID
  • Test workflow manually before enabling daily schedule

Requirements

  • Google Sheets API access
  • Courier API keys (Delhivery, DHL)
  • WhatsApp Business API credentials
  • SMTP email service
  • n8n instance (self-hosted or cloud)

Customizing this workflow

  • Add courier services: Create new HTTP Request node and update routing logic
  • Change frequency: Modify cron expression (hourly: 0 * * * *, twice daily: 0 9,17 * * *)
  • Customize notifications: Edit WhatsApp/Email templates in respective nodes
  • Add CRM integration: Insert CRM update node after status change detection

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Daily Trigger

Type / Role
n8n-nodes-base.cron - cron
Config choices
Version 1

Block 2 - Get Shipments List

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 3 - Filter Active Shipments

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 4 - Track via Delhivery

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Track via DHL

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Route by Courier

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 7 - Parse Tracking Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Check Status Change

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 9 - Update Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 10 - Send WhatsApp Update

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Send Email Update

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2

Block 12 - Execution Summary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Track shipments with DHL/Delhivery APIs & send Google Sheets updates to customers via WhatsApp/Email
Complexity intermediate
Nodes 13
Categories Support Chatbot
Author Oneclick AI Squad
Published 29 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6650/6650.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

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

This workflow automatically tracks shipments across multiple courier services, updates Google Sheets, and notifies customers via WhatsApp/Email when status changes. Good to know Runs daily at 9 AM ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot use case.