End each week with insight
A question to help you review your week
What you will receive
Weekly reflection
just now
This week's reflection: "What's one thing you accomplished this week that you didn't expect to?" Take 5 minutes to think about this. Unexpected wins often reveal where your strengths lie. Reply to this email with your answer — writing it down makes it stick.
How it works
- 1Every Friday, Humrun sends you a reflection question
- 2Questions are tailored to help you grow
- 3You build a habit of weekly self-review
You configure
career growth, work-life balance, learning
What area do you want to reflect on?
sk-...
For generating reflection questions
View Python code
import requests
import os
from state import state
FOCUS = os.environ.get("REFLECTION_FOCUS", "personal growth")
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY")
# Track previous questions to avoid repetition
asked = state.get("asked_questions", [])
prompt = f"""Generate ONE thoughtful reflection question about {FOCUS}.
Previously asked (avoid similar): {', '.join(asked[-5:]) if asked else 'None yet'}
The question should:
- Be open-ended
- Encourage self-reflection
- Be answerable in a few sentences
Also provide:
- Why this matters (1 sentence)
- A suggestion to write down the answer
Keep total response under 75 words."""
response = requests.post(
"https://api.openai.com/v1/chat/completions",
headers={"Authorization": f"Bearer {OPENAI_API_KEY}"},
json={
"model": "gpt-4o-mini",
"messages": [{"role": "user", "content": prompt}],
"max_tokens": 150
}
)
reflection = response.json()["choices"][0]["message"]["content"]
# Track the question
lines = reflection.split("\n")
question = lines[0].strip('"').strip() if lines else "How did this week go?"
asked.append(question[:50])
state["asked_questions"] = asked[-10:]
print(reflection)Humrun remembers previous questions to keep reflections fresh.
Suggested schedule: Every Friday at 5 PM•Notifications: After every run