# Orchestrate sustainability lifecycle analytics with OpenAI: n8n workflow

> Started by someone submitting a form, and works across Gmail, Slack and n8n data table. It puts OpenAI behind a retrieval step, so answers are drawn from...

Source: https://millionrounds.com/workflow/orchestrate-sustainability-lifecycle-analytics-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Orchestrate sustainability lifecycle analytics with OpenAI

Started by someone submitting a form, and works across Gmail, Slack and n8n data table. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 33 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Forchestrate-sustainability-lifecycle-analytics-with-openai)

**33 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 3 Model 14 Logic 7 Service 9

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

- 1 **Monitor Lifecycle Data** Schedule trigger *Starts it*
- 2 **Receive Sustainability Data** Webhook *Starts it*
- 3 **Initiative Submission Form** Form trigger *Starts it*
- 4 **Orchestrator Model** Lm Chat Open Ai *Model*
- 5 **Orchestrator Output Parser** Output Parser Structured *Model*
- 6 **Shared Memory** Memory Buffer Window *Model*
- 7 **Circular Economy Model** Lm Chat Open Ai *Model*
- 8 **Circular Economy Output** Output Parser Structured *Model*
- 9 **Metrics Calculator** Tool Calculator *Model*
- 10 **Governance Model** Lm Chat Open Ai *Model*
- 11 **Governance Output** Output Parser Structured *Model*
- 12 **Documentation Model** Lm Chat Open Ai *Model*
- 13 **Documentation Output** Output Parser Structured *Model*
- 14 **Create ESG Document** Google Docs Tool *Service*
- 15 **Send Approval Notification** Slack Tool *Service*
- 16 **Combine Input Sources** Merge *Logic*
- 17 **Fetch External Sustainability Data** Http Request *Service*
- 18 **Sustainability Orchestrator** Agent *Model*
- 19 **Circular Economy Agent** Agent Tool *Model*
- 20 **Sustainability Governance Agent** Agent Tool *Model*
- 21 **Documentation Agent** Agent Tool *Model*
- 22 **Approval Request Tool** Slack Hitl Tool *Service*
- 23 **Route by Action** Switch *Logic*
- 24 **Prepare Lifecycle Data** Set *Logic*
- 25 **Prepare Governance Data** Set *Logic*
- 26 **Prepare Documentation Data** Set *Logic*
- 27 **Track Lifecycle Analysis** Data Table *Service*
- 28 **Track Governance Approvals** Data Table *Service*
- 29 **Track ESG Documentation** Data Table *Service*
- 30 **Combine All Results** Merge *Logic*
- 31 **Aggregate Metrics** Aggregate *Logic*
- 32 **Send Summary Notification** Slack *Service*
- 33 **Send Stakeholder Report** Gmail *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 33, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Slack, n8n data table
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Gmail 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 someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 33 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 33 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Forchestrate-sustainability-lifecycle-analytics-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Document analysis & chatbot creation with Llama and Gemini** 33 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/document-analysis-and-chatbot-creation-with-llama-and-gemini)
- [**Weekly stock/ETF analysis with Claude and Gmail** 33 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/weekly-stock-etf-analysis-with-claude-and-gmail)
- [**Customer feedback analysis with HTML** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/customer-feedback-analysis-with-html)
- [**Extract & analyze competitor reviews with Firecrawl** 32 steps · calls a model · Gmail](https://millionrounds.com/workflow/extract-and-analyze-competitor-reviews-with-firecrawl)
- [**Send weekly TMetric time reports to employees on Slack** 34 steps · Slack, n8n data table](https://millionrounds.com/workflow/send-weekly-tmetric-time-reports-to-employees-on-slack)
- [**Generate professional reports from Excel/CSV with Gemini** 35 steps · calls a model · Gmail, in-memory vectors](https://millionrounds.com/workflow/generate-professional-reports-from-excel-csv-with-gemini)
