I tried it and it called the event in the past.
Hi @Panupol_Sonnuam, the Order By parameter sorts ascending, meaning the first result will have the oldest update. I first though we might have simply forgotten to implement an option to switch between ascending and descending order, but Google doesn’t offer this from the looks of it:
So it would seem to me you have to fetch all events and do the sorting outside of the Google Calendar node (for example using the Item Lists node). Fetching all events can result in a huge amount of data crashing n8n (depending on how much memory you have). So, you might want to reduce the result size by using the Updated Min parameter or by implementing pagination for this. An example workflow showing how to paginate through calendar events would be this one:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.