Automation library · Research and reporting

AI Contract Report: Plain English Translation + Risk Score Email

Started by someone submitting a form, and works across Gmail. It hands the judgement calls to Claude and OpenAI. 16 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Claude, OpenAI

16 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 4Logic 6Service 5

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Anthropic Chat ModelLm Chat AnthropicModel
  3. 3Form TriggerForm triggerStarts it
  4. 4Calculate Risk ScoreAgentModel
  5. 5Translate to Plain EnglishAgentModel
  6. 6Form + Security DataMergeLogic
  7. 7Security: Upload to VirusTotalHttp RequestService
  8. 8Merge AI ResultsCodeLogic
  9. 9Clean or Malicious?IfLogic
  10. 10WaitWaitLogic
  11. 11Send Analysis ReportGmailService
  12. 12Extract Form DataCodeLogic
  13. 13Malware RejectionGmailService
  14. 14Security: Get Scan ResultsHttp RequestService
  15. 15PDF to TextExtract From FileService
  16. 16Clean & Truncate TextCodeLogic

How it's built

Starts on
Someone submitting a form
Steps
16, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Gmail
Model
Claude, OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail account, and a key for Claude and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls Claude and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

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 16 steps before you point it at anything that matters.