AutomationFlowsAI & RAG › Telegram Fitness Bot: Custom Workout Plans From Photo/text Using Gemini AI

Telegram Fitness Bot: Custom Workout Plans From Photo/text Using Gemini AI

ByParth Pansuriya @parthpansuriya on n8n.io

Use cases include virtual fitness coaching, AI-powered personal training assistants, and health & wellness engagement bots. Fitness coaches and personal trainers seeking to automate client workout plans Developers building Telegram bots with AI-powered personalization Startups…

Event trigger★★★★☆ complexityAI-powered16 nodesGoogle Gemini ChatAgentGoogle GeminiTelegram TriggerTelegramHTTP RequestMemory Buffer Window
AI & RAG Trigger: Event Nodes: 16 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #6697 — we link there as the canonical source.

This workflow follows the Agent → Googlegemini recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "dXjwabXNOMFFDqHz",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Ai Workout Planner-Upload",
  "tags": [],
  "nodes": [
    {
      "id": "eb7c270b-2ea8-4654-a968-271ecf4c3979",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        784,
        -16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e564af0e-54e8-4b53-817f-f6a9f6f06b83",
      "name": "Workout Guide",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        784,
        -176
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "d120ef75-2c81-492b-8c1e-99fc1da4598e",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1280,
        352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8914e190-310b-4e79-928b-f4e4b5d94818",
      "name": "Workout Guide thorugh Image",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1280,
        192
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "1f5d1827-57f3-440f-ad6a-55df4cf3f425",
      "name": "Analyze image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1136,
        192
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d09f4a67-cbff-4692-8cdf-e1fe4eeed6d4",
      "name": "Receive a Message",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        336,
        -16
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d56f8d77-4b00-4a6e-93f2-c21b83a8641e",
      "name": "Text Vs Photo",
      "type": "n8n-nodes-base.switch",
      "position": [
        528,
        -16
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "d870bde6-759b-428e-999d-cd217e223e48",
      "name": "Clean up Workout plane and Make User freindly And Visually appealing",
      "type": "n8n-nodes-base.code",
      "position": [
        1120,
        -176
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "cadebb69-e8e2-4f19-a9a4-be6dd2de6e01",
      "name": "Send A Workout Planes",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1328,
        -176
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a319dc3d-8ec8-4faf-9653-ab1e39a2759c",
      "name": "Change Mime Type",
      "type": "n8n-nodes-base.code",
      "position": [
        992,
        192
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ddac4863-bb5e-4ce6-be03-f834fac83932",
      "name": "Clean up Workout plane and Make User freindly And Visually appealing1",
      "type": "n8n-nodes-base.code",
      "position": [
        1616,
        192
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6bed8c70-0114-405b-8833-ce13077c4962",
      "name": "Send A Workout Planes1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1824,
        192
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a89d78c7-ee75-4178-ba3d-979a8b55efa5",
      "name": "Fetch Image Path",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        832,
        192
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "06e10319-907c-4188-9641-b550deba183d",
      "name": "Get a Image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        688,
        192
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "caeb42f8-56f2-4391-acf4-307cd00aaa40",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        944,
        0
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "19d4907c-9fd2-4d0c-b9ba-dceb73c2eff9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        -464
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "04d63cf3-1704-442f-9e56-30b86c50436a",
  "connections": {
    "Get a Image": {
      "main": [
        [
          {
            "node": "Fetch Image Path",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze image": {
      "main": [
        [
          {
            "node": "Workout Guide thorugh Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Workout Guide",
            "type": "ai_memory",
            "index": 0
          },
          {
            "node": "Workout Guide thorugh Image",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Text Vs Photo": {
      "main": [
        [
          {
            "node": "Workout Guide",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get a Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workout Guide": {
      "main": [
        [
          {
            "node": "Clean up Workout plane and Make User freindly And Visually appealing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Change Mime Type": {
      "main": [
        [
          {
            "node": "Analyze image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Image Path": {
      "main": [
        [
          {
            "node": "Change Mime Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive a Message": {
      "main": [
        [
          {
            "node": "Text Vs Photo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Workout Guide thorugh Image",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Workout Guide",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Workout Guide thorugh Image": {
      "main": [
        [
          {
            "node": "Clean up Workout plane and Make User freindly And Visually appealing1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean up Workout plane and Make User freindly And Visually appealing": {
      "main": [
        [
          {
            "node": "Send A Workout Planes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean up Workout plane and Make User freindly And Visually appealing1": {
      "main": [
        [
          {
            "node": "Send A Workout Planes1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Use cases include virtual fitness coaching, AI-powered personal training assistants, and health & wellness engagement bots. Fitness coaches and personal trainers seeking to automate client workout plans Developers building Telegram bots with AI-powered personalization Startups…

Source: https://n8n.io/workflows/6697/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This project is a template for building a complete academic virtual assistant using n8n. It connects to Telegram, answers frequently asked questions by querying MongoDB, keeps the community informed a

Telegram, MongoDB, Telegram Trigger +6
AI & RAG

Telegram Trigger receives incoming messages (text, voice, photo, document). Switch routes by message type to appropriate processors: Text → forwarded as-is. Voice → downloaded and sent to Transcribe a

Memory Buffer Window, Telegram Trigger, Telegram +12
AI & RAG

Transform your Telegram messenger into a powerful, multi-modal personal or team assistant. This n8n workflow creates an intelligent agent that can understand text, voice, images, and documents, and ta

Memory Buffer Window, Telegram Trigger, Telegram +10
AI & RAG

A comprehensive n8n workflow demonstrating advanced AI agent orchestration, stateful conversation management, and multi-modal input processing for nutrition tracking applications.

Telegram, Memory Buffer Window, Google Gemini Chat +6
AI & RAG

> AI-powered nutrition assistant for Telegram — log meals, set goals, and get personalized daily reports with Google Sheets integration.

Telegram, Google Gemini, Google Gemini Chat +7