Resolve courier NDRs via WhatsApp using GPT-4o-mini, Shiprocket and Delhivery
Ready for 3.0What 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).
- Normalize Courier Event (Code): runs custom JavaScript code
- Parse Customer Reply (Code): runs custom JavaScript code
- Read Open NDR Cases (Google Sheets): uses Google Sheets
- Look Up Shipment (Google Sheets): uses Google Sheets
- Find Open NDR Case (Google Sheets): uses Google Sheets
- Check Reply SLA (Code): runs custom JavaScript code
- Read NDR Log for AWB (Google Sheets): uses Google Sheets
- Pick Latest Open Case (Code): runs custom JavaScript code
- Remind or Escalate (Switch): routes items into 2 branches
- Classify NDR & RTO Risk (Code): runs custom JavaScript code
…plus 24 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Slack
n8n-nodes-base.slack - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger
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…