Skip to content

Every 15 minutes

File emailed CVs in Drive with a short candidate review

Every CV sent to your jobs inbox is saved to your Candidates folder and you get an email with a short review against the role.

Runs
Every 15 minutes
Apps
Gmail, Google Drive
AI
Yes, uses the built-in AI allowance
Access
Gmail gmail.modify; Drive write

Send this to your assistant

Create a ClickRuntime automation: when an email with a CV arrives at jobs@, save the CV to my Drive 'Candidates' folder and email me a short evaluation against the role.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

The founder of a ten-person company posts a job and asks applicants to email jobs@. Within a week there are sixty CVs mixed in with recruiter pitches and follow-ups. She downloads each attachment, renames it, drags it into a folder, and reads every one before she can decide who to call.

Filing each CV automatically and getting a short review against the role lets you shortlist from your inbox in minutes. Small companies without a recruiting tool use it to handle applications properly without a hiring coordinator.

What you get out of it

  • Every application is kept in one folder

    CVs are saved to Drive as they arrive, so nothing is lost in the inbox and the whole team can see the candidates.

  • A quick first read of each candidate

    The review highlights how the candidate's experience matches the role and what is missing, so you know which CVs to read in full.

  • Faster replies to strong candidates

    Good applicants often have other offers. Seeing a promising review the same day helps you call them first.

  • Fairer screening

    Every CV is compared with the same role description, which keeps the first pass consistent across a large batch.

How it works

What happens, step by step

  1. Every few minutes ClickRuntime checks your jobs inbox for new emails with an attachment.

  2. It skips emails it has already handled, which it marks with a Gmail label.

  3. Each CV is saved to your Drive Candidates folder.

  4. AI compares the CV with your role description, and you get an email with a short review and a link to the file.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect Google Drive

What you get

RunsEvery 15 minutes
File emailed CVs in Drive with a short candidate reviewtoday, 9:00Succeeded
Email · New CVNew CV: jordan-lee-cv.pdf. Strong fit: 7 years running warehouse teams at Northwind Freight. Gap: no experience with our planning software.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Gmail and Google Drive steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
cv_emails_filed_in_drive_with_a_candidate_summary.pyexample
import base64, io
from pypdf import PdfReader
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from googleapiclient.http import MediaIoBaseUpload
from clickruntime import on_trigger, credentials, notify, ai, report_fetched

FOLDER_ID, LABEL_ID = "your-candidates-folder-id", "Label_CV_Filed"
ROLE = "Operations manager: 5+ years in logistics, team leadership, strong spreadsheet skills."

@on_trigger
def run(event):
    creds = Credentials(credentials.connection("google", "work"))
    gmail, drive = build("gmail", "v1", credentials=creds, cache_discovery=False), build("drive", "v3", credentials=creds, cache_discovery=False)
    msgs = gmail.users().messages().list(userId="me", q="to:jobs@ has:attachment filename:pdf -label:cv-filed").execute().get("messages", [])
    report_fetched(len(msgs))
    if not msgs:
        return {"summary": "Nothing new"}
    for m in msgs:
        msg = gmail.users().messages().get(userId="me", id=m["id"]).execute()
        part = next(p for p in msg["payload"].get("parts", []) if p.get("filename", "").lower().endswith(".pdf"))
        pdf = base64.urlsafe_b64decode(gmail.users().messages().attachments().get(userId="me", messageId=m["id"], id=part["body"]["attachmentId"]).execute()["data"])
        f = drive.files().create(body={"name": part["filename"], "parents": [FOLDER_ID]}, fields="webViewLink",
                                 media_body=MediaIoBaseUpload(io.BytesIO(pdf), mimetype="application/pdf")).execute()
        text = "".join(p.extract_text() or "" for p in PdfReader(io.BytesIO(pdf)).pages)[:6000]
        review = ai.generate(f"Role: {ROLE}\nCV:\n{text}\nWrite a 5-line evaluation: fit, strengths, gaps.", max_output_tokens=300).text
        notify.email_me(f"New CV: {part['filename']}", f"{review}\n\n{f['webViewLink']}")
        gmail.users().messages().modify(userId="me", id=m["id"], body={"addLabelIds": [LABEL_ID]}).execute()
    return {"filed": len(msgs)}

FAQ

Common questions

What file types does it handle?
PDF CVs work best. Word documents are saved to Drive too, and the review is based on the text it can read from them.
Where do I describe the role?
You give it the job description once, in a few paragraphs. Each review compares the CV with that description.
Does it reply to the applicant?
No. It files the CV and emails you the review. You decide who to contact, and you can add an acknowledgement email if you want one.
What permissions does it need?
Gmail gmail.modify; Drive write. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it checks. Checks that find nothing new and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “File emailed CVs in Drive with a short candidate review” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.