DEV Community

Cover image for ⌛️Weekly Focus Forge: Automated Hour Tracking 🗓️⏱️
Divya
Divya Subscriber

Posted on

⌛️Weekly Focus Forge: Automated Hour Tracking 🗓️⏱️

This is a submission for the Runner H "AI Agent Prompting" Challenge


🎯 What I Built

I built an Automated Weekly Hourly Tracker Orchestrator, an autonomous Runner H agent that structures your time, sharpens your focus, and documents your progress—without any manual effort.

This agent integrates Google Calendar, Gmail, and Google Docs into a seamless productivity loop:

1️⃣ OAuth Setup:

Prompts users to connect their Gmail, Calendar, and Google Docs—smooth and secure.

2️⃣ Personalized Setup:

Asks for user’s name and email (optional but improves personalization in emails).

3️⃣ Customized Schedule:

  • Choose the start date
  • Pick start and end times (e.g., 2:00 PM to 5:00 PM)
  • Set your preferred block duration (default is 60 mins, but customizable)

4️⃣ Smart Notifications:

  • You’ll receive a “Day Start” email 10 minutes before your first block.
  • After each block ends, you’ll get an email with a Google Doc asking what you accomplished.
  • At the end of the day, the doc is exported to PDF and emailed to you.

5️⃣ Automated Calendar Events for 7 Days:

Calendar is pre-scheduled with events for the entire 7-day window. Each block has notification triggers built in.

“We don’t need more hours in a day. We need better hours.

This is the workflow that makes your hours count. Focused & trackable.


🎬 Demo

Here’s the full flow, captured in real time:

▶️ YouTube Demo – Watch me set up and run the tracker live:-

▶️ Runner H in Action – See the autonomous agent orchestrate it all in real time:-


📸 Screenshots & Snapshots

Each image highlights a key step in this automated workflow:

User selects start date (2025-06-23), 14:00–17:00 window, and 60-min blocks

Confirmation dialog showing 7-day schedule and upcoming notifications

Runner H requesting access to Google Calendar, Gmail, and Docs

Google Doc titled “2025-06-23 – Hourly Tracker Log” with appended hour prompts

Google Calendar showing 3 back-to-back events per day for a week

Event reminder settings and Doc-creation trigger details

Daily setup summary exported as PDF

Inbox showing Day Start, Block Complete, and Daily Report emails

Gmail notification for Hour 1 with link to the Doc

Email with attached PDF summarizing the entire day’s tracked hours

Weekly calendar setup


💡 How I Used Runner H 🤖

My prompt for this workflow:-

🏃‍♀️ Runner H's “Automated Weekly Hourly Tracker”

You are my Autonomous Docs, Calendar & Email Agent. Your mission is to deploy a 7-day hourly tracking workflow exactly as follows:

---

## 1. User Setup  
1. Prompt me for my **full name** and **email address**.  
2. Obtain OAuth approval to **manage my Google Calendar** and **send Gmail** on my behalf.

## 2. Schedule Parameters  
1. Ask me for:  
   - A **start time** (e.g. 14:00)  
   - An **end time** (e.g. 17:00)  
   - A **block duration** in minutes (e.g. 60)  
   - A **start date** (e.g. 2025-06-23)  
2. Confirm: “You will track **N blocks per day** from **start time** to **end time**, for **7 consecutive days** beginning on **start date**.”

## 3. Initial Confirmation Email  
Immediately after I click “Confirm & Deploy,” send me one summary email:  
- **Subject:** “✅ Hourly Tracker Scheduled: 7 Days, 3 Blocks/Day”  
- **Body:**  
Hi [Name],

Your hourly tracker is set up from [Start Date] through [Start Date +6].
Daily hours: [14:00–15:00], [15:00–16:00], [16:00–17:00].

You’ll receive:
• A “Day Start” email 10 min before your first block each day
• A “Block Complete” email 1 min after each block
• A “Daily Report” email 5 min after your last block

Good luck!


## 4. Calendar Automation (7-Day)  
For each of the **7 days** starting on the given date:  
1. Create back-to-back Google Calendar events:  
 - Block 1: 14:00–15:00  
 - Block 2: 15:00–16:00  
 - Block 3: 16:00–17:00  
2. For **each event**, attach two triggers:  
 - **Pre-first-block trigger** (10 min before 14:00) on Day’s Block 1  
 - **Post-block trigger** (1 min after each block end)

## 5. Email & Doc Workflow  

### A. “Day Start” Email  
- **When:** 10 minutes before Block 1 each day (e.g. 13:50 on 2025-06-23)  
- **Subject:** “🔔 Starting today’s hourly tracker – [Weekday, Date]”  
- **Body:** “Here’s today’s schedule: [14:00–15:00], [15:00–16:00], [16:00–17:00]. Ready to go!”

