Telegram Fitness Bot: Custom Workout Plans from Photo/Text using Gemini AI

Go to Workflow
0 views
Built by Parth Pansuriya Parth Pansuriya
Created on June 07, 2026

Description

A Telegram Fitness Bot that creates personalized 7-day workout plans by analyzing user photos or text input. It uses Google Gemini AI for image and text understanding combined with LangChain for conversational flow and memory to deliver motivating fitness routines directly through Telegram.

Use cases include virtual fitness coaching, AI-powered personal training assistants, and health & wellness engagement bots.

Who’s it for
Fitness coaches and personal trainers seeking to automate client workout plans
Developers building Telegram bots with AI-powered personalization
Startups creating virtual fitness assistants or health engagement tools

What it does
Users send a full-body photo or message to the Telegram bot.
The workflow detects if the input is photo or text.
For photos, Gemini AI analyzes body type, posture, and muscle tone.
For text, LangChain asks fitness questions (age, goals, activity level, etc.).
Based on input, a personalized 7-day workout plan is generated in Telegram-compatible HTML.
The plan is formatted and split as needed to fit message size limits.
The workout plan is sent back to the user via Telegram.

Requirements
Telegram Bot token with messaging and file permissions
Google Gemini API access with image and language model capabilities
n8n instance (cloud or self-hosted)
Basic knowledge of LangChain and n8n AI nodes for customization

How to customize the workflow
Modify LangChain system prompts for your coaching tone and style
Add or change fitness questions in the conversation flow
Enable PDF export of workout plans
Add daily workout reminders and streak tracking via Cron and Telegram nodes
Swap AI models or add new tools to enhance functionality
Embed videos or images to enrich workout plans






Nodes Used (7)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
HTTP Request
n8n-nodes-base.httpRequest
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Telegram
n8n-nodes-base.telegram