Overview

Manually tallying employee leave from calendar events wastes time and invites errors. This workflow extracts Holiday and Illness absences from a specified Google Calendar for the previous month, summarizes days off per employee, and emails a clean report. It slashes manual work and prevents missed records.

The Impact

  • Eliminate manual counting. Automatically aggregates absence days per employee.
  • Prevent omissions. Parses event details to ensure no leave entry is missed.
  • Accelerate reporting. Sends summary emails directly to stakeholders.
  • Standardize data. Categorizes absences as Holiday or Illness for clarity.

Who This Is For

  • HR Personnel Automate monthly leave summaries and email reports to managers.
  • Team Leaders Quickly review team absence status for meetings or reviews.
  • Administrative Staff Archive leave records for compliance and audits.
  • Remote Work Coordinators Track illness and holiday absences efficiently.

How It Works

1
  1. Calculate Previous Month Range
  2. Derives start and end timestamps for the prior month and formats the month name for report headers.
2
  1. Get Calendar Events
  2. Fetches all events within the previous month from the specified Google Calendar.
3
  1. Parse Calendar Events
  2. Identifies Holiday or Illness events, extracts employee names from descriptions, and counts absence days per person.
4
  1. Build Email Message
  2. Constructs an email subject and body summarizing absences by category and employee.
5
  1. Send Mail
  2. Delivers the absence report email to the designated recipient.

What You'll Need

Before using this template, make sure you have:

  • Google Calendar credentials authorized to access the target calendar.
  • Gmail credentials set up to send emails from your account.
  • A Google Calendar with leave events properly labeled as "Holiday" or "Illness" in the summary.
  • Clear employee names at the start of each event description, separated by commas if there are notes.

How to Use

  1. Step 1. Create Leave Events
  2. Enter leave days in your Google Calendar, labeling event summaries with "Holiday" or "Illness" and starting descriptions with the employee's name.

  3. Step 2. Configure Credentials
  4. Ensure Google Calendar and Gmail credentials are authorized in the workflow.

  5. Step 3. Set Parameters
  6. Fill in the CalendarId (email or 'primary') and RecipientEmail for report delivery.

  7. Step 4. Run the Workflow
  8. Trigger execution to process last month’s events, generate the summary, and send the email.

  9. Step 5. Verify Results
  10. Check the recipient inbox for the absence report and confirm data accuracy.

FAQs

How does the workflow determine the absence type?
It checks the event summary for the keywords "Holiday" or "Illness" to categorize the absence type.
What if an event spans multiple days?
Currently, each event counts as a single day absence; multi-day events are not merged or counted accordingly.
How does the workflow extract employee names?
It takes the text before the first comma in the event description as the employee's name.
Can I use this with any Google Calendar?
Yes, as long as you provide the correct CalendarId and have authorized access with valid credentials.
Who receives the absence report email?
The workflow sends the report to the email address specified in the RecipientEmail parameter.
Was This Page Helpful?

More Workflows for Inspiration

✒️
YouTube Podcast Summary and Save to Sheets
Automate podcast transcript capture, summary generation, and archiving to Google Sheets instantly.
Learn more >
💬
Workspace Default Flow
Automate conversation start logic to flexibly switch AI modes and optimize response accuracy.
Learn more >
🔍
WordPress Post AI Auto-Categorizer
Automatically assign primary categories to WordPress posts using AI, saving time and ensuring consistency.
Learn more >