All posts

Automating last minute delivery updates through API connections on phone and WhatsApp

Automate last minute logistics changes using AI agents connected to your scheduling APIs and Salesforce. Handle gate codes and rescheduling on phone and WhatsApp.

A delivery driver reaches a locked gate and cannot contact the recipient. The customer is five minutes away but cannot answer the call. This missed window leads to a return to the warehouse and a second delivery attempt fee. Most logistics companies manage these issues through a dispatch office that closes at 5 PM.

When the office is closed, the customer cannot provide a gate code or authorize a neighbor to receive the package. An email sent at this hour will not be read until the next morning. By then, the truck is already on a different route. This creates The Phone Line Bottleneck where limited hours prevent simple logistics updates. Duvi solves this by placing an AI agent on the phone line and WhatsApp. The agent remains active 24 hours a day to handle rescheduling and delivery instructions.

A Duvi agent uses a single knowledge base across every channel. The setup begins by pointing Duvi to the company website. It crawls the shipping policy, the FAQ on damaged goods, and the service area maps. These documents are parsed into a vector store. When a customer asks about a delivery on WhatsApp or over a phone call, the agent answers using those specific files. It does not guess based on general knowledge. This prevents The Contact Us Friction by making technical documentation and policies available through natural conversation.

For a logistics business, an agent that only answers questions is insufficient. The agent must change data in the system. Duvi connects to internal HTTP APIs or tools like Salesforce to perform actions. If a customer calls the phone number to move their delivery from Tuesday to Wednesday, the agent checks the scheduling API for available slots. It updates the record without a human dispatcher intervening. Quick action is vital because response time is your biggest competitor when dealing with time sensitive delivery windows.

The business connects its own phone number through Twilio or a WhatsApp business account via Meta. Because the agent recognizes the caller ID, it greets the customer by name and references their open order immediately. This prevents The Tab Close Churn where customers lose context when switching from a website to a mobile chat. It removes the need for the customer to type in long tracking numbers on a keypad or a small mobile screen.

Some cases require a person. If a customer is reporting a stolen package or a high value insurance claim, the conversation needs human judgment. Duvi supports live handovers. A staff member can step into the chat or take over the call. They receive the full transcript of the previous interaction. The customer does not have to repeat their problem.

Launching these agents requires no engineering work. The logic is managed through a prompt and the selection of specific knowledge sources. Changes to the agent are free. They take effect as soon as the new data is crawled or the prompt is updated. The business pays based on usage credits rather than a flat per seat license for agents who might be idle.

Every completed conversation is analyzed. The system identifies why deliveries are being missed most often. If many callers are asking about a specific gate at a specific industrial park, the business can update its driver notes. Duvi picks up that change during its next crawl. This creates a loop where the support system gets more accurate as the business updates its own records.