Daily Habit RPG: Gamified Gmail Reminders with Quest System and Progress Tracking
Go to WorkflowDescription
Who's it for
This template is perfect for anyone struggling with habit consistency who wants a fun, engaging way to maintain daily routines. It's ideal for productivity enthusiasts, fitness beginners, remote workers, students, or anyone who loves gamification and RPG elements. If you've ever wished your daily tasks felt more like an adventure game, this workflow is for you.
How it works
The workflow runs automatically every morning at your chosen time (default: 6 AM) and transforms your daily habits into an RPG adventure:
Daily Trigger - Scheduled to run every morning
Player Stats Generation - Creates random level, XP, and streak data (in production, connect to a database)
Quest Generation - Assigns daily "quests" based on the day of week (weekday routines, weekend specials, Monday goals)
Quote Fetching - Gets a motivational quote from a free API
Achievement Processing - Checks for milestone achievements (7-day streak, 30-day streak, level 10)
Email Creation - Builds a beautiful HTML email with game-like design
Email Delivery - Sends the quest email via Gmail
Stats Logging - Records execution statistics
The system includes different habit sets for weekdays and weekends, random bonus quests, a rank system (D to SSS), achievement unlocks, and progress tracking with visual elements like progress bars.
Setup steps
Setup takes approximately 5 minutes:
Import the workflow into your n8n instance
Connect Gmail - Click "Create New" in the Gmail node credentials and authenticate via OAuth2
Update recipient email - Change "[email protected]" to your actual email in the "Send Quest Email" node
Customize habits (optional) - Edit the quest arrays in the "Generate Daily Quests" node
Test the workflow - Click "Execute Workflow" to send a test email
Activate - Toggle the workflow to "Active" when ready for daily automation
Requirements
Gmail account with OAuth2 authentication
n8n instance (cloud or self-hosted)
No external API keys required (uses free Quotable API)
No database required (uses random data for demonstration)
How to customize the workflow
Modify Daily Habits
Edit the questDatabase object in the "Generate Daily Quests" node:
Add your own habits with custom names
Adjust XP and coin rewards
Change difficulty levels (Easy, Medium, Hard, Epic, Bonus)
Set different quests for weekdays vs weekends
Visual Customization
In the "Create Email Template" node:
Modify color schemes in the CSS
Adjust font sizes and layouts
Change emoji icons for quests
Update achievement thresholds
Timing and Schedule
In the "Daily Morning Trigger" node:
Change the trigger hour (default: 6 AM)
Adjust timezone if needed
Set different schedules for weekdays/weekends
Motivational Content
Update daily motivation messages for each day of the week
Customize achievement names and descriptions
Modify rank titles and progression
Add your own fallback quotes
This workflow brings the addictive nature of RPG games to your daily habits, making routine tasks feel like an epic adventure. Perfect for anyone who wants to level up their life, one quest at a time!