Get daily exercise plan with Flex Message via LINE
Needs changesWhat this workflow does
This AI workflow has 25 nodes and runs on a schedule (every day at 21:00). Along the way it connects Azure OpenAI Chat Model and Google Sheets. It also calls api.line.me over HTTP.
How it runs
Trigger: On a schedule (every day at 21:00).
- Get PoseName (Google Sheets): uses Google Sheets
- Code: runs custom JavaScript code
- WriteJSONflex (Basic LLM Chain): sends a prompt to an LLM, with model: Azure OpenAI Chat Model; output parser: Auto-fixing Output Parser
- WritePosesToday (Basic LLM Chain): sends a prompt to an LLM, with model: Azure OpenAI Chat Model
- RewritePosesToday (Basic LLM Chain): sends a prompt to an LLM, with model: Azure OpenAI Chat Model
- CombineAll (Edit Fields (Set)): sets 1 field: LineBody
- Fix JSON (Basic LLM Chain): sends a prompt to an LLM, with model: Azure OpenAI Chat Model
- Line Push with Flex Bubble (HTTP Request): calls api.line.me (POST)
- YogaLog (Google Sheets): append
- AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model; 1 tool (PosesDatabase); output parser: Auto-fixing Output Parser
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: api.line.me
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Split Out
n8n-nodes-base.splitOut - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set
From the author
The YogiAI workflow automates sending daily yoga pose reminders and related information via Line Push Messages . This automation leverages data from a Google Sheets database containing yoga pose details such as names, image URLs, and links to ensure users…