I'm experiencing an issue where some of my appointments are returning incorrect times. It's not all appointments in a day, just a few that are off by several hours, rendering the functionality unusable.
There are no error messages, only inaccurate start and end times for appointments.
json
{
"nodes": [
{
"parameters": {
"promptType": "define",
"text": "={{ $json.query }}",
"options": {
"systemMessage": "=You are a calendar assistant. You have access to multiple tools to take any action within calendar. Here is the current date/time: {{ $now }}nnBefore making an appointment, check the list of calendar events and do not offer any conflicting times. Confirm the details with the user before creating the event. Double check the availability of the calendar to make sure there are no over bookingsnnCreate Event:nIf an end date isn’t specified for the event, assume it will be 60 minutes long. Use this tool if there is no attendee specified.nnCreate Event with Attendee:nIf an end date isn’t specified for the event, assume it will be 60 minutes long. Use this tool WHEN AN ATTENDEE IS SPECIFIED.nnGet Events:nUse this tool to get events from a certain day and summarize them. nnUpdate Events:nUse this tool when you have a specific appointment to update."
}
},
"id": "95b67471-3783-48b8-bb86-35923954ff38",
"name": "Calendar Agent",
"type": "callin.io/callin.io-nodes-langchain.agent",
"typeVersion": 1.6,
"position": [
-760,
140
],
"onError": "continueErrorOutput"
}
],
"connections": {
"Calendar Agent": {
"main": [
"<span class="chcklst-box fa fa-square-o fa-fw"></span>",
"<span class="chcklst-box fa fa-square-o fa-fw"></span>"
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "d50ae9164ab3b3fbd3a4986b8409f1d4cf3572c019e3a46f2953720743860f6a"
}
}
Share the output returned by the last node
Here’s your schedule for February 28, 2025:nn1. Gabe’s going nutsn - Time: 9:00 AM - 10:00 AM (EST)nn2. Caps and choresn - Time: 8:00 AM - 10:00 AM (EST)nn3. CONVENTIONSn - Time: 10:00 AM - 12:00 PM (EST)nnLet me know if there’s anything else I can assist you with!
Information on your callin.io setup
1.78.1
- Database (default: SQLite):
- callin.io EXECUTIONS_PROCESS setting (default: own, main):
- **Running callin.io via callin.io cloud,
- Operating system:
- Mac OS
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:
Please share these details to help us assist you better.
umm, I believe everything is included!
What exactly do you mean by “wrong times”? Is the AI Agent not understanding the time provided by the user?
Alternatively, is the Agent skipping the step to verify the existing calendar, as I've noticed at least one double booking?
The prompt might require further refinement to be more explicit about the steps involved and the details of the tools.
Could you please examine the execution logs to identify where the issue is occurring or where it's not behaving as anticipated?
Thanks for the quick reply! You can check the output in the screenshot; one of the appointments is being reported at a different time. Yes, I've edited the prompt a bit from the YouTube version I found, but if that's the issue, I'm wondering if there's a good prompt for a calendar to prevent double bookings and ensure the times are accurate?
Could you suggest a prompt for a calendar integration to avoid double bookings and ensure accurate timing?
Not the final result of the Workflow. I mean the Workflow Execution logs.
So you can see the logs of what the AI calls are doing. From that it should be much more helpful to see the process of the LLM logs and what it is thinking and doing.
But for the prompt I would suggest adding more detail. e.g. To create an event you need to first have all the events on the current calendar. Using the current calendar events, work out the soonest time available to book the event etc.
This discussion was automatically closed 90 days following the last response. New replies are no longer permitted.