Automation library · Chat assistants

Screen CVs for hidden prompt injections with Gemini

Started by someone submitting a form, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to Gemini. 20 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: Gemini

20 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 6Logic 4Service 9

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

  1. 1When Form SubmittedForm triggerStarts it
  2. 2Gemini Text ChatLm Chat Google GeminiModel
  3. 3Parse Text ContentOutput Parser StructuredModel
  4. 4Gemini Vision ChatLm Chat Google GeminiModel
  5. 5Parse Visual ContentOutput Parser StructuredModel
  6. 6Check CV FormatIfLogic
  7. 7Text Analysis ScreenerChain LlmModel
  8. 8Vision Analysis ScreenerChain LlmModel
  9. 9Extract Text from PDFExtract From FileService
  10. 10Convert PDF to ImageHttp RequestService
  11. 11Combine Screeners ResultsMergeLogic
  12. 12Notify Incorrect FormatFormService
  13. 13Alert Vision Path FailureTelegramService
  14. 14Decode Image from Base64Convert To FileService
  15. 15Set Verdict FieldsSetLogic
  16. 16Check for Injection ThreatIfLogic
  17. 17Quarantine to DriveGoogle DriveService
  18. 18Notify Clean Result on TelegramTelegramService
  19. 19Notify Flagged on TelegramTelegramService
  20. 20Append to Application LogsGoogle SheetsService

How it's built

Starts on
Someone submitting a form
Steps
20, with 2 branches
Size
Medium: a working afternoon
Connects to
Google Drive, Google Sheets, Telegram
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Google Drive, Google Sheets and Telegram accounts, and a key for Gemini. 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 Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 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 20 steps before you point it at anything that matters.