Templates / Convert workout plan PDFs to Hevy App routines with Gemini AI

Convert workout plan PDFs to Hevy App routines with Gemini AI

Ready for 3.0

by Julian Kaiser ✓ · 928 views · created 2025-07-27 · Personal Productivity, AI Summarization

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 (“Upload Training Plan”). Along the way it connects OpenRouter Chat Model. It also calls openrouter.ai and api.hevyapp.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Upload Training Plan”).

  1. Convert PDF to Base (Extract from File): extracts data from a file (binary to propery)
  2. Extract Text from PDF via AI (HTTP Request): calls openrouter.ai (POST)
  3. Get Exercise List from Hevy (HTTP Request): calls api.hevyapp.com
  4. Format Exercise Names (Edit Fields (Set)): sets 1 field: exercise_templates
  5. Combine Exercise List (Aggregate): combines items into one
  6. Match Exercises & Structure Routine (Basic LLM Chain): sends a prompt to an LLM, with model: google/gemini-2.5-flash; output parser: Structured Output Parser
  7. Create Hevy Routine (HTTP Request): calls api.hevyapp.com (POST)

Services it uses

OpenRouter Chat Model

HTTP calls to: openrouter.ai, api.hevyapp.com

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 (8)

From the author

Scan Any Workout Plan into the Hevy App with AI This workflow automates the creation of workout routines in the Hevy app by extracting exercise information from an uploaded PDF or Image using AI. What problem does this solve? Tired of manually typing workout…

Excerpt from Julian Kaiser'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.