domainwidedelegation.comStart free

Use cases → Documents and Drive

Route inbound CVs into a hiring pipeline folder

Automatically collect candidate CVs from email and place them in a shared Drive folder for the hiring team.

Who it is forRecruiters and HR teams automating candidate intake.
APIsGmail API, Drive API
Typical scopesgmail.readonly, drive

The problem

CVs arrive scattered across inboxes and aliases, easily missed or misfiled. Manual download and upload is slow, error-prone, and risks leaking private data in the wrong folder.

How it works

  1. Monitor the recruitment mailbox using a service account via domain-wide delegation.
  2. Filter for new candidate emails using subject, sender, or attachment type.
  3. Extract CV attachments and upload each to the correct Drive folder.
  4. Set Drive permissions so the hiring panel can access but not edit originals.

What changes

Every candidate CV lands in the right pipeline folder, ready for review, without manual handling or mailbox sifting.

The trap in this one. Gmail API's message 'labelIds' can lag behind attachment processing—if you archive or label before extracting, the attachment may not be retrievable on the next run. Always download attachments before changing labels, or you'll see intermittent missing files with no error from the API.

Questions people ask

Can I process multiple attachments in a single message?

Yes, but filenames can clash. Always rename or namespace attachments before Drive upload to avoid overwrites.

How do I avoid duplicates?

Track the Gmail message ID and Drive file ID together. Reprocessing can otherwise create silent duplicates if the workflow restarts.

Want this built?

This is a pattern we run in production. We will set up the delegation and build this on top of it — $500 per hour, most of it working the same day.

Talk to us Or read the setup guide

Related use cases

Automate expiry alerts for compliance documents in Drive

Monitor expiration dates on compliance files and notify document owners before key certifications or policies lapse.

Notify users before shared Drive documents expire

Detect upcoming expiry of shared Drive documents and notify owners or collaborators so they can take action before access is lost.

Send reminders for unread shared documents

Automatically notify users who haven't opened a document shared with them after a set period, using a delegated service account.