Automate the creation and delivery of personalized 7-day workout plans in Telegram from photos or text.
The AI agent analyzes user input via photos or text to generate a 7-day, personalized workout plan tailored to goals and ability. It uses Google Gemini AI for image and language understanding and LangChain for memory and conversational flow. The plan is delivered in Telegram as a readable, HTML-formatted layout that fits message size limits and can be split across multiple messages if needed.
Automatically converts user input into personalized workouts and sends them in Telegram.
Detects input type (photo or text) and routes to the Gemini or LangChain flow.
Analyzes a full-body photo with Gemini AI to assess body type, posture, and muscle tone.
Prompts for essential details (age, goals, activity level) via LangChain when the input is text.
Generates a personalized 7-day workout plan in Telegram-compatible HTML.
Formats and splits the plan to fit Telegram's message size limits.
Sends the final workout plan back to the user through Telegram.
Before → 5 real pain points: coaches spend hours crafting individualized plans; coaching is inconsistent due to manual data collection and memory gaps; reply chains are disjointed, making progress hard to track; scaling personalized plans with growing client lists is impractical; Telegram formatting requires manual HTML adjustments. After → 5 clear outcomes: plans are generated instantly from a photo or text input; coaching is consistent across clients due to standardized prompts; data collection is streamlined with guided questions; the agent scales to many clients without extra staff; plans arrive in Telegram in clean, readable HTML with proper formatting.
A simple 3-step flow that non-technical users can follow.
The user sends either a full-body photo or a text input in Telegram.
Gemini AI analyzes the image for body metrics or LangChain gathers and clarifies user data.
Generates a 7-day plan in Telegram HTML and sends it, splitting across messages as needed.
One realistic scenario.
A user sends a photo via Telegram. The bot analyzes body metrics with Gemini AI, asks a few tailored questions to collect age, goals, and activity level, then generates a personalized 7-day workout plan formatted in Telegram HTML. The plan is split across multiple messages if needed and delivered to the user within minutes.
6 roles that gain practical value from this AI agent.
Automates client plan creation with consistent coaching.
Adds AI-powered personalization without building from scratch.
Scale virtual fitness assistants and services.
Delivers consistent weekly plans to distributed clients.
Engages participants with automated, personalized plans.
Manage workload with automated planning for multiple clients.
Tools that run this AI agent and what they do inside each.
Delivers the HTML-formatted workout plan to users and captures inputs.
Analyzes photos and language inputs to infer body metrics and understand user text.
Manages conversational flow and memory, prompting for missing details.
Orchestrates the workflow, triggers, and routing between Gemini, LangChain, and Telegram.
Common practical scenarios where this AI agent shines.
Common questions and practical answers.
The AI agent accepts full-body photos and text inputs. For photos, Gemini AI analyzes body type, posture, and muscle tone to tailor movements. For text, LangChain prompts collect age, goals, activity level, time availability, and any injuries. The system then uses these details to tailor a consistent 7-day plan.
All input data is processed within the Telegram session. If you opt in, data can be stored for ongoing coaching, but storage is controlled by your bot configuration. Absent explicit consent, data is not retained beyond the current interaction. Access is restricted to the bot and the user, with standard Telegram privacy protections applied.
Direct PDF export is not produced by default in the Telegram delivery path. You can enable PDF export through your n8n workflow or downstream tooling if needed, but the agent itself delivers a Telegram HTML-formatted plan and can provide a clean copy for export. Custom export steps can be added in your deployment.
If no photo is available, the agent switches to a text-driven flow. LangChain asks a short set of questions to capture goals, activity level, available days, and preferences, then generates the 7-day plan based on that input. The outcome remains a personalized, week-long schedule.
Plan generation is designed to be fast—often within minutes after the user provides input and answers required questions. The exact time depends on the user’s complexity of goals and the speed of responses, but the system is built to minimize back-and-forth while maximizing personalization.
The current design targets Telegram as the primary channel for delivery and interaction. The underlying AI workflows (Gemini, LangChain, n8n) can be adapted to other messaging platforms with a similar integration layer, but would require additional connectors and formatting adjustments.
Coach tone and style are controlled by LangChain prompts. You can modify system prompts to set a specific coaching voice or adjust the question flow to align with your methodology. Reconfiguring prompts allows quick iterations without changing the core worker logic.
Automate the creation and delivery of personalized 7-day workout plans in Telegram from photos or text.