Introducing WhatsApp Flow Agent: A visual drag-and-drop Conversational Builder on WhatsApp

Explore
Compare Dates Function
AI Agents — Function Calls

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

  1. Open a WhatsApp Agent or AI Chat Agent's Functions page.
  2. Click "Add Function" → "Compare Dates".
  3. Optionally add a description, then pick a Time Zone from the dropdown (defaults to UTC if left unset) and save.
  4. 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.

Related Blog Posts

Ready to Get Started?

Transform Your Customer Experience Today

Join 50+ companies already using Kipps.AI to automate conversations, boost customer satisfaction, and drive unprecedented growth.