Automate Your Focus Time: Reclaim Your Calendar
detail.loadingPreview
Tired of a back-to-back schedule? This n8n workflow automatically identifies and schedules dedicated focus time blocks in your Google Calendar. Ensure you have uninterrupted periods for deep work, boosting your productivity and well-being.
About This Workflow
The 'FocusTime' n8n workflow is designed to bring intentionality back to your workday. By analyzing your Google Calendar, it intelligently identifies periods where you have significant meeting density (6+ hours booked) and carves out uninterrupted focus time slots. This automation proactively protects your most valuable work blocks, preventing burnout and enabling you to tackle complex tasks without constant interruption. It calculates available free slots within your typical work hours (9 AM to 5 PM) and ensures these slots are at least 15 minutes long. The workflow provides clear feedback on the number of focus slots found and the days analyzed, empowering you to take control of your schedule.
Key Features
- Intelligent Calendar Analysis: Automatically scans your Google Calendar for the full week.
- Focus Time Identification: Pinpoints days with 6+ hours of booked meetings.
- Automatic Slot Creation: Generates 'Focus Time' events for available gaps.
- Configurable Workday: Operates within your defined work hours (9 AM - 5 PM).
- Minimum Slot Duration: Ensures focus blocks are at least 15 minutes long.
How To Use
- Schedule Trigger: Configure the
Schedule Triggerto run daily at your preferred time (e.g., '0 8 * * *' for 8 AM daily) to analyze the upcoming week. - Get Full Week Events: Connect your Google Calendar account via OAuth2 to the
Get Full Week Eventsnode. Ensure it's set to the 'Primary' calendar or the calendar you wish to analyze. - Calculate Full Week Focus Time Slots: This node contains the core logic. It analyzes events from the previous node, identifies days with 6+ booked hours between 9 AM and 5 PM, and calculates available focus time slots.
- Should Create Focus Time?: This
Ifnode checks the output from the code node. IfshouldCreateFocusTimeis true, it proceeds to create the events; otherwise, it stops. - Create Focus Time: If the
Ifnode condition is met, this node will create new 'Focus Time' events in your Google Calendar based on the calculated free slots. Configure any additional parameters or notifications here as needed.
Apps Used
Workflow JSON
{
"id": "fc2f8483-aa38-4ee4-827c-40972b353a8b",
"name": "Automate Your Focus Time: Reclaim Your Calendar",
"nodes": 11,
"category": "Personal",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: fc2f8483-aa38...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Automate Your Daily Briefing: News, Emails, and Tasks
Streamline your day by automatically fetching the latest news from Times of India, important emails from your Gmail, and your upcoming Todoist tasks. Get a consolidated, beautifully formatted daily digest delivered straight to your inbox.
Daily AI-Powered Morning Briefing
Start your day with clarity and focus using this n8n workflow. It automatically fetches your tasks from Todoist and events from Google Calendar, then leverages AI to create a concise, personalized daily briefing delivered directly to your inbox every morning. This ensures you always know your top priorities and upcoming schedule at a glance.
Smart Expense Tracking with Telegram & AI
Automate your personal finance management by turning your Telegram chat into an intelligent expense tracker. Simply send a photo of a receipt or a text message, and this workflow uses AI to categorize your spending, extract crucial details, and provide instant summaries.