I have tried to watch youtube videos, looked on here what to do, still wont work, i need help, i have attached a photo. my delete event node will not work
all i want it to do is go on the calendar and delete the event a customer has asked for as shown in the picture but chatbot says that the appointment doesnt exist even tho it says the appointment on my google calendar,
everything works minus the delete event node, im so confused, can someone help, much appreciated`
So, something’s not right. You use {{ json.sessionId }}, while in the workflow screenshot there’s nothing that would set this value. Additionally, the n8n assistant tells you that you use value $fromAI - Event_ID. So, there’s discrepancy between first and second screenshot. You should change Event ID back to AI generated value AND - this is really important and this is probably why you have this error - you have to tell the AI agent in system prompt that your tool Delete Event should fill in Event_ID passed by user. Sometimes if you fail to specify the agent how it should fill in the fields “$fromAI”, it will not work properly.
thanks for getting back to me i did try this but it shows up red and when i click execute cude it asks for event id which i have no clue what to put in
really struggling on what to do next
function $fromAI is defined as below: $fromAI(key, description?, type?, defaultValue?). Try defining the function as below (adding description of what the field is):
$fromAI(‘Event_ID’, ‘ID of the calendar event to delete passed by the user’, ‘string’)
Thanks for getting back to me, i managed to play around with it, and a found a fix by adding a get many event node, by adding this the delete event node could retrieve the eventid - the error just managed to go away by itself
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.




