Log workouts and get AI fitness analysis with a form, Google Gemini, Sheets, Slack, and Gmail

Go to Workflow
0 views
Built by Oka Hironobu Oka Hironobu
Created on June 07, 2026

Description

Who is this for

Gym-goers, runners, home workout enthusiasts, and personal trainers who want to track workouts without fiddling with complicated fitness apps. Just type what you did and let AI handle the rest.

What this workflow does

Fill in a simple web form with your workout in plain text — something like "Bench press 60kg x10 x3, 5km run 28min, squats bodyweight x20 x4." Google Gemini AI parses each exercise, identifies the muscle groups worked, estimates calories burned, and rates the workout intensity. A code node validates the AI output and structures it into a clean record. Everything gets saved to a Google Sheet as a running training log. You receive a Slack notification and an email summary with personalized tips and a suggestion for your next session.

How to set up

Create a Google Sheet with a "Workouts" tab and add column headers: Date, Workout, Duration, Feeling, Type, Exercises, Calories, Muscles, Intensity, Tips, Next Suggestion, Notes, Logged At
Add your Google Sheets and Gmail credentials in n8n
Get a free Gemini API key from Google AI Studio
Connect Slack and set the channel ID in the Slack node
Update the email address in the Gmail node
Activate and bookmark the form URL

Requirements

Google Gemini API key (free tier available)
Google Sheets and Gmail credentials
Slack workspace with a connected app

How to customize

Edit the AI prompt to add sport-specific analysis (swimming, cycling, climbing)
Remove Slack or Gmail if you only need one notification channel
Add a weekly summary node that aggregates your training volume

Nodes Used (6)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Google Sheets
n8n-nodes-base.googleSheets
Slack
n8n-nodes-base.slack