👥 Daily BGV status digest: Track verifications with Google Sheets to Gmail alerts

⚡ 62 views · 👥 HR & Recruitment

Description

Background Verification Executive Digest Automation: Track Completed & Pending Verifications via Email (from Google Sheets)

This automation sends a daily late-night email summary to each Background Verification (BGV) executive — straight out of your “BGV Tracker” Google Sheet. Each executive gets their own digest listing candidates whose background checks were completed today and which ones are still pending, complete with clear “stale” alerts for overdue follow-ups. The workflow runs reliably via n8n, auto-grouping entries and packaging the results in a user-friendly tabular email, every day at 23:00 IST.

Who’s it for

How it works

  1. Schedule Trigger: Runs every night at 23:00 IST (Asia/Kolkata), weekends OFF by default.
  2. Google Sheets: Reads all rows from your “BGV Tracker” (tab), using columns:
    • candidate_name, previous_company, prevco_hr_name, prevco_hr_email
    • bgv_status, last_follow_up, bgv_completion_date, bgv_executive, bgv_exe_email
  3. Code Node #1 (“Normalize & Parse”):
    • Cleans and lower-cases all column names for consistency.
    • Parses last_follow_up & bgv_completion_date from multiple local date formats.
    • Adds helper flags: isCompletedToday, isStale (pending and last-follow-up ≥ 3 days).
  4. Code Node #2 (“Group & Filter”):
    • Groups rows by bgv_exe_email (executive).
    • Within each group: Segregates “Completed Today” and “Pending” items.
  5. Code Node #3 (“Format Digest”):
    • Generates a personalized HTML email per executive, with two tables:
    • Completed Today (with candidate/prevco info)
    • Pending (with “stale” ⚠️ flags)
    • Builds the subject line showing per-executive summary counts.
  6. Gmail Node:
    • Sends the formatted email to each executive automatically.
    • Can be customized for preview/test mode, CC or CSV attachments.

How to set up

  1. Prepare Google Sheet:
    • Create “BGV Tracker” tab (case-insensitive column names).
    • Fill columns:
    • candidate_name, previous_company, prevco_hr_name, prevco_hr_email, bgv_status, last_follow_up, bgv_completion_date, bgv_executive, bgv_exe_email
  2. n8n Configuration:
    • Authenticate Google Sheets node (OAuth).
    • Authenticate Gmail node (App Password recommended).
    • Import workflow JSON and adjust credentials and sheet IDs.
  3. Test run (optional):
    • Fill sample data in the sheet.
    • Start workflow and review “dry run” outputs (optional).
  4. Activate workflow for daily auto-emails.

Requirements

How to customize

Add‑ons

Use Case Examples

Common Troubleshooting

IssuePossible CauseSolution
No emails sentSMTP/Gmail credentials missing or expiredRe-authenticate Gmail node; check permissions
Some candidates missingSheet has missing/invalid bgv_exe_emailEnsure every row has valid executive email
Completed items not listedWrong/combo date formats in completion columnUse supported date format; ensure status=“Completed”
Pending doesn’t show staleLast follow-up date out of expected formatUse supported date format & review data
Workflow runs on weekendsSchedule misconfigured (or missed weekend filter)Add/exclude Sat/Sun via config/node logic
Pending pool includes “To be Sent”Status filter in code not preciseAdjust code node filter to exclude explicitly
Emails not deliveredGmail sending limit exceededAdd rate limit (wait node), check quota

Need Help?

If you need a hand setting up, customizing or want to add more integrations (Slack, CSVs, approvals, etc.) reach out to us at WeblineIndia anytime.

We can setup error handling, advanced templates and even help connect your flows to external systems!

đź”— Nodes Used

Google Sheets, Gmail, Schedule Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup