# Analyze workforce data and generate planning reports: n8n workflow

> Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/analyze-workforce-data-and-generate-planning-reports (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)

# Analyze workforce data and generate planning reports

Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 22 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-workforce-data-and-generate-planning-reports)

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

**1** Branch: places the flow splits

**1** Loop or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Model 14 Logic 7

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

- 1 **Weekly Workforce Analysis Trigger** Schedule trigger *Starts it*
- 2 **OpenAI Model - Intelligence Agent** Lm Chat Open Ai *Model*
- 3 **OpenAI Model - Planning Agent** Lm Chat Open Ai *Model*
- 4 **OpenAI Model - Mobility Agent** Lm Chat Open Ai *Model*
- 5 **OpenAI Model - Reporting Agent** Lm Chat Open Ai *Model*
- 6 **Intelligence Analysis Output Parser** Output Parser Structured *Model*
- 7 **Planning Recommendations Output Parser** Output Parser Structured *Model*
- 8 **Mobility Workflow Output Parser** Output Parser Structured *Model*
- 9 **Executive Report Output Parser** Output Parser Structured *Model*
- 10 **Capacity Forecasting Tool** Tool Code *Model*
- 11 **Attrition Risk Calculator Tool** Tool Code *Model*
- 12 **Workflow Configuration** Set *Logic*
- 13 **Workforce Intelligence Agent** Agent *Model*
- 14 **Planning Orchestration Agent** Agent *Model*
- 15 **Mobility Analysis Agent Tool** Agent Tool *Model*
- 16 **Executive Reporting Agent Tool** Agent Tool *Model*
- 17 **Generate Mock Workforce Data** Code *Logic*
- 18 **Aggregate Intelligence Insights** Aggregate *Logic*
- 19 **Check Critical Workforce Signals** If *Logic*
- 20 **Format Final Workforce Report** Set *Logic*
- 21 **Flag for Human Review** Set *Logic*
- 22 **Wait for Human Approval** Wait *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 22, with 1 branch, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, 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 22 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 22 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%2Fanalyze-workforce-data-and-generate-planning-reports)
- **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.

## Workflows like it

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

- [**AI-Powered Vendor Policy & RSS Feed Analysis** 22 steps · calls a model · Gmail, RSS](https://millionrounds.com/workflow/ai-powered-vendor-policy-and-rss-feed-analysis)
- [**AI-powered viral trend analysis for TikTok and Instagram** 22 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-viral-trend-analysis-for-tiktok-and-instagram)
- [**Analyze competitor Facebook ads with Apify and OpenAI** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/analyze-competitor-facebook-ads-with-apify-and-openai)
- [**Audit AI decisions and route risks with OpenAI and Slack** 22 steps · calls a model · Email, Slack](https://millionrounds.com/workflow/audit-ai-decisions-and-route-risks-with-openai-and-slack)
- [**Automate UX research planning with Gemini and Google Docs** 22 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/automate-ux-research-planning-with-gemini-and-google-docs)
- [**Automate satellite data analysis and regulatory reporting** 22 steps · calls a model · Email, Postgres](https://millionrounds.com/workflow/automate-satellite-data-analysis-and-regulatory-reporting)
