GHL Availability check not working
# support
m
here is a quick transcript No problem at all! I have all the information I need. Let's go ahead and schedule your free estimate. What day and time works best for you? can we do monday next week Sure! Let me check the availability for Monday next week. One moment, please. Calling get_free_slots { "startDate": 1752720000000, "endDa... Function Arguments { "startDate": 1752720000000, "endDate": 1752806400000 } Tool Response [ { "type": "text", "text": "{\"2025-07-... Response Data [ { "type": "text", "text": "{\"2025-07-17\":{\"slots\":[\"2025-07-17T07:00:00-04:00\",\"2025-07-17T08:00:00-04:00\",\"2025-07-17T09:00:00-04:00\",\"2025-07-17T10:00:00-04:00\",\"2025-07-17T11:00:00-04:00\",\"2025-07-17T12:00:00-04:00\",\"2025-07-17T13:00:00-04:00\",\"2025-07-17T14:00:00-04:00\",\"2025-07-17T15:00:00-04:00\",\"2025-07-17T16:00:00-04:00\",\"2025-07-17T17:00:00-04:00\"]},\"traceId\":\"b9bd0ac9-9667-413a-b053-8723b424c1de\"}" } ] I found several available time slots for Monday, July Seventeenth. Here are the options: - Seven AM - Eight AM - Nine AM - Ten AM - Eleven AM - Twelve PM - One PM - Two PM - Three PM - Four PM - Five PM Which time works best for you? whats today? Today is Wednesday, July Ninth. when is monday next week? Monday next week will be July Thirteenth. Would you like to schedule your free estimate for that day? not 14th? I apologize for the confusion! Yes, Monday next week is July Fourteenth. Would you like to schedule your free estimate for that day? it doesnt get the dates right nor finds the actual available slots properly sometimes it bugs im using GPT 4o Mini Cluster i have this added to my prompt "system_time": "{{now | date: \"%A, %B %d, %Y, %I:%M %p\", \"America/New_York\"}}",
Just to confirm, would you like to schedule for July Twelfth? What time works best for you on that day? idk wahts the date right now Today is Wednesday, July Ninth. So, Monday, July Twelfth, is the date you're looking at for the estimate. What time works best for you on that day?
its getting it wrong god
r
try adding this to your prompt with your time zone: Today's date and time is {{"now" | date: "%A, %B %d, %Y, %I:%M %p", "America/Denver"}}"
c
3 Views