Weekly Energy Reports: API Fetch, Email & Google Drive

Automates weekly retrieval of energy consumption data from EnergiDataService API, generates CSV reports, emails them, and uploads to Google Drive every Monday at 8 AM.

n8n
Weekly Energy Reports: API Fetch, Email & Google Drive

This n8n workflow streamlines energy monitoring by triggering every Monday at 8 AM via a Cron node to fetch hourly electricity consumption data from the EnergiDataService API (e.g., ConsumptionDE35Hour endpoint). The data, covering metrics like HourDK, Municipality, and ConsumptionkWh for regions like Copenhagen, is normalized in a Code node to create individual JSON items for processing.

Next, it formats the data into a structured CSV report, ideal for analysis in spreadsheets. The workflow then distributes the report via email using SMTP credentials and simultaneously uploads a copy to a specified Google Drive folder, ensuring accessibility and backup. This end-to-end automation eliminates manual data pulls and reporting tasks.

Benefits include significant time savings for energy providers, facility managers, and sustainability teams, reducing errors in data handling and enabling consistent weekly insights. Use cases span renewable energy operators tracking consumption trends, municipalities monitoring usage, or businesses complying with reporting requirements. Customize the Cron schedule, API endpoints, or add filters for tailored reporting.

$14.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Education workflows

More from Arjun Radu

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.