Automation library · Data collection

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.

LargeCalls a model: OpenAI

21 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 3Logic 7Service 10

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

  1. 1Dropbox Trigger (Poll /inbox/)Schedule triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4List Files in InboxDropboxService
  5. 5AI Agent: Extract Decision RecordAgentModel
  6. 6Workflow ConfigurationSetLogic
  7. 7Check Confidence & CompletenessIfLogic
  8. 8Check File Type (txt/md)IfLogic
  9. 9Create Airtable RecordAirtableService
  10. 10Prepare Error JSONSetLogic
  11. 11Move to ProcessingDropboxService
  12. 12Post Summary to SlackSlackService
  13. 13Make Error JSON FileCodeLogic
  14. 14Download FileDropboxService
  15. 15Post Thread with DetailsSlackService
  16. 16Upload Error JSONDropboxService
  17. 17Generate Correlation ID & Extract TitleCodeLogic
  18. 18Make Decision JSON FileCodeLogic
  19. 19Move to FailedDropboxService
  20. 20Upload JSON to OutboxDropboxService
  21. 21Move to ProcessedDropboxService

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.