Automation library · Alerts and monitoring

Automate ESG carbon monitoring and strategy execution

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

LargeCalls a model: OpenAI

32 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 2Model 13Logic 5Service 12

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

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

How it's built

Starts on
Another system calling it
Steps
32, 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 another system calling it.

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 32 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 32 steps before you point it at anything that matters.