Who is this workflow for? Transform your triathlon training with our AI-driven n8n workflow. Seamlessly integrating with Strava, this workflow analyzes your swimming, cycling, and running activities to deliver personalized training insights and actionable recommendations directly to your inbox or WhatsApp..

What does this workflow do?

Trigger: Strava Activity Updates

  • Node: Strava Trigger
  • Function: Captures real-time updates from Strava whenever an activity is recorded or modified, retrieving metrics such as distance, pace, elevation, and heart rate through the Strava API.

Step 1: Data Preprocessing

  • Node: Code
  • Function: Utilizes a recursive function to flatten and structure raw Strava activity data, preparing it for efficient processing in subsequent steps.

Step 2: AI Analysis with Google Gemini

  • Node: Google Gemini
  • Function: Analyzes the structured activity data using Google Gemini’s advanced language model to:
  • Identify key performance metrics.
  • Provide specific feedback for running, swimming, and cycling.
  • Offer tailored training recommendations and motivational advice.

Step 3: Generate Structured Output

  • Node: Structure Output
  • Function: Formats the AI-generated analysis into a clear and organized structure, including headings, paragraphs, and bullet points for easy comprehension.

Step 4: Convert to HTML

  • Node: Convert to HTML
  • Function: Transforms the structured output into HTML format, ensuring the content is visually appealing and suitable for email or other presentation methods.

Step 5: Send Email with Training Insights

  • Node: Send Email
  • Function: Delivers a detailed email to the athlete containing performance insights, training recommendations, and motivational messages using Gmail or SMTP for secure delivery.

Optional Step: WhatsApp Notifications

  • Node: WhatsApp
  • Function: Sends a concise summary of the activity analysis and key recommendations via WhatsApp, providing instant access to critical information.

🤖 Why Use This Automation Workflow?

  • Automated Data Analysis: Effortlessly process and interpret your Strava activity data without manual effort.
  • Personalized Insights: Receive tailored feedback and training suggestions based on your specific performance metrics.
  • Enhanced Motivation: Get timely motivational messages and performance improvement tips to keep you on track.

👨‍💻 Who is This Workflow For?

This workflow is ideal for triathletes seeking to optimize their training, coaches managing multiple athletes, and fitness enthusiasts who want detailed, AI-driven insights into their performance across various activities.

🎯 Use Cases

  1. Personal Training Optimization: Athletes receive customized training plans and feedback to enhance their performance in swimming, cycling, and running.
  2. Coach Management: Coaches can manage and monitor the progress of multiple athletes, providing individualized recommendations and motivation.
  3. Performance Tracking: Fitness enthusiasts track their performance metrics over time, identifying strengths and areas for improvement with AI-generated insights.

TL;DR

This n8n workflow leverages AI and seamless integrations with Strava to provide triathletes and coaches with detailed, personalized training insights. By automating data analysis and delivering actionable recommendations, it enhances training effectiveness and supports continuous performance improvement.

Help us find the best n8n templates

About

A curated directory of the best n8n templates for workflow automations.