Dynamically Send Out-of-Office / Vacation Messages Using Gmail & Google Calendar

## What it Does Automatically checks your Google Calendar to determine if you're officially off work for the rest of today. If so, it auto-sends a personalized out-of-office reply via Gmail, telling senders when you'll be back based on your next calendar entry within the next 2 weeks. ## Prerequisites To use this template, you'll need: - Gmail credentials (for the trigger and reply nodes) - Google Calendar credentials (for both calendar checks) - A dedicated work calendar selected in the Calendar nodes ## Workflow Logic 1. Gmail Trigger - Monitors incoming emails every minute - Can be filtered (e.g., labels or VIP senders) 2. Calendar Check #1 - Inspects if any events remain today 3. Calendar Check #2 - If no remaining events, scan the next 14 days for the next event 4. Function Node - Formats the return date as Weekday, Month D, YYYY (e.g., Thursday, July 24, 2025) 5. Gmail Send - Sends a customized out-of-office email, using the formatted date - Optionally includes n8n attribution (editable) ## User Setup Instructions - Gmail Trigger: Connect your Gmail account and add any desired filters (labels, senders). - Google Calendar Nodes: Connect your calendar account and select your "work" calendar in both nodes. - Function Node: No changes needed unless you prefer a different date format. - Gmail Send Node: Edit the message template and toggle attribution as desired. ## Customization - Options Edit the final email content and tone in the Send node - Adjust calendar lookahead in Calendar Check #2 (default is 14 days) - Add Gmail filters to restrict auto-replies (e.g., only specific senders or labels) ## Why It's Useful Ideal for freelancers, consultants, or remote workers who don't follow a strict 9-5, yet want automated responses aligned with their actual availability, not a static setting. It's dynamic, real-time, and easy to tweak. ## Classification Use Case: Calendar-driven out-of-office automation Recommended audience: Business professionals, freelancers, remote employees

n8n
Dynamically Send Out-of-Office / Vacation Messages Using Gmail & Google Calendar
$9.99
Last updated September 5, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Communication workflows

More from Rosh Ragel

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.