Automation library · AI assistants

Validate academic promotion decisions with OpenAI and Gmail

Started by a clock, and works across Email and n8n data table. It hands the judgement calls to OpenAI. 21 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

21 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 10Logic 4Service 6

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAI Model - Performance AgentLm Chat Open AiModel
  3. 3OpenAI Model - Governance AgentLm Chat Open AiModel
  4. 4OpenAI Model - Calibration AgentLm Chat Open AiModel
  5. 5Performance Validation Output ParserOutput Parser StructuredModel
  6. 6Governance Decision Output ParserOutput Parser StructuredModel
  7. 7Calibration Output ParserOutput Parser StructuredModel
  8. 8Policy Compliance Checker ToolTool CodeModel
  9. 9Workflow ConfigurationSetLogic
  10. 10Performance Signal Agent ToolAgent ToolModel
  11. 11Governance AgentAgentModel
  12. 12Calibration Agent ToolAgent ToolModel
  13. 13Fetch Performance DataHttp RequestService
  14. 14Fetch Policy RulesHttp RequestService
  15. 15Route by DecisionSwitchLogic
  16. 16Store Approved PromotionsData TableService
  17. 17Store Rejected CasesData TableService
  18. 18Wait for HR ReviewWaitLogic
  19. 19Merge All OutcomesMergeLogic
  20. 20Send HR Escalation EmailEmail SendService
  21. 21Store Audit TrailData TableService

How it's built

Starts on
A clock
Steps
21, with 1 branch, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Email, n8n data table
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Email 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 21 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 21 steps before you point it at anything that matters.