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
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.
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.