# Decision log processor with OpenAI and Airtable: n8n workflow

> Started by a clock, and works across Airtable, Dropbox and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/decision-log-processor-with-openai-and-airtable (Millionrounds; every figure on the page links to its filing or article)

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

# Decision log processor with OpenAI and Airtable

Started by a clock, and works across Airtable, Dropbox and Slack. It hands the judgement calls to OpenAI. 21 steps, 2 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%2Fdecision-log-processor-with-openai-and-airtable)

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

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 3 Logic 7 Service 10

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

- 1 **Dropbox Trigger (Poll /inbox/)** Schedule trigger *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **List Files in Inbox** Dropbox *Service*
- 5 **AI Agent: Extract Decision Record** Agent *Model*
- 6 **Workflow Configuration** Set *Logic*
- 7 **Check Confidence & Completeness** If *Logic*
- 8 **Check File Type (txt/md)** If *Logic*
- 9 **Create Airtable Record** Airtable *Service*
- 10 **Prepare Error JSON** Set *Logic*
- 11 **Move to Processing** Dropbox *Service*
- 12 **Post Summary to Slack** Slack *Service*
- 13 **Make Error JSON File** Code *Logic*
- 14 **Download File** Dropbox *Service*
- 15 **Post Thread with Details** Slack *Service*
- 16 **Upload Error JSON** Dropbox *Service*
- 17 **Generate Correlation ID & Extract Title** Code *Logic*
- 18 **Make Decision JSON File** Code *Logic*
- 19 **Move to Failed** Dropbox *Service*
- 20 **Upload JSON to Outbox** Dropbox *Service*
- 21 **Move to Processed** Dropbox *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 21, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Airtable, Dropbox, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Airtable, Dropbox 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 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%2Fdecision-log-processor-with-openai-and-airtable)
- **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.

[Airtable](https://millionrounds.com/workflows?service=Airtable#library)[Dropbox](https://millionrounds.com/workflows?service=Dropbox#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Screen and route AI-scored job applications with Airtable** 21 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/screen-and-route-ai-scored-job-applications-with-airtable)
- [**Track athlete sessions and weekly performance with OpenAI** 21 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/track-athlete-sessions-and-weekly-performance-with-openai)
- [**Track daily LLM brand visibility with Gemini and Groq** 21 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/track-daily-llm-brand-visibility-with-gemini-and-groq)
- [**Build production-ready user authentication with Airtable** 21 steps · Airtable](https://millionrounds.com/workflow/build-production-ready-user-authentication-with-airtable)
- [**Automated Instagram reels workflow with Gemini and Airtable** 20 steps · calls a model · Airtable, Google Drive](https://millionrounds.com/workflow/automated-instagram-reels-workflow-with-gemini-and-airtable)
- [**Detect transaction fraud and manage compliance with OpenAI** 22 steps · calls a model · Airtable](https://millionrounds.com/workflow/detect-transaction-fraud-and-manage-compliance-with-openai)
