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
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Customer Support Automation Suite
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $9.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Communication workflows
- Automate Intelligent Email Classification with AI in Gmail$4.99
- Automate Outbound Calls with Ultravox AI and Twilio$4.99
- Generate AI videos and carousels with Blotato for Instagram and TikTok$9.99
- Automating WhatsApp Replies Using GoHighLevel with Redis and Anthropic$24.99
- Automate Gmail Email Labeling with AI for Enhanced Organization$14.99
- Automate Email Summarization and Logging with AI and Google Sheets$9.99
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.