Automation library · Alerts and monitoring

Monitor and optimize carbon emissions for ESG reporting

Started by a clock, and works across Email, Google Sheets, Postgres and Slack. It hands the judgement calls to OpenAI. 30 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

30 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 1Model 13Logic 4Service 12

The steps in the order they run, from what starts it.

  1. 1Scheduled Carbon Data CollectionSchedule triggerStarts it
  2. 2Supervisor ModelLm Chat Open AiModel
  3. 3Supervisor Output ParserOutput Parser StructuredModel
  4. 4Monitoring ModelLm Chat Open AiModel
  5. 5Optimization ModelLm Chat Open AiModel
  6. 6Policy ModelLm Chat Open AiModel
  7. 7ESG ModelLm Chat Open AiModel
  8. 8Carbon Calculations ToolTool CodeModel
  9. 9KPI CalculatorTool CalculatorModel
  10. 10Carbon Database ToolPostgres ToolService
  11. 11Policy Sheets ToolGoogle Sheets ToolService
  12. 12Carbon Supervisor AgentAgentModel
  13. 13Carbon Monitoring AgentAgent ToolModel
  14. 14Carbon Optimization AgentAgent ToolModel
  15. 15Policy Enforcement AgentAgent ToolModel
  16. 16ESG Reporting AgentAgent ToolModel
  17. 17Approval Workflow ToolSlack Hitl ToolService
  18. 18Route by Action TypeSwitchLogic
  19. 19Store Carbon MetricsPostgresService
  20. 20Prepare Optimization DataSetLogic
  21. 21Send Policy AlertSlackService
  22. 22Update ESG ReportGoogle SheetsService
  23. 23Consolidate All ActionsMergeLogic
  24. 24Check Approval RequiredIfLogic
  25. 25Send ESG Report EmailEmail SendService
  26. 26Send Summary NotificationSlackService
  27. 27Request Strategy ApprovalSlackService
  28. 28Auto-Execute StrategyPostgresService
  29. 29Update KPI DashboardPostgresService
  30. 30Log Approved StrategyPostgresService

How it's built

Starts on
A clock
Steps
30, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Email, Google Sheets, Postgres, Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Email, Google Sheets, Postgres and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 30 steps before you point it at anything that matters.