Automation library · Data collection

Draft security questionnaire responses with Anthropic

Started by an arriving email, and works across Email, Gmail and Google Sheets. It hands the judgement calls to Claude. 16 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: Claude

16 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 2Model 4Logic 8Service 2

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

  1. 1Try It (Manual)Manual triggerStarts it
  2. 2Gmail Trigger (enable for production)Gmail triggerStarts it
  3. 3Claude, ExtractLm Chat AnthropicModel
  4. 4Claude, DraftLm Chat AnthropicModel
  5. 5Sample Questionnaire EmailSetLogic
  6. 6Normalize + Detect QuestionnaireCodeLogic
  7. 7Stage 1, Extract QuestionsChain LlmModel
  8. 8Stage 2, Draft One Answer (per question)Chain LlmModel
  9. 9Is It a Questionnaire?IfLogic
  10. 10Split Into Question ItemsCodeLogic
  11. 11Validate Draft + Confidence GateCodeLogic
  12. 12Security Profile (replace with yours)SetLogic
  13. 13Skip, Not a QuestionnaireNo OpLogic
  14. 14Aggregate + Build Review EmailCodeLogic
  15. 15Load Profile from Google Sheet (optional)Google SheetsService
  16. 16Send Draft for ReviewEmail SendService

How it's built

Starts on
An arriving email
Steps
16, with 1 branch
Size
Medium: a working afternoon
Connects to
Email, Gmail, Google Sheets
Model
Claude

Questions

What does it need to run?

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

What starts it?

It starts on an arriving email.

Does it use AI?

Yes. It calls Claude. 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.