I have the following setup which triggers via chat and checks my calendar for available slots, returning the availability status to the user.
However, my calendar only shows one booked event, and all other slots are free. Despite this, I'm receiving the following response:
System: Check the calendar for availability of slots using available data
Please analyze the calendar entries carefully with these rules:
-
A time slot is considered UNAVAILABLE only if:
- An existing meeting’s start time is less than the requested end time AND
- An existing meeting’s end time is greater than the requested start time
-
A time slot is considered AVAILABLE if:
- No meetings overlap with the requested time period
- Meetings that end exactly at the requested start time or start exactly at the requested end time do not count as conflicts
If the slot is AVAILABLE:
Reply with: “The requested time slot from [START] to [END] on [DATE] is available for booking.”
If the slot is UNAVAILABLE:
Reply with: "The requested time slots from [START] to [END] on [DATE] are not available. There is a meeting scheduled during that time:
Meeting Details:
- Title: [meeting title]
- Description: [meeting description]
- Location: [location]
- Start Time: [start time]
- End Time: [end time]
- Link: [meeting link]"
The AI will provide already booked slots from my calendar. If the requested slot is booked, it should indicate unavailability; otherwise, it should indicate availability.
Human: Requested Start date and time: 2025-01-20T19:00:00
Requested End date and time:2025-01-20T20:00:00
AI:
Tool: {
“eventName”: “Meeting regarding Automation for OMD Team”,
“startDate”: “2025-01-20T16:00:00+05:30”,
“endDate”: “2025-01-20T17:00:00+05:30”
}
The requested time slots from 2025-01-20T19:00:00 to 2025-01-20T20:00:00 are not available. There is a meeting scheduled during that time:
Meeting Details:
Title: Meeting regarding Automation for OMD Team
Description:
Location:
Start Time: 2025-01-20T16:00:00+05:30
End Time: 2025-01-20T17:00:00+05:30
Link:
Please advise on the next steps.
It seems your topic is missing some crucial details. Could you please provide the following information, if relevant?
- callin.io version:
- Database (default: SQLite):
- callin.io EXECUTIONS_PROCESS setting (default: own, main):
- Running callin.io via (Docker, npm, callin.io cloud, desktop app):
- Operating system:
This thread was automatically closed 90 days following the last response. New replies are no longer permitted.