Skip to content
How to cancel an ap...
 
Notifications
Clear all

How to cancel an appointment via callin.io's call function with Google Calendar

8 Posts
4 Users
0 Reactions
6 Views
Ruan17
(@ruan17)
Posts: 6
Active Member
Topic starter
 

When I utilize the call function for creation, it works as expected. However, when I attempt to cancel, the appointment ID is missing. The AI agent seems to be providing a random ID.

How can I retrieve the appointment ID that was generated in the create call function and then use that same ID in the cancel appointment call function?

 
Posted : 27/12/2024 10:45 am
n8n
 n8n
(@n8n)
Posts: 97
Trusted Member
 

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:
 
Posted : 27/12/2024 10:45 am
Ramon_Tomzer
(@ramon_tomzer)
Posts: 3
New Member
 

You might want to examine the chat memory table to verify if the appointment ID is being saved. Additionally, prompt the AI to ensure it checks for the appointment ID prior to deleting any appointments. While I'm not certain if this will resolve the issue, it's certainly worth attempting.

 
Posted : 27/12/2024 4:52 pm
Ruan17
(@ruan17)
Posts: 6
Active Member
Topic starter
 

I've tried this, but when the tool creates the schedule and generates an ID, it's not being saved in the conversation memory.

 
Posted : 27/12/2024 9:29 pm
Ramon_Tomzer
(@ramon_tomzer)
Posts: 3
New Member
 

have the ID returned in the AI agent's response when the event is initially created…

alternatively, you might need to create a “Get Calendar Events” tool that locates calendar events within a specified time frame. This tool will return a list of calendar events, and then you can designate which one to delete.

 
Posted : 27/12/2024 9:47 pm
Ruan17
(@ruan17)
Posts: 6
Active Member
Topic starter
 

It would be beneficial if the native calendar function provided this information directly, eliminating the need for a workaround. Is there a more straightforward method to achieve this?

 
Posted : 28/12/2024 5:43 pm
Ramon_Tomzer
(@ramon_tomzer)
Posts: 3
New Member
 

I'm not familiar with it. The AI agent I developed for personal use includes functions for creating events, retrieving events, and deleting events. I usually manage deletions by instructing my agent to fetch events for a specific day, and then I ask it to delete a particular event after it provides a list that includes the event I want removed. There might be a more efficient method, but I haven't found it yet.

 
Posted : 29/12/2024 12:31 am
system
(@system)
Posts: 332
Reputable Member
 

This thread was automatically closed 90 days following the last response. New replies are no longer permitted.

 
Posted : 29/03/2025 12:31 am
Share: