AutomationMart
Home/Browse/Automated weekly Google Calendar summary via email with AI βœ¨πŸ—“οΈπŸ“§
n8n

Automated weekly Google Calendar summary via email with AI βœ¨πŸ—“οΈπŸ“§

n8nn8n10 modulesv1.0
GmailGoogle CalendarOutlookGemini

Workflow: Automated Weekly Google Calendar Summary via Email with AI βœ¨πŸ—“οΈπŸ“§ Get a personalized, AI-powered summary of your upcoming week's Google Calendar events delivered straight to your inbox! This workflow automates the entire process, from fetching events to generating an intelligent summary and emailing it to you. 🌟 Overview This n8n workflow connects to your Google Calendar, retrieves events for the upcoming week (Monday to Sunday, based on the day the workflow runs), uses Googl

At a glance

Automated weekly Google Calendar summary via email with AI βœ¨πŸ—“οΈπŸ“§ is a ready-made n8n workflow you import as a workflow JSON file β€” no build required. It connects Gmail, Google Calendar, Outlook, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Google Calendar, Outlook, Gemini
Modules
10
Price
Free
Version
v1.0
Automated weekly Google Calendar summary via email with AI βœ¨πŸ—“οΈπŸ“§ workflow diagram

About this workflow

Workflow: Automated Weekly Google Calendar Summary via Email with AI βœ¨πŸ—“οΈπŸ“§ Get a personalized, AI-powered summary of your upcoming week's Google Calendar events delivered straight to your inbox! This workflow automates the entire process, from fetching events to generating an intelligent summary and emailing it to you. 🌟 Overview This n8n workflow connects to your Google Calendar, retrieves events for the upcoming week (Monday to Sunday, based on the day the workflow runs), uses Google Gemini AI to create a well-structured and insightful summary, and then emails this summary to you. It's designed to help you start your week organized and aware of your commitments. Key Features: Automated Weekly Summary: Runs on a schedule (default: weekly) to keep you updated. AI-Powered Insights: Leverages Google Gemini to not just list events, but to identify important ones and offer a brief weekly outlook. Personalized Content: Uses your specified timezone, locale, name, and city for accurate and relevant information. Clear Formatting: Events are grouped by day and displayed chronologically with start and end times. Important events are highlighted. Email Delivery: Receive your schedule directly in your inbox in a clean HTML format. Customizable: Easily adapt to your specific calendar, AI preferences, and email settings. βš™οΈ How It Works: Step-by-Step The workflow consists of the following nodes, working in sequence: 1. weeklyschedule (Schedule Trigger): What it does: Initiates the workflow. Default: Triggers once a week at 12:00 PM. You can adjust this to your preference (e.g., Sunday evening or Monday morning). 2. locale (Set Node): What it does: This is a crucial node for you to configure! It sets user-specific parameters like your preferred language/region (users-locale), timezone (users-timezone), your name (users-name), and your home city (users-home-city). These are used throughout the workflow for correct date/time formatting and personalizing the AI prompt. 3. date-time (Set Node): What it does: Dynamically generates various date and time strings based on the current execution time and the locale settings. This is used to define the precise 7-day window (from the current day to 7 days ahead, ending at midnight) for fetching calendar events. 4. getnextweeksevents (Google Calendar Node): What it does: Connects to your specified Google Calendar and fetches all events within the 7-day window calculated by the date-time node. Requires: Google Calendar API credentials and the ID of the calendar you want to use. 5. simplifyevensjson (Code Node): What it does: Runs a small JavaScript snippet to clean up the raw event data from Google Calendar. It removes several fields that aren't needed for the summary (like htmlLink, etag, iCalUID), making the data more concise for the AI. 6. aggregateevents (Aggregate Node): What it does: Takes all the individual (and now simplified) event items and groups them into a single JSON array called eventdata. This is the format the AI agent expects for processing. 7. Google Gemini (LM Chat Google Gemini Node): What it does: This node is the connection point to the Google Gemini language model. Requires: Google Gemini (or PaLM) API credentials. 8. eventsummaryagent (Agent Node): What it does: This is where the magic happens! It uses the Google Gemini model and a detailed system prompt to generate the weekly schedule summary. The Prompt Instructs the AI to: Start with a friendly greeting. Group events by day (Monday to Sunday) for the upcoming week, using the user's timezone and locale. Format event times clearly (e.g., 09:30 AM - 10:30 AM: Event Summary). Identify and prefix "IMPORTANT:" to events with keywords like "urgent," "deadline," "meeting," etc., in their summary or description. Conclude with a 1-2 sentence helpful insight about the week's schedule. Process the input eventdata (the JSON array of calendar events). 9. Markdown (Markdown to HTML Node): What it does: Converts the text output from the eventsummaryagent (which is generated in Markdown format for easy structure) into HTML. This ensures the email body is well-formatted with proper line breaks, lists, and emphasis. 10. sendemail (Email Send Node): What it does: Sends the final HTML summary to your specified email address. Requires: SMTP (email sending) credentials and your desired "From" and "To" email addresses. πŸš€ Getting Started: Setup Instructions Follow these steps to get the workflow up and running: 1. Import the Workflow: Download the workflow JSON file. In your n8n instance, go to "Workflows" and click the "Import from File" button. Select the downloaded JSON file. 2. Configure Credentials: You'll need to set up credentials for three services. In n8n, go to "Credentials" on the left sidebar and click "Add credential." Google Calendar API: Search for "Google Calendar" and create new credentials using OAuth2. Follow the authentication flow. Once created, select these credentials in the getnextweeksevents node. Google Gemini (PaLM) API: Search for "Google Gemini" or "Google PaLM" and create new credentials. You'll typically need an API key from Google AI Studio or Google Cloud. Once created, select these credentials in the Google Gemini node. SMTP / Email: Search for your email provider (e.g., "SMTP," "Gmail," "Outlook") and create credentials. This usually involves providing your email server details, username, and password/app password. Once created, select these credentials in the sendemail node. 3. ‼️ IMPORTANT: Customize User Settings in the locale Node: Open the locale node. Update the following values in the "Assignments" section: users-locale: Set your locale string (e.g., "en-AU" for English/Australia, "en-US" for English/United States, "de-DE" for German/Germany). This affects how dates, times, and numbers are formatted. users-timezone: Set your timezone string (e.g., "Australia/Sydney", "America/NewYork", "Europe/London"). This is critical for ensuring event times are displayed correctly for your location. users-name: Enter your name (e.g., "Bob"). This is used to personalize the email greeting. users-home-city: Enter your home city (e.g., "Sydney"). This can be used for additional context by the AI. 4. Configure the getnextweeksevents (Google Calendar) Node: Open the node. In the "Calendar" parameter, you need to specify which calendar to fetch events from. The default might be a placeholder like c4d9c2d4e139327143ee4a5bc4db531ffe074e98d21d1c28662b4a4d4da898866@group.calendar.google.com. Change this to your primary calendar (often your email address) or the specific Calendar ID you want to use. You can find Calendar IDs in your Google Calendar settings. 5. Configure the sendemail Node: Open the node. Set the fromEmail parameter to the email address you want the summary to be sent from. Set the toEmail parameter to the email address(es) where you want to receive the summary. You can also customize the subject line if desired. 6. (Optional) Customize the AI Prompt in eventsummaryagent: If you want to change how the AI summarizes events (e.g., different keywords for important events, a different tone, or specific formatting tweaks), you can edit the "System Message" within the eventsummaryagent node's parameters. 7. (Optional) Adjust the Schedule in weeklyschedule: Open the weeklyschedule node. Modify the "Rule" to change when and how often the workflow runs (e.g., a specific day of the week, a different time). 8. Activate the Workflow: Once everything is configured, toggle the "Active" switch in the top right corner of the workflow editor to ON. πŸ“¬ What You Get You'll receive an email (based on your schedule) with a subject like "Next Week Calendar Summary : [Start Date] - [End Date]". The email body will contain: A friendly greeting. Your schedule for the upcoming week (Monday to Sunday), with events listed chronologically under each day. Event times displayed in your local timezone (e.g., 09:30 AM - 10:30 AM: Team Meeting). Priority events clearly marked (e.g., IMPORTANT: 02:00 PM - 03:00 PM: Project Deadline Review). A brief, insightful observation about your week's schedule. πŸ› οΈ Troubleshooting & Notes Timezone is Key: Ensure your users-timezone in the locale node is correct. This is the most common source of incorrect event times. Google API Permissions: When setting up Google Calendar and Gemini credentials, make sure you grant the necessary permissions. AI Output Varies: The AI-generated summary can vary slightly each time. The prompt is designed to guide it, but LLMs have inherent creativity. Calendar Event Details: The quality of the summary (especially for identifying important events) depends on how detailed your calendar event titles and descriptions are. Including keywords like "meeting," "urgent," "prepare for," etc., in your events helps the AI. πŸ’¬ Feedback & Contributions Feel free to modify and enhance this workflow! If you have suggestions, improvements, or run into issues, please share them in the n8n community. Happy scheduling!

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send a Vybit notification for an updated Google Calendar event containing a specific phrase

Every time a Google Calendar event containing a specific phrase is updated, Make will automatically send a Vybit notification.

Free

Email-to-task automation with AI (Gmail/Outlook to Google Tasks/Microsoft To Do)

Description Automate your personal productivity by transforming actionable emails from Gmail and Outlook into structured tasks within Google Tasks or Microsoft To Do, all managed by a multi-agent AI system. This advanced workflow utilizes a powerful Mistral Large AI Agent to orchestrate your daily task management. It operates by fetching recent emails, structuring the data, determining the correct task manager, and delegating the execution to specialized sub-agents. It's built with rate-limiting

Free

Generate AI photos with Gemini & auto-post to FB, Instagram & X with approval

Social Media Foto Creation Bot with Approval Loop Create & Share AI Photos with Telegram, Gemini & Post to Facebook, Instagram & X Description This n8n workflow turns your Telegram messenger into a complete AI Photo Content Pipeline. You send your photo idea as a text or voice message to a Telegram bot, collaborate with an AI to refine the prompt and social media caption, let Gemini generate the image, and then automatically publish it after your approval to Facebook, Instagram, and X (Twitter)

Free

Tag and/or comment on Zendesk tickets when an email to requester is not delivered (from Microsoft 365 Email)

Use this template to automatically tag and/or comment on a Zendesk ticket if an email sent to a requester had not been delivered. The template works if you're using Zendesk in connection with Outlook.

Free

Create Google Calendar events from Clockify time entries

Streamline your time management by automatically creating events in Google Calendar whenever a new time entry is logged in Clockify. This template ensures that all your tracked hours are seamlessly reflected in your calendar, helping you stay organized and on top of your schedule. Perfect for professionals who want to enhance their productivity and maintain a clear overview of their time commitments.

Free

Find and delete Google Calendar events when new Todoist tasks are completed

Find and delete Google Calendar events when new Todoist tasks are completed. Contents of previously created Todoist tasks must be Google Calendar Event IDs in order to use this template. You can use [this template](https://www.integromat.com/en/integration/6569-add-new-google-calendar-events-to-todoist-as-tasks) in order to meet the flow requirements.

Free

Summarize & reply to Slack channel messages with Claude AI assistant

What It Does Mello is a Claude-powered Slack assistant that helps you stay on top of unread messages across all your channels. It: - Summarizes conversations contextually using Claude AI. - Generates reply suggestions and sends them as private (ephemeral) Slack messages. - Lets you respond instantly with one-click AI-suggested replies. Perfect for busy teams, founders, and anyone looking to reduce Slack noise and save hours each week. --- πŸ”§ Setup Instructions 1. Create a Slac

Free

Automated AI image tagging and writing the keywords into the image file

Welcome to my Automated Image Metadata Tagging Workflow! This workflow automatically analyzes the image content with the help of AI and writes it directly back into the image file as keywords. This workflow has the following sequence: 1. Google Drive trigger (scan for new files added in a specific folder) 2. Download the added image file 3. Analyse the content of the image and extract the file as Base64 code 4. Merge Metadata and Base64 Code 5. Code Node to write the Keywords into the Metadata (

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint β€” instant download
  • Setup guide PDF included
  • 5 downloads Β· valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free