
Compare Dates Function
Introduction
The new "Compare Dates" function brings dependable date checks to WhatsApp Agent and AI Chat Agent bots. With the compare dates function Kipps.AI agent builders can tell whether a customer's date is in the past, present, or future.
Feature Highlights
- Reliable Date Comparison: Consistent results from a dedicated function.
- Configurable Time Zone: Admins choose an IANA time zone, so the AI never has to guess or convert.
- Unified Functionality: Works the same for WhatsApp Agent and AI Chat Agent bots.
How to Use
- Open a WhatsApp Agent or AI Chat Agent's Functions page.
- Click "Add Function" → "Compare Dates".
- Optionally add a description, then pick a Time Zone from the dropdown (defaults to UTC if left unset) and save.
- Reference the function (
compare_dates) in the agent's instructions — the AI only needs to pass the date it wants to check; it returns how many days in the past/future that date is (negative = past, 0 = today, positive = future), computed using the configured time zone.
Benefits
- Fewer Date Mistakes: No more accepting past delivery dates.
- Time Zone Accuracy: Set once from a validated dropdown, with no free-text typos.
- Consistent Agent Behavior: Same date logic voice bot Kipps and chat teams can trust.
Example Workflow
A customer asks a WhatsApp Agent to schedule a delivery for "yesterday". The agent calls compare_dates, gets a negative number, politely explains the date has passed, and asks for a new one. A date comparison AI agent workflow India businesses can reuse.
Result
How can an AI agent check if a date is in the past? Add "Compare Dates" and reference compare_dates in its instructions. The compare dates function Kipps.AI agent setup keeps dates accurate.
See Also
- Check/Schedule/Reschedule Google Calendar Availability
- Assign to Human Agent
- Tag Contact
Ready to try these new features?
Experience the latest improvements and see how they can enhance your workflow. Get started today or learn more about what's coming next.
More Changelog Updates
Related Blog Posts

AI for D2C Brands: How Indian Online Sellers Are Scaling Without Scaling Their Team
Explore how ai for d2c brands automates customer acquisition, boosts conversions, and scales operations.
Read more
AI for Logistics India: How Supply Chain Leaders Are Cutting Costs and Delays
Explore how ai for logistics india automates customer acquisition, boosts conversions, and scales operations.
Read more
What an Admission Counsellor Does : and Which Parts AI Should Take
Explore how admission counselling automates customer acquisition, boosts conversions, and scales operations.
Read more