Automation library · Hiring

Automate Candidate Screening with LlamaIndex

Started by an arriving email, and works across Gmail and Google Sheets. It hands the judgement calls to OpenAI. 20 steps, 4 branches, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

20 stepsMedium: a working afternoon
4Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 1Logic 12Service 6

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

  1. 1Gmail Trigger - Incoming ApplicationsGmail triggerStarts it
  2. 2 Set Job Criteria TextSetLogic
  3. 3 Extract Email Body TextSetLogic
  4. 4 Check Subject ValidityIfLogic
  5. 5Check If PDF Attachment ExistsIfLogic
  6. 6No Operation, do nothingNo OpLogic
  7. 7☁️ Upload PDF to LlamaIndexHttp RequestService
  8. 8 Prepare Data for OpenAISetLogic
  9. 9⏳ Check Parsing StatusHttp RequestService
  10. 10 Evaluate Candidate with OpenAIOpen AiModel
  11. 11🔁 Condition: Was Parsing Successful?IfLogic
  12. 12 Final Decision CheckIfLogic
  13. 13 📥 Get Parsed Markdown ResultHttp RequestService
  14. 14 ⏱ Delay Before RecheckWaitLogic
  15. 15 Send AcceptanceGmailService
  16. 16 Send RejectionGmailService
  17. 17 🧼 Clean Markdown TextCodeLogic
  18. 18 Mark as AcceptedSetLogic
  19. 19 Mark as RejectedSetLogic
  20. 20 Update Candidate Status on Google SheetsGoogle SheetsService

How it's built

Starts on
An arriving email
Steps
20, with 4 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts, and a key for OpenAI. 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 OpenAI. 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.