⚡ Ai fitness coach Strava data analysis and personalized training insights

13,207 views · ⚡ Personal Productivity

Description

Detailed Title

“Triathlon Coach AI Workflow: Strava Data Analysis and Personalized Training Insights using n8n”


Description

This n8n workflow enables you to build an AI-driven virtual triathlon coach that seamlessly integrates with Strava to analyze activity data and provide athletes with actionable training insights. The workflow processes data from activities like swimming, cycling, and running, delivers personalized feedback, and sends motivational and performance improvement advice via email or WhatsApp.


Workflow Details

Trigger: Strava Activity Updates

Step 1: Data Preprocessing

Step 2: AI Analysis with Google Gemini

Step 3: Generate Structured Output

Step 4: Convert to HTML

Step 5: Send Email with Training Insights

Optional Step: WhatsApp Notifications


Additional Notes

  1. Customization:

    • You can modify the AI prompt to adapt the recommendations to the athlete’s specific goals or fitness levels.
    • The workflow is flexible and can accommodate additional nodes for more advanced analysis or output formats.
  2. Scalability:

    • Ideal for individual athletes or coaches managing multiple athletes.
    • Can be expanded to include additional metrics or insights based on user preferences.
  3. Performance Metrics Handled:

    • Swimming: SWOLF, stroke count, pace.
    • Cycling: Cadence, power zones, elevation.
    • Running: Pacing, stride length, heart rate zones.

Implementation Steps

  1. Set Up Strava API Key:

    • Log in to Strava Developers to generate your API key.
    • Integrate the API key into the Strava Trigger node.
  2. Configure Google Gemini Integration:

    • Use your Google Gemini (PaLM) API credentials in the Google Gemini Chat Model node.
  3. Customize Email and WhatsApp Messaging:

    • Update the Send Email and WhatsApp Business Cloud nodes with the recipient’s details.
  4. Automate Execution:

    • Deploy the workflow and use n8n’s scheduling features or cron jobs for periodic execution.

GET n8n Now

N8N COURSE

n8n Book

Developer Notes

By using this workflow, triathletes and coaches can elevate training to the next level with AI-powered insights and actionable recommendations.

🔗 Nodes Used

Send Email, Gmail, Strava Trigger, WhatsApp Business Cloud, AI Agent, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup