Automated Workout Plan Extraction and Upload

somdn_product_page

This workflow automates the process of converting a workout plan PDF into a structured exercise routine within the Hevy app. It begins with a form trigger for user file upload, followed by converting the PDF into a Base64 string for AI processing. Using Google’s Gemini model, the workflow performs OCR to extract text from the PDF, then fetches available exercises from the Hevy app to match OCR data with existing exercises. The extracted information is structured into a JSON format that adheres to the required schema, capturing details like exercise sets, reps, weights, and notes. Finally, the structured routine is automatically uploaded to the Hevy app via API, creating a new workout routine based on the scanned plan. This automation is ideal for personal trainers, fitness enthusiasts, or gyms looking to digitize and streamline workout plan creation from paper or PDF sources.

Node Count

11 – 20 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.chainLlm, @n8n/n8n-nodes-langchain.lmChatOpenRouter, @n8n/n8n-nodes-langchain.outputParserStructured, aggregate, extractFromFile, formTrigger, httpRequest, set, stickyNote

Reviews

There are no reviews yet.

Be the first to review “Automated Workout Plan Extraction and Upload”

Your email address will not be published. Required fields are marked *