Templates / Resolve courier NDRs via WhatsApp using GPT-4o-mini, Shiprocket and Delhivery

Resolve courier NDRs via WhatsApp using GPT-4o-mini, Shiprocket and Delhivery

Ready for 3.0

by Rahul Joshi ✓ · 2 views · created 2026-10-16 · Ticket Management, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 37 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Sheets, WhatsApp Business Cloud, Slack and OpenAI. It also calls apiv2.shiprocket.in and track.delhivery.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).

  1. Normalize Courier Event (Code): runs custom JavaScript code
  2. Parse Customer Reply (Code): runs custom JavaScript code
  3. Read Open NDR Cases (Google Sheets): uses Google Sheets
  4. Look Up Shipment (Google Sheets): uses Google Sheets
  5. Find Open NDR Case (Google Sheets): uses Google Sheets
  6. Check Reply SLA (Code): runs custom JavaScript code
  7. Read NDR Log for AWB (Google Sheets): uses Google Sheets
  8. Pick Latest Open Case (Code): runs custom JavaScript code
  9. Remind or Escalate (Switch): routes items into 2 branches
  10. Classify NDR & RTO Risk (Code): runs custom JavaScript code

…plus 24 more steps. See the full node list below.

Services it uses

Google SheetsWhatsApp Business CloudSlackOpenAI

HTTP calls to: apiv2.shiprocket.in, track.delhivery.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview This workflow handles courier non-delivery (NDR) events from Shiprocket or Delhivery, looks up shipment details in Google Sheets, messages customers on WhatsApp with resolution options, uses OpenAI to interpret replies, submits NDR actions back…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.