How to filter outlook events dynamicly by AI

Problem

I want to filter the events dynamicly by my ai agent.

as i can do it on google calendar.

But couldnt figure out how to make it work for outlook.

I do not have any error message, i just did not get the results i am looking for.

I couldt share the template. did not find out how.

Share the output returned by the last node

Information on your n8n setup

  • n8n version: [email protected]
  • **Database (default: SQLite):**SQLite
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):**own, main
  • **Running n8n via (n8n cloud):**n8n cloud
  • Operating system: Mac

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:

Hi @Erdem_Guner, you’ve probably found a solution already, but sharing mine here anyway as I was facing the same challenge and solved it like this:

start/dateTime gt '{{ new Date('2025-03-20T00:00:00').toISOString().split('.')[0]  }}'
 and 
start/dateTime lt '{{ new Date(new Date('2025-03-20T00:00:00').getTime() + 86400000).toISOString().split('.')[0]  }}'

In my use case, I just want to see events per particular day and have AI decide which date to check - just replace the date by $fromAI(‘date_placeholder’).

Mind that the date here gets converted to UTC to align with the calendar.

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