Customer Service
Pro Fitness Coach | Strava + Gemini
This n8n workflow triggers on Strava activity updates, flattens the data, and sends it to a Gemini-powered AI Triathlon Coach for personalized analysis. The AI's coaching feedback is then structured, converted to HTML, and automatically emailed to the user.
Built · ~5.5 hours saved per week
AI Fitness Coach for Strava Activities
Automation Overview This workflow automates the process of generating and delivering personalized fitness coaching after a new athletic activity is recorded on Strava. When a user completes a run, swim, or bike ride, the workflow automatically retrieves the activity data, uses AI to perform an in-depth analysis, and sends a professionally formatted coaching report to the user via email or WhatsApp.
This eliminates the need for manual data review and provides athletes with immediate, data-driven, and motivational feedback, helping them understand their performance and identify areas for improvement. It effectively creates a virtual, on-demand triathlon coach.
Technologies Used - n8n: The core automation platform connecting all the services. - Strava: The source of fitness activity data, acting as the trigger for the workflow. - Google Gemini: The AI language model that provides the intelligence for the fitness analysis. - n8n LangChain Agent: A framework used to build the AI-powered "Fitness Coach" by defining its persona, tools, and goals. - Gmail / Email / WhatsApp: Communication platforms used to deliver the final coaching analysis to the end-user.
How the AI Integrates into the Flow The AI is the central intelligence of this entire operation. It is integrated through the Fitness Coach agent node, which is powered by Google's Gemini 2.0 Flash model.
The AI is not just summarizing data; it's performing a sophisticated analysis based on a highly detailed prompt that defines its persona as an expert triathlon coach. It receives flattened, raw data from a Strava activity (e.g., pace, heart rate, cadence, power, elevation) and is tasked to:
1. Contextualize Performance: Analyze metrics specific to the activity type (running, swimming, or cycling). 2. Provide Actionable Feedback: Generate insights on strengths, weaknesses, and specific areas for improvement (e.g., "Your cadence dropped on hills, try focusing on maintaining a higher turnover"). 3. Offer Motivational Coaching: Deliver the analysis in an encouraging and positive tone to keep the athlete engaged.
Tags: Chatbot, Web Scraping, Data Transformation, Research, AI Assistant
Integrations: Google Gemini, Email, Code, AI Agent