Skip to content

devinshende/trainingplan_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README.md

Overview

This repo takes workout training plans in my notion workspace and sends daily reminders to each user to complete their training on that day. The reminders are built with html and sent via gmail to any users in the "signup list" which is pulled from another notion page.

How to add a new client

  1. Create their training plan in notion
  2. Go to the database page of plan (not the parent) and click share
  3. copy url and the part before the ?v= is the id you want, set that at the top as database id
  4. Update their email address in the msg['To'] =
  5. Should work as planned.

To run

python3 trainingplan.py I have it running as a crontab job to run this ./trainingplan.py every day at a certain time.

Possible next steps

  • weekly training plan overviews
  • recap of how many sessions completed in the week/month/year
  • personalized inspiration
  • have event listener that when I add a new databse item it sends an email

About

Send emails from a notion database about climbing training plans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors