# Detect transaction fraud and manage compliance with OpenAI: n8n workflow

> Started by a clock, and works across Airtable. It hands the judgement calls to OpenAI. 22 steps, 1 branch: large, and worth reading before you trust it with...

Source: https://millionrounds.com/workflow/detect-transaction-fraud-and-manage-compliance-with-openai (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)

# Detect transaction fraud and manage compliance with OpenAI

Started by a clock, and works across Airtable. It hands the judgement calls to OpenAI. 22 steps, 1 branch: 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%2Fdetect-transaction-fraud-and-manage-compliance-with-openai)

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

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 15 Logic 3 Service 3

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **OpenAI Model - Transaction Signal** Lm Chat Open Ai *Model*
- 3 **Transaction Signal Parser** Output Parser Structured *Model*
- 4 **OpenAI Model - Compliance** Lm Chat Open Ai *Model*
- 5 **Compliance Action Parser** Output Parser Structured *Model*
- 6 **OpenAI Model - Investigation** Lm Chat Open Ai *Model*
- 7 **Investigation Parser** Output Parser Structured *Model*
- 8 **OpenAI Model - Risk Scoring** Lm Chat Open Ai *Model*
- 9 **Risk Score Parser** Output Parser Structured *Model*
- 10 **Airtable Tool - Compliance Records** Airtable Tool *Service*
- 11 **OpenAI Model - Reporting** Lm Chat Open Ai *Model*
- 12 **Report Parser** Output Parser Structured *Model*
- 13 **Workflow Configuration** Set *Logic*
- 14 **Transaction Signal Agent** Agent *Model*
- 15 **Compliance Agent** Agent *Model*
- 16 **Investigation Agent Tool** Agent Tool *Model*
- 17 **Risk Scoring Agent Tool** Agent Tool *Model*
- 18 **Reporting Agent Tool** Agent Tool *Model*
- 19 **Fetch Pending Transactions** Airtable *Service*
- 20 **Route by Risk Level** Switch *Logic*
- 21 **Merge Results** Merge *Logic*
- 22 **Update Transaction Records** Airtable *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 22, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Airtable
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Airtable 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 22 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 22 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%2Fdetect-transaction-fraud-and-manage-compliance-with-openai)
- **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)

## Workflows like it

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

- [**Decision log processor with OpenAI and Airtable** 21 steps · calls a model · Airtable, Dropbox](https://millionrounds.com/workflow/decision-log-processor-with-openai-and-airtable)
- [**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)
- [**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)
- [**Email subscription service with Airtable** 24 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/email-subscription-service-with-airtable)
- [**From Google Drive to Instagram, TikTok & YouTube with Airtable** 24 steps · calls a model · Airtable, Google Drive](https://millionrounds.com/workflow/from-google-drive-to-instagram-tiktok-and-youtube-with-airta)
