Identify plants from photos and send care plans with Gemini and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when someone submits an n8n form (“Identify my plant”). Along the way it connects Google Gemini Chat Model, Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Identify my plant”).
- Identify Plant with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Plant Report Parser
- Parse Plant Report (Code): runs custom JavaScript code
- Email Identification Failure (Gmail): uses Gmail
- Log Plant to Care Sheet (Google Sheets): append or update
- Route by Plant Health (Switch): routes items into 3 branches
- Email Rescue Plan (Gmail): uses Gmail
- Email Treatment Plan (Gmail): uses Gmail
- Email Care Schedule (Gmail): uses Gmail
- Email Unclear Result (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Gmail templates (518)
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 (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow collects a plant photo via an n8n form, uses Google Gemini to identify the plant and assess its health, logs the result to Google Sheets, and emails a tailored care plan through Gmail based on the plant’s condition. How it works…