This workflow automates manual sports performance tracking and coaching, replacing hours of data review, metric calculation, and personalized feedback creation with AI-driven analysis for over 50 sports. It triggers on new Strava activities via StravaTrigger (n8n-nodes-base.stravaTrigger), processes data with Code nodes for metric extraction and sport detection, uses Agent (@n8n/n8n-nodes-langchain.agent) with LmChatGoogleGemini (@n8n/n8n-nodes-langchain.lmChatGoogleGemini) for universal coaching across endurance, strength, team, water, winter, and adventure sports. Another Code node formats responses into HTML, Switch (n8n-nodes-base.switch) routes notifications to EmailSend (n8n-nodes-base.emailSend), WhatsApp (n8n-nodes-base.whatsApp), and Slack (n8n-nodes-base.slack), while Supabase (n8n-nodes-base.supabase) tracks historical data. This helps amateur to elite athletes, coaches, and fitness enthusiasts managing 20-100 activities monthly, providing insights like pace optimization for runners or power analysis for cyclists, reducing injury risks and enhancing performance without expert consultation.\n\nThis workflow saves 3-6 hours weekly per athlete on analysis and planning, ideal for fitness apps, sports teams, or personal training in wellness and athletics industries for small groups (5-50 users). Requires Strava (free or Premium $59/year), Google Gemini API (pay-per-use, ~$0.35/1M tokens), Supabase (free or Pro $25/month), notification services (free tiers available). Scalable to thousands of activities, limited by API rates and storage.\n\nThis workflow needs n8n from n8n.io (self-hosted) or cloud.n8n.io. For Strava: Authorize OAuth2 at developer.strava.com, add to StravaOAuth2Api credentials. Google Gemini: Get key at ai.google.dev, add to GooglePalmApi credentials; set model in LmChatGoogleGemini. Supabase: Create key at supabase.com, add to SupabaseApi. Webhook auto-generates on activation for StravaTrigger. Configure Agent prompt for coaching guidelines, Code nodes for processing.\n\nThis workflow is tested by simulating Strava webhooks with sample activity data, verifying coaching output and notifications. Common errors: Invalid Strava token (reauthorize app), Gemini rate limits (monitor usage/upgrade). Deploy by activating workflow, register webhook in Strava dashboard. Monitor via n8n logs for failed analyses; optimize by caching common metrics in Supabase. Update AI prompts quarterly for new sports trends.", "businessValue": "Saves 3-6 hours/week on sports performance analysis for athletes", "setupTime": "60-90 minutes", "difficulty": "Advanced", "requirements": ["Strava Premium subscription ($59/year for advanced metrics)", "Google Gemini API key (pay-per-use ~$0.35/1M tokens)", "Supabase account (free or Pro $25/month+ for database)", "Notification credentials (SMTP, WhatsApp Business, Slack API)"], "useCase": "AI coaching for Strava activities in personal fitness and team sports"
$6.99
Workflow steps: 11
Integrated apps: stravaTrigger, code, lmChatAnthropic