Dynamically send out-of-office / vacation message using Gmail & Google Calendar
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 6 nodes and runs on Gmail events. Along the way it connects Google Calendar and Gmail.
How it runs
Trigger: On Gmail events.
- Check Calendar for Upcoming Work Events (Google Calendar): get many
- Any Upcoming Events Today? (If): checks a condition and branches into true / false
- Find Return-to-Office Date (Google Calendar): get many
- Nicely Format Return Date (Code): runs custom JavaScript code
- Send Out of Office Message (Gmail): uses Gmail
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Receive an Email in Gmail).
Nodes used (5)
- Google Calendar
n8n-nodes-base.googleCalendar - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - If
n8n-nodes-base.if
From the author
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…