My Calendar agent alway create event one day ahead?

Hi All
I have just download a workflow agent for manage my calendar .
i have set the time zone to singapore.


I also info AI Agent system prompt now the time and date 2 April 2025 , see below image : -

When i ask AI agent to create an event today 4 Pm feed the dog , it will create the event not today but tomorrow.

May i know where go wrong ?

Paul

Hi, which template are you using exactly? Can you please post it here? Maybe it’s a template that only start looking from tomorrow till +14days or so (since most people e.g. business related calendar mgmt) don’t prefer to have same day appointments.

It’s best to share your workflow so it can be diagnosed in a better way.

Reg,
J.

@jcuypers
Thank you for sharing , below is my workflow

Hi can you also include the sub-workflow for calendar please ?

@jcuypers later I will share my calendar workflow . By the I just tested , if I ask agent create event on 4 April 4 Pm , it will create 5 April 4 Pm . I already change the time zoom to Singapre .

Yes sure i understand, but surely there would be some filter on the calendar retrieval which filters the events to start from day+1 to day+14. most likely

@jcuypers

The only thing that i can think of that this value might be empty or incorrect somehow:

{{ $fromAI(“dayBefore”,“the day before the date the user requested”) }}

together with something like this

DateTime.now().setZone(‘system’).minus({ days: 1 }).toISODate() as the default value

You could try to hard-code a datetime value to test.

@jcuypers
The hard code script you share with me , may i know where should i paste to ? i try to paste at AI agent system prompt section it look no right.

Also how to create the document link with a box ? can you share

Thank you for your help

Paul

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.