A Telegram AI agent that picks daily self-care tasks based on your current energy level and mood, gives practical AI-generated tips, and logs history to Google Sheets — a free alternative to the paid features of Me+ Lifestyle Routine.



Project details

Context:

Problem:


Solution

<aside> 🧠

Each morning, the bot asks for energy level (low/medium/high) and mood (1-10), picks 5 tasks from a pool of 60 based on current state, and adds 3-5 practical AI tips on how to approach today's tasks specifically. Everything is logged to Google Sheets for history.

Tools used: n8n, Telegram Bot API, Groq (openai/gpt-oss-120b), Google Sheets, LangChain (Basic LLM Chain).

</aside>

Solution logic:

  1. A Schedule Trigger runs the morning scenario and the bot asks in Telegram for energy level and mood.
  2. A Webhook catches the reply; a Code node uses regex to extract energy/mood from free text.
  3. A pool of 60 tasks (6 themes: cleaning, mental health, disordered eating / body care, ADHD/focus, relaxation, boredom) is filtered by energy: low → easy only, medium → easy+medium, high → no restriction.
  4. 5 tasks are randomly selected from the filtered pool.