### B. “Block Complete” Emails  
- **When:** 1 minute after each block ends (e.g. 15:01, 16:01, 17:01)  
- **Action:**  
1. Open—or create if new—a single Google Doc titled `“[Date] – Hourly Tracker Log”`.  
2. Append a section:  
   '''
   Hour #[N] ([HH:MM–HH:MM]) – What did you accomplish?
   '''  
3. Send me an email:  
   - **Subject:** “✅ Hour #[N] Complete – Log Your Tasks”  
   - **Body:** “Please record your accomplishments for Hour #[N]: [Link to today’s Doc]”

### C. “Daily Report” Email  
- **When:** 5 minutes after the last block ends each day (e.g. 17:05)  
- **Action:**  
1. Export that day’s Doc to PDF.  
2. Send me an email:  
   - **Subject:** “📄 [Date] – Daily Tracker Report”  
   - **Body:** “Great work today! Here is your PDF log.”  
   - **Attachment:** Today’s PDF.

## 6. Week-End Summary (Optional)  
After the final block on Day 7, compile all seven daily Docs into a single PDF bundle and email me with congratulations and next steps.

---

▶️ **Next Step:** Prompt me now for my name, email, OAuth approval, start date, start/end times, and block duration to launch my 7-day hourly tracker!
Enter fullscreen mode Exit fullscreen mode

I leveraged Runner H's full-stack agent capabilities to build a complete user-driven hourly focus tracker:

1️⃣ Gmail & Calendar integration using simple OAuth setup

2️⃣ Used automated time-based triggers for pre- and post-event email workflows

3️⃣ Integrated Google Docs to dynamically update task logs per block

4️⃣ Automated PDF exports and final summary emails after each day

5️⃣ Created a scalable agent that handles 7 days of workflows with one setup

💥 The best part? Once it’s set, I don’t have to do anything except show up and log my work. Runner H handles the rest.


🌍 Use Case & Impact

📈 Real‑World Applications

1️⃣ Focused Work Sprints

This workflow automates Pomodoro-style or custom time blocks for deep coding, writing, or creative sessions.

2️⃣ Project & Task Reporting

It generates timestamped logs for stand-ups, design reviews, or client deliverables—no manual updates needed.

3️⃣ Academic Research & Study

Tracks lab experiments, problem-solving, or reading sessions with structured prompts and summaries.

4️⃣ Team Accountability

Equips remote teams with daily PDF reports of progress—streamline check-ins without extra meetings.

5️⃣ Mindful Time Management

Blends work blocks with reflection prompts to cultivate productivity habits and prevent burnout.

🎯 Who Would Benefit?

  • Freelancers & Consultants needing clear, billable records.
  • Students & Scholars seeking discipline in study or research.
  • Remote & Hybrid Teams requiring asynchronous progress logs.
  • Knowledge Workers craving structured reflection on tasks.
  • Wellness Enthusiasts building mindful work–life routines.

🔧 How It Transforms Workflows

Traditional trackers only log hours; this orchestrator:

  • Structures your day with back‑to‑back calendar blocks.
  • Notifies you pre‑ and post‑session to keep momentum.
  • Prompts real‑time reflection for immediate insights.
  • Documents every session in a Google Doc, exported daily to PDF.
  • Delivers polished summaries—turning data into actionable, shareable reports.

You’re not just recording time—you’re mastering it.


❤️ Social Love

If this resonated with you, support the project here:


💬 Final Words

I made this tool because I needed it.

I’d constantly get distracted, multitask myself into exhaustion, and have nothing to show for hours of sitting. I wanted to make my hours count. And now—with this hourly tracker agent—they do.

✨ If you're someone who wants more from your day, this agent was built for you.

Let’s not just spend our hours—let’s invest them.

🙏 I hope this helped, inspired, and empowered you.

And maybe, just maybe, this submission helps me win the prize to change something big in my life too.

Thank you for reading. 💖

GIF- cute robot

Top comments (8)

Collapse
 
rohan_sharma profile image
Rohan Sharma

Automated hour tracking is a way too good idea. Can I use this to track my working hours in a day?

Collapse
 
divyasinghdev profile image
Divya

Also, thank you for checking it out 😁

Collapse
 
divyasinghdev profile image
Divya

Absolutely!!

Collapse
 
rohan_sharma profile image
Rohan Sharma

Wow. I may try it then!

Collapse
 
dummy001 profile image
dummy

Totally loved it! Your implementation is so clean and purposeful. I’m definitely going to try this out in my own workflow. Amazing job! 👍🏻

Collapse
 
divyasinghdev profile image
Divya

Thank you for checking it out.
I do hope that it helps you out in your workflow.

Collapse
 
gitsaga profile image
GitSaga

Nice!

Collapse
 
divyasinghdev profile image
Divya

Thank you!