workflows.fit
Back to n8n workflows
n8n templateFreeBy WeblineIndia

Track nutrition and fitness via webhook with OpenAI, Google Sheets and Slack alerts

AI Nutrition Tracker with Webhook, OpenAI, Google Sheets & Slack Alerts This workflow is an AI-powered nutrition and fitness tracking system built in n8n. It receives user input via webhook, analyzes food or activity ...

Data & StorageProductivityCommunicationHITLDevelopmentCore NodesAILangchain
Loading interactive preview...

Template notes

AI Nutrition Tracker with Webhook, OpenAI, Google Sheets & Slack Alerts

This workflow is an AI-powered nutrition and fitness tracking system built in n8n. It receives user input via webhook, analyzes food or activity using AI, updates daily calorie and protein intake in Google Sheets and sends alerts via Slack when limits or risks are detected. It also resets daily metrics automatically using a scheduled trigger.

Quick Start Guide (Fast Implementation)

1. Connect your Google Sheets account with required columns. 2. Configure OpenAI API credentials. 3. Set up Slack integration for alerts. 4. Deploy the Webhook node for receiving user input. 5. Enable the Schedule Trigger for daily reset. 6. Test by sending a sample message (food/activity) to the webhook.

What It Does

This workflow automates real-time nutrition tracking by processing user input such as food consumption or physical activities. When a user sends a message through a webhook, the system fetches their profile data from Google Sheets and validates their existence before continuing.

The input is then analyzed using an AI model that classifies it as food or activity. Based on this classification, it estimates calories, protein intake, calories burned and identifies potential health risks. The processed data is combined with existing user metrics to maintain an updated daily summary.

Additionally, the workflow monitors calorie thresholds and risk patterns. If a user exceeds their daily calorie target or shows unhealthy behavior patterns, alerts are sent to Slack. A scheduled process resets all users’ daily metrics, ensuring accurate tracking for each new day.