Diagnose solar production losses with SolarEdge, Open-Meteo, Gemini, Postgres, Jira and Slack
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Postgres, Google Gemini Chat Model, Jira Software and Slack. It also calls api.open-meteo.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Setup Configurations (Edit Fields (Set)): sets 12 fields: site_id, solaredge_site_id, latitude…
- Notify Slack on Error (Slack): uses Slack
- Fetch Inverter Data (HTTP Request): calls an HTTP API
- Fetch Weather Forecast (HTTP Request): calls api.open-meteo.com
- Retrieve 30-Day History (Postgres): run a query
- Get Recent Incident Logs (Postgres): run a query
- Compile Analysis Context (Code): runs custom JavaScript code
- Store Daily Metrics (Postgres): run a query
- Detect Anomalies (If): checks a condition and branches into true / false
- Insight Generation Agent (AI Agent): runs an AI agent, with model: Gemini Chat Processing; output parser: Parse Structured Output
…plus 6 more steps. See the full node list below.
Services it uses
Other Google Gemini + Slack templates (309) · Other PostgreSQL + Slack templates (109) · Other Jira + Slack templates (76)
HTTP calls to: api.open-meteo.com
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 (13)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Postgres
n8n-nodes-base.postgres - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Jira Software
n8n-nodes-base.jira - Slack
n8n-nodes-base.slack - Error Trigger
n8n-nodes-base.errorTrigger - Edit Fields (Set)
n8n-nodes-base.set - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview Youtube Video: https://youtu.be/7lmQu9wd46w This workflow runs on a monthly schedule (or manually) to compare SolarEdge energy production against weather-adjusted expectations using Open-Meteo and Postgres history, then uses Google Gemini to…