Challenge With Finding The Right Event ID To Use

Hey, i need help finding the right expression to use to fetch events ID’s from my calendar create node.



So far I have managed to successfully automate event scheduling on google calendar from telegram prompts. I however have been unable to find the right expression that fetches the specific even ID i want deleted through my tg prompts.

What expression should I use ? PS find a screenshot of the missing expression and my automation flow below

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Hey @Brian_Adams welcome to the community!

Just to set the expectation, this tool will only allow you to delete one event at a time so it’s not possible to provide all the event IDs in one delete request. The agent will need to run the tool multiple times.

The expression I believe you need is:

$fromAI("eventId", "The google calendar event id")

Assuming the agent is calling the tool in the right context.

A tool description may also be helpful

Call this tool to delete a single calendar event.

Hope this helps!

1 Like

It worked perfectly. Thank you for your assistance.

I would also like to set up memory of all previous interactions. What would be the appropriate expression to set ? Also please share any material I can reference to on how to set up expressions.