# Screen CVs for hidden prompt injections with Gemini: n8n workflow

> Started by someone submitting a form, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/screen-cvs-for-hidden-prompt-injections-with-gemini (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# 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.

Medium Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscreen-cvs-for-hidden-prompt-injections-with-gemini)

**20 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 6 Logic 4 Service 9

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

- 1 **When Form Submitted** Form trigger *Starts it*
- 2 **Gemini Text Chat** Lm Chat Google Gemini *Model*
- 3 **Parse Text Content** Output Parser Structured *Model*
- 4 **Gemini Vision Chat** Lm Chat Google Gemini *Model*
- 5 **Parse Visual Content** Output Parser Structured *Model*
- 6 **Check CV Format** If *Logic*
- 7 **Text Analysis Screener** Chain Llm *Model*
- 8 **Vision Analysis Screener** Chain Llm *Model*
- 9 **Extract Text from PDF** Extract From File *Service*
- 10 **Convert PDF to Image** Http Request *Service*
- 11 **Combine Screeners Results** Merge *Logic*
- 12 **Notify Incorrect Format** Form *Service*
- 13 **Alert Vision Path Failure** Telegram *Service*
- 14 **Decode Image from Base64** Convert To File *Service*
- 15 **Set Verdict Fields** Set *Logic*
- 16 **Check for Injection Threat** If *Logic*
- 17 **Quarantine to Drive** Google Drive *Service*
- 18 **Notify Clean Result on Telegram** Telegram *Service*
- 19 **Notify Flagged on Telegram** Telegram *Service*
- 20 **Append to Application Logs** Google Sheets *Service*

## 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.

## 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%2Fscreen-cvs-for-hidden-prompt-injections-with-gemini)
- **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.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**Analyze daily metrics with Google Sheets and Slack** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-daily-metrics-with-google-sheets-and-slack)
- [**Automate school lunch allergy checks with Google Sheets** 20 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-school-lunch-allergy-checks-with-google-sheets)
- [**Build AOG parts release packets with OpenAI and Google Drive** 20 steps · calls a model · Google Drive, Telegram](https://millionrounds.com/workflow/build-aog-parts-release-packets-with-openai-and-google-drive)
- [**Compare Amazon prices with Google Shopping and Bright Data** 20 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/compare-amazon-prices-with-google-shopping-and-bright-data)
- [**Compare product prices on Amazon and Jumia with Decodo** 20 steps · calls a model · Telegram](https://millionrounds.com/workflow/compare-product-prices-on-amazon-and-jumia-with-decodo)
- [**Design UI projects with Google Stitch and Telegram** 20 steps · calls a model · Telegram](https://millionrounds.com/workflow/design-ui-projects-with-google-stitch-and-telegram)
