Automation library · Chat assistants

Validate compliance records with OpenAI and Google Sheets

Started by a clock, and works across Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI. 21 steps, 3 branches: 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
3Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 2Model 2Logic 10Service 7

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

  1. 1Audit Trigger (Schedule)Schedule triggerStarts it
  2. 2On Workflow ErrorError triggerStarts it
  3. 3Fetch Compliance RecordsGoogle SheetsService
  4. 4Slack – Post Workflow Error AlertSlackService
  5. 5AI Compliance Check - Pass 1Open AiModel
  6. 6Parse Pass 1 ResultCodeLogic
  7. 7Slack, Send Workflow Error AlertSlackService
  8. 8Violation Flagged?IfLogic
  9. 9AI Verification & Auto-Fix - Pass 2Open AiModel
  10. 10Mark CompliantSetLogic
  11. 11Parse Pass 2 ResultCodeLogic
  12. 12Slack, Send Pass 2 Error AlertSlackService
  13. 13Combine ResultsMergeLogic
  14. 14False Positive?IfLogic
  15. 15Append to Audit LogGoogle SheetsService
  16. 16Mark False Positive ResolvedSetLogic
  17. 17Auto-Fixable?IfLogic
  18. 18Apply Auto-FixGoogle SheetsService
  19. 19Escalate to Compliance TeamTelegramService
  20. 20Prepare Auto-Fix LogSetLogic
  21. 21Prepare Escalation LogSetLogic

How it's built

Starts on
A clock
Steps
21, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Slack, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets, Slack and Telegram 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 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.