Send weekly timesheet reminder emails via Gmail

Recipe ToolsMarketingDeveloper ToolCustomer Data PlatformAPI IntegrationProductivitySales Enablement

What it does

When the scheduled time arrives each Monday at 2 PM, this automation fetches all users in Hive and checks whether each one submitted a timesheet for the prior week. It sends a Gmail reminder to anyone who did not submit.

Who it's for

HR teams who need to remind employees to submit timesheets without manual follow-up each week.

How teams use this

Remind employees to submit timesheets

Run the check every Monday morning so employees see a reminder in their inbox before the work week starts. The message can include a link to the timesheet form or portal.

Adjust the reminder schedule

Change the trigger day or time to run on Friday afternoon instead, so employees have a weekend reminder. The rest of the flow stays the same.

Filter reminders by department

Add a condition to only send reminders to users in a specific department or team. Include a department filter in the user list step so only those employees receive the email.

Send via Outlook instead of Gmail

Replace the Gmail step with Outlook to send reminders from a corporate email account. The schedule and user check logic remain unchanged.

How it works

  1. Run every Monday at 2 PM. This automation runs on a schedule every Monday at 2 PM to check timesheets from the prior week (Monday through Sunday).
  2. Calculate start and end dates. Execute JavaScript code to set the start and end date variables for the prior week's timesheet period.
  3. List all users in Hive. Fetch the complete list of users in the Hive workspace so the automation can check each person's timesheet status.
  4. Retrieve timesheets for each user. For each user in the loop, pull their timesheet records via REST API to see whether they submitted one for the prior week.
  5. Send reminder email to non-submitters. Send a Gmail reminder to any user who has no timesheet for last week, with a customizable message and optional HTML formatting for links.