# Validate compliance records with OpenAI and Google Sheets: n8n workflow

> Started by a clock, and works across Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/validate-compliance-records-with-openai-and-google-sheets (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fvalidate-compliance-records-with-openai-and-google-sheets)

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

**3** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Model 2 Logic 10 Service 7

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

- 1 **Audit Trigger (Schedule)** Schedule trigger *Starts it*
- 2 **On Workflow Error** Error trigger *Starts it*
- 3 **Fetch Compliance Records** Google Sheets *Service*
- 4 **Slack – Post Workflow Error Alert** Slack *Service*
- 5 **AI Compliance Check - Pass 1** Open Ai *Model*
- 6 **Parse Pass 1 Result** Code *Logic*
- 7 **Slack, Send Workflow Error Alert** Slack *Service*
- 8 **Violation Flagged?** If *Logic*
- 9 **AI Verification & Auto-Fix - Pass 2** Open Ai *Model*
- 10 **Mark Compliant** Set *Logic*
- 11 **Parse Pass 2 Result** Code *Logic*
- 12 **Slack, Send Pass 2 Error Alert** Slack *Service*
- 13 **Combine Results** Merge *Logic*
- 14 **False Positive?** If *Logic*
- 15 **Append to Audit Log** Google Sheets *Service*
- 16 **Mark False Positive Resolved** Set *Logic*
- 17 **Auto-Fixable?** If *Logic*
- 18 **Apply Auto-Fix** Google Sheets *Service*
- 19 **Escalate to Compliance Team** Telegram *Service*
- 20 **Prepare Auto-Fix Log** Set *Logic*
- 21 **Prepare Escalation Log** Set *Logic*

## 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.

## 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%2Fvalidate-compliance-records-with-openai-and-google-sheets)
- **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.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**AI-powered email inbox manager with OpenAI and Gmail** 21 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/ai-powered-email-inbox-manager-with-openai-and-gmail)
- [**Analyze Amazon review gaps with Bright Data and OpenAI** 21 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/analyze-amazon-review-gaps-with-bright-data-and-openai)
- [**Create Kubernetes resources from Slack with Claude** 21 steps · calls a model · Slack](https://millionrounds.com/workflow/create-kubernetes-resources-from-slack-with-claude)
- [**Curate tech news from RSS with OpenAI and Google Sheets** 21 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/curate-tech-news-from-rss-with-openai-and-google-sheets)
- [**Daily news digest & weekly trends with Slack and Google Sheets** 21 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/daily-news-digest-and-weekly-trends-with-slack-and-google-sh)
- [**Diagnose website friction with Microsoft Clarity** 21 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/diagnose-website-friction-with-microsoft-clarity)
