Templates / Generate carbon emission reports with GPT-4.1-mini, Slack, and ESG APIs

Generate carbon emission reports with GPT-4.1-mini, Slack, and ESG APIs

Ready for 3.0

by Oneclick AI Squad ✓ · 3 views · created 2026-08-24 · Document Extraction, AI Summarization

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 AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects OpenAI Chat Model and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).

  1. Set - Config (Edit Fields (Set)): sets 21 fields: companyName, facilityName, region…
  2. HTTP Request: calls an HTTP API
  3. JS - Calculate Carbon Emissions (Code): runs custom JavaScript code
  4. Switch: routes items into 4 branches
  5. Wait: pauses before continuing
  6. If: checks a condition and branches into true / false
  7. HTTP Request: calls an HTTP API
  8. JS - Compute YoY Trend (Code): runs custom JavaScript code
  9. Set - Discarded/Cancelled (Edit Fields (Set)): sets 1 field: finalStatus
  10. JS - Estimate Offset Cost (optional) (Code): runs custom JavaScript code

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

Services it uses

OpenAI Chat ModelSlack

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 (12)

From the author

Quick Overview This workflow ingests electricity and fuel consumption via webhook, schedule, or manual run, estimates CO2e using a live grid carbon-intensity API with fallback factors, generates an OpenAI sustainability report after human review, then sends…

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.