Templates / Convert training prescriptions to Intervals.icu workouts with Claude Opus AI

Convert training prescriptions to Intervals.icu workouts with Claude Opus AI

Ready for 3.0

by Martijn Kerver · 646 views · created 2025-10-17 · Engineering, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 10 nodes and runs when someone submits an n8n form (“Create workout”). Along the way it connects Anthropic Chat Model and Google Gemini Chat Model. It also calls intervals.icu over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Create workout”).

  1. GetAthleteInfo (HTTP Request): calls intervals.icu
  2. SetAthleteVars (Edit Fields (Set)): sets 8 fields: max_hr, lt_hr, ftp…
  3. CreateIntervalsWorkoutAgent (AI Agent): runs an AI agent, with model: Anthropic Chat Model; output parser: Structured Output Parser
  4. PrepareAgentOutputToWorkoutArray (Code): runs custom JavaScript code
  5. CreateWorkoutAPI (HTTP Request): calls intervals.icu (POST)
  6. TheEndForm (n8n Form): shows the next form page

Services it uses

Anthropic Chat ModelGoogle Gemini Chat Model

HTTP calls to: intervals.icu

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Description Transform training prescriptions into perfectly formatted Intervals.icu workouts using AI. This workflow automatically converts free-text workout descriptions into structured interval training sessions with proper heart rate zones, pace…

Excerpt from Martijn Kerver's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.