Use this powerful n8n workflow to automatically analyze your upcoming week's calendar, identify busy days (6+ hours booked), and block dedicated focus time slots using n8n templates.
Download this n8n workflow template and start using it instantly.
This n8n workflow solves the common problem of fragmented work time caused by excessive meetings. By running daily, this automation looks ahead at the full current week (Sunday to Saturday) and identifies any day where 6 or more hours of an 8-hour workday (defined as 9 AM to 5 PM) are already booked. If a day is deemed 'busy' based on this 6+ hour threshold, the workflow calculates the remaining open blocks—free slots of 15 minutes or more—and automatically creates 'Focus Time' events in your Google Calendar. This sophisticated n8n node combination ensures that high-priority deep work is scheduled precisely when your calendar is most demanding, maximizing efficiency and protecting your schedule. Use this powerful n8n template to regain control over your work week.
Schedule Trigger n8n trigger node.Calculate Full Week Focus Time Slots n8n node analyzes the data. It iterates through each day, calculates the booked time between 9 AM and 5 PM, and identifies days exceeding 6 hours of booked time.IF n8n node checks the output to determine if any focus time slots were found (shouldCreateFocusTime is true).Split Free Slots n8n node transforms the array of time slots into individual items. Schedule Trigger n8n trigger: Sets the execution schedule. It runs every day at 8:00 AM (0 8 ).
Google Calendar (Get Full Week Events) n8n node: Authenticates with Google and fetches all calendar events from the 'Primary' calendar to analyze the weekly load.
Calculate Full Week Focus Time Slots (Code n8n node): Contains the complex logic to calculate booked time and identify free slots. Key settings include:
Work window: 9:00 AM to 5:00 PM.
Busy threshold: 6+ hours booked required to trigger focus time creation.
Minimum slot duration: 15 minutes.
Should Create Focus Time? (IF n8n node): A core logic n8n node that directs the flow based on the custom code's shouldCreateFocusTime output.
Split Free Slots (Item Lists n8n node): Splits the array of calculated focus slots so each slot can be handled individually by the subsequent 'Create Event' n8n node.
Create Focus Time Event (Google Calendar n8n node): Uses the output from the split items to create new calendar events titled 'Focus Time' on the respective busy day.
Automate bidding on Freelancer.com using this powerful n8n workflow. Features include AI proposal generation via OpenAI, duplicate bid prevention, and real-time bid approval via Telegram.

Use this robust n8n workflow template to automatically back up all your n8n workflows to Microsoft OneDrive daily, clean up old folders (>31 days), and receive a detailed HTML success email.

Automate proactive SEO monitoring using this advanced n8n workflow. It detects critical traffic and rank drops via Google Search Console, analyzes the root cause with OpenAI, and sends actionable content improvement reports directly to Slack. Use this n8n templates structure for immediate value.

Use this powerful n8n workflow template to trigger Vapi outbound AI voice calls immediately upon new submissions via Typeform. Perfect for rapid lead qualification.

Automate short-form video content using this advanced n8n workflow. Triggers on Google Drive, adds Submagic captions, generates AI text via OpenAI, and posts using Postiz to Instagram and TikTok.









































