AI-Powered Calendar Reminder via Telegram - n8n Workflow

Deploy this sophisticated n8n workflow to automate Google Calendar reminders. Uses the n8n trigger (Schedule) and GPT-4o-mini to create friendly, personalized Telegram alerts 1 hour before events.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Users who rely on Google Calendar but frequently miss native alerts.
Professionals needing personalized, conversational reminders.
Automation specialists looking for advanced n8n templates integrating AI agents.
Anyone seeking a custom, reliable n8n workflow solution for time management.

Overview

Standard calendar alerts are often easy to ignore or overlook. This advanced n8n workflow solves that by transforming generic event data into a conversational, personalized reminder, delivered right to your Telegram chat. Utilizing a specialized AI Secretary Agent powered by GPT-4o-mini, this n8n automation fetches events exactly 60 minutes before they start. It uses an n8n node for deduplication to prevent sending redundant messages, and crafts a professional, yet friendly reminder based on the event details. This n8n workflow is a powerful example of integrating complex AI logic into personal productivity loops using a simple n8n trigger.

How it Works

This smart n8n workflow executes through a precise series of steps:


  1. Scheduled n8n Trigger: The n8n workflow initiates using the Schedule Trigger n8n node, configured to run every minute to constantly monitor the calendar.

  2. Fetch Upcoming Events: The Google Calendar n8n node retrieves events scheduled to start between 60 and 61 minutes in the future, ensuring accurate, timely alerts.

  3. Deduplication Check: The "Already sent?" n8n node (Remove Duplicates) checks the unique event ID ({{ $json.id }}) against past executions. This is crucial for flow control, ensuring the n8n workflow sends the reminder only once, regardless of how often the schedule n8n trigger fires.

  4. AI Message Generation: The Secretary Agent n8n node (a Langchain Agent) receives the detailed event data. It leverages the linked OpenAI n8n node (GPT-4o-mini) and a custom system prompt (defining its persona as a professional virtual secretary) to generate a warm, conversational summary of the appointment.

  5. Reminder Delivery: The final Telegram n8n node takes the AI-generated message output ({{ $json.output }}) and dispatches it immediately to the specified user chat ID, completing the customized n8n automation.

Installation Guide

To set up this n8n workflow, follow these steps:


  1. Import: Copy the provided JSON and import it into your n8n instance.

  2. Credentials: Set up and connect three credentials:

Google Calendar OAuth2: Grant access to the calendar you wish to monitor.
OpenAI API Key: Connect your API key to the 'OpenAI Chat Model' n8n node.
* Telegram API: Connect your Telegram Bot token.

  1. Configuration (Google Calendar n8n node): Ensure the correct calendar ID is selected in the 'Get upcoming event' n8n node.

  2. Configuration (Telegram n8n node): Replace CHAT_ID in the 'Send reminder' n8n node parameters with the ID of the chat where the bot should send the alerts. The message content is automatically populated via an expression sourcing the AI agent's output.

  3. Activation: Enable the 'Schedule Trigger' n8n trigger to start the recurring automation.

Node Details

Schedule Trigger n8n node: The primary n8n trigger for the entire system. It is configured to run on a 1-minute interval, continuously checking for imminent events.
Google Calendar n8n node (Get upcoming event): Retrieves calendar data. Key configuration uses dynamic expressions for the time range: timeMin="={{ $now.plus({ hour: 1 }) }}" and timeMax="={{ $now.plus({ hour: 1, minute:1 }) }}". This precisely filters for events starting 60 minutes from the current time.
Remove Duplicates n8n node (Already sent?): Essential logic gate. Configuration is set to removeItemsSeenInPreviousExecutions using the event ID ({{ $json.id }}) as the deduplication value, ensuring the n8n workflow avoids repeating messages.
OpenAI Chat Model n8n node: Serves as the language model backend for the Agent. It is configured to use the efficient gpt-4o-mini model.
Langchain Agent n8n node (Secretary Agent): The intelligence core of this n8n workflow. It is fed detailed event parameters and runs against a specific 'Virtual Secretary' system prompt, which dictates a friendly, professional, and conversational output style.
Telegram n8n node (Send reminder): The final communication n8n node. It sends the refined AI output ({{ $json.output }}) to the user, providing the actionable reminder.

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at [email protected] or add me on Linkedin.com/in/davideboizza

Featured*