Build guide

Why My AI Agent Kept Lying About the Date

The one-letter fix for Vapi agents that confidently tell callers the wrong date.

Vapi
Oct 22, 2025
Optimized for

What you'll build

A fix for a problem every Vapi voice agent builder hits: the agent confidently tells callers the wrong date. Mine was a simple wine warehouse store assistant - asked "what day is it?", it answered "Tuesday, October 31st, 2073." Completely wrong, with full confidence. You'd think AI would know the date by now. It doesn't.

The fix is a tiny Make.com webhook that hands your agent the real date and weekday in real time, wired in as a Vapi tool. I dealt with this for a while before landing on this solution - it might not be the best, but it works. And the thing that cost me the most time turned out to be one letter.

What you'll need

Step 1: Confirm the bug

Ask your agent what day it is. If you haven't given it a date source, it'll hallucinate one - a year like 2073, the wrong weekday, whatever. The LLM has no live clock; it needs a tool.

Step 2: Build the webhook in Make.com

Create a new Make.com scenario with two modules:

  1. A Custom webhook
  2. A Webhook response connected to it

The webhook response is just telling your Vapi voice agent what date it is and what weekday. It looks complicated - it's really not. Grab the exact response body from my doc (https://docs.google.com/document/d/1XUmJAGR3SVUttYKRMnjDSYi5_C8t-B30-WZdt-poLEE/edit?usp=sharing), or build your own with Make's date formatting.

The one letter: use uppercase D in the date format, not lowercase d. ChatGPT may tell you to use lowercase - that will not work, especially for the weekday portion. This is where I burned most of my time.

Step 3: Set the webhook to run automatically

Before leaving Make, set the scenario to "Immediately as data arrives." Otherwise you'd have to manually click run every time the voice agent tries to pull the date - this makes it fire on its own.

Step 4: Create the tool in Vapi

Copy the webhook URL from Make, then go to the Vapi dashboard → Tools and create a new tool:

Nothing else you really need. Attach the tool to your assistant.

Step 5: Test it

Call the agent and ask again. Mine: "It's Wednesday, October 22nd, 2025." Tool ran, correct date, correct weekday. That's it - pretty important fix for any voice agent doing bookings, hours, or anything time-aware.

Bonus tips from the video

Good luck and happy building.

Resources

Some links in this guide are affiliate links. They cost you nothing and support the free guides.

← Back to the library Good luck and happy building