# Delhivery: Feature Scope

## Feature Scope: LimeChat Integration with Delhivery

### Overview

LimeChat seamlessly integrates with **Delhivery**, enabling automated order tracking and proactive customer communication via WhatsApp. This integration leverages Delhivery’s API to fetch real-time order statuses and utilizes webhooks to monitor delivery failures (Non-Delivery Reports - NDR). By leveraging this integration, businesses can provide timely updates and ensure improved customer experience.

### Features

1. **Automated Order Tracking**
   * Retrieve real-time order statuses from Delhivery’s API.
   * Automate customer queries regarding order tracking via LimeChat’s chatbot.
2. **Delivery Failure (NDR) Notifications**
   * Listen to Delhivery webhooks for failed deliveries (NDR).
   * Trigger automated WhatsApp message campaigns to notify customers and facilitate delivery rescheduling or issue resolution.
3. **Secure API-Based Communication**
   * Uses an **API Token** for authentication and secure data exchange.
   * Ensures encrypted and seamless communication between LimeChat and Delhivery.

### User Permissions & Data Access

#### **Data Accessed by LimeChat**

* **Order Information** (Order ID, Status, Tracking Details)
* **Delivery Status Updates** (Dispatched, In Transit, Delivered, Failed)
* **Non-Delivery Reports (NDR)** (Failure Reasons, Delivery Attempts, Customer Actions)

#### **Permissions Required**

* Read access to order status and tracking information
* Webhook subscription for real-time NDR updates
* Messaging permissions to trigger WhatsApp campaigns for failed deliveries

### Use Case

* **E-commerce Brands** can automate order tracking and improve customer engagement.
* **Customer Support Teams** can proactively manage failed deliveries, reducing Return to Origin (RTO) rates.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://limechatai.gitbook.io/limechat-product-guide/automation/integrations/courier-aggregator/delhivery/delhivery-feature-scope.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
