Screen CVs for hidden prompt injections with Gemini, Google Drive, Sheets, and Telegram
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs when someone submits an n8n form (“Job Application”). Along the way it connects Google Gemini Chat Model, Google Drive, Telegram and Google Sheets. It also calls v2.convertapi.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Job Application”).
- Check CV Format (If): checks a condition and branches into true / false
- Extract Text from PDF (Extract from File): extracts data from a file (pdf)
- Convert PDF to Image (HTTP Request): calls v2.convertapi.com (POST)
- Combine Screeners Results (Merge): merges the data from its input branches
- Notify Incorrect Format (n8n Form): shows the next form page
- Text Analysis Screener (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Text Chat; output parser: Parse Text Content
- Decode Image from Base (Convert to File): converts data to a file (to binary)
- Alert Vision Path Failure (Telegram): uses Telegram
- Set Verdict Fields (Edit Fields (Set)): sets 8 fields: text_score, vision_score, text_qualified…
- Vision Analysis Screener (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Vision Chat; output parser: Parse Visual Content
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: v2.convertapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (14)
- n8n Form Trigger
n8n-nodes-base.formTrigger - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - Extract from File
n8n-nodes-base.extractFromFile - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - Convert to File
n8n-nodes-base.convertToFile - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Telegram
n8n-nodes-base.telegram - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview Youtube Video: https://youtu.be/WMB6WwJayc This workflow collects PDF CVs via an n8n form, screens them twice with Gemini (text extraction and vision on a rendered image), and compares the results to detect hidden-text, prompt-injection…