Templates / Optimize EV charging load control and alerts with HTTP API and email

Optimize EV charging load control and alerts with HTTP API and email

Ready for 3.0

by Oneclick AI Squad ✓ · 4 views · created 2026-08-14 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 19 nodes and runs on a schedule (every minute). Along the way it connects Slack.

How it runs

Trigger: On a schedule (every minute).

  1. Config - Thresholds & Site Settings (Edit Fields (Set)): sets 11 fields: siteId, controlApiBaseUrl, metricsLogEndpoint…
  2. Fetch Live Station Demand & Grid Data (HTTP Request): calls an HTTP API
  3. JS - Parse & Normalize Station Data (Code): runs custom JavaScript code
  4. Send Fetch Failure Alert Email (Send Email): sends an email over SMTP
  5. JS - Calculate Grid Load & Detect Anomalies (Code): runs custom JavaScript code
  6. JS - Forecast Near-Term Demand (Code): runs custom JavaScript code
  7. JS - Generate Weighted Charging Schedule (Code): runs custom JavaScript code
  8. If: checks a condition and branches into true / false
  9. Wait: pauses before continuing
  10. Apply Control Commands (Normal Path) (HTTP Request): calls an HTTP API (POST)

…plus 8 more steps. See the full node list below.

Services it uses

Slack

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)

From the author

Quick overview This workflow polls an EV charging-network API every 5 minutes, calculates site-wide grid load and tariff status, generates per-station charging recommendations, and emails either a standard schedule update or an overload warning with a…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.