Provide plant care chat and photo analysis with LINE and Google Gemini
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Route by Message Type (Switch): routes items into 2 branches
- Fetch LINE Image (HTTP Request): calls an HTTP API
- Query Chat User (Data table): get
- Query Image User (Data table): get
- Combine Image Context Data (Merge): merges the data from its input branches
- Retrieve Active Plant (Data table): get
- Retrieve Image Active Plant (Data table): get
- Image Analysis Agent (Google Gemini): analyze (image)
- Query Plant Observations (Data table): get
- Fetch Image Chat History (Data table): get
…plus 30 more steps. See the full node list below.
Services it uses
HTTP calls to: api.line.me
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 - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate
From the author
Quick overview This workflow turns a LINE Official Account into a plant care assistant that can analyze plant photos and answer follow-up questions, using Google Gemini for AI responses and n8n Data Tables to store plant profiles, observations, conversation…