Templates / Generate carbon emissions reports with OpenAI, Slack and an ESG dashboard

Generate carbon emissions reports with OpenAI, Slack and an ESG dashboard

Ready for 3.0

by Oneclick AI Squad ✓ · 22 views · created 2026-08-14 · 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 17 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 18 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. AI - Generate Sustainability Report (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  8. Set - Discarded/Cancelled (Edit Fields (Set)): sets 1 field: finalStatus
  9. JS - Parse LLM Output & Build Report Payload (Code): runs custom JavaScript code
  10. Wait: pauses before continuing

…plus 3 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 receives energy consumption data or runs on a schedule, converts electricity and fuel usage into estimated CO2e using a live grid-intensity API, and generates a management-ready sustainability report with OpenAI, delivering the…

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.