Track nutrition and fitness via webhook with OpenAI, Google Sheets and Slack alerts
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model and Slack.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Fetch All Users (Google Sheets): uses Google Sheets
- Fetch User Data (Google Sheets): uses Google Sheets
- Reset Daily Stats (Google Sheets): update
- Validate User Exists (If): checks a condition and branches into true / false
- AI Nutrition Analyzer (AI Agent): runs an AI agent, with model: AI Model (GPT)
- Process Nutrition Data (Code): runs custom JavaScript code
- Check Calorie Threshold (If): checks a condition and branches into true / false
- Alert: Calorie Limit Exceeded (Slack): uses Slack
- Check Health Risk (If): checks a condition and branches into true / false
- Alert: Health Risk (Slack): uses Slack
…plus 4 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
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)
- Webhook
n8n-nodes-base.webhook - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - Respond to Webhook
n8n-nodes-base.respondToWebhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
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…