HR & RECRUITING

Work-Authorization Runway Scanner with Tiered Escalation

Runs daily against your BigQuery employee table to find work-authorization documents nearing expiry.

CategoryHR & Recruiting
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily 7am schedule
  • ActionQuery BigQuery for expiries within 90 daysGoogle BigQueryBigQuery
  • LogicBucket each record into 90/60/30/7-day tier
  • ActionPost sub-30-day cases to Slack, tag coordinatorSlack
  • ActionEmail 90/60-day advance notice to manager via OutlookOutlook
  • OutputAppend escalations to BigQuery audit logGoogle BigQueryBigQuery

What it does

Every morning this workflow scans your HR data warehouse for employees whose visa, EAD, or other work-authorization document expires soon. It buckets each record by how many days remain and routes it to the right channel and owner, so HR sees long-runway cases as quiet FYIs and short-runway cases as urgent action items.

When to use it

Use it when you maintain employee work-authorization expiry dates in BigQuery and need a reliable, auditable re-verification pipeline instead of someone eyeballing a spreadsheet. Ideal for teams with sponsored workers, OPT/CPT students, or anyone subject to I-9 re-verification deadlines.

How it works

  1. 1A daily schedule fires the workflow at 7am.
  2. 2It queries BigQuery for all active employees with a work-auth expiry date inside the next 90 days.
  3. 3A logic step buckets each row into a 90, 60, 30, or 7-day tier.
  4. 4Sub-30-day cases post to the HR `#work-auth-urgent` Slack channel tagging the assigned coordinator.
  5. 590 and 60-day cases are emailed via Outlook to the employee's manager as advance notice.
  6. 6A final output appends every escalation to an audit log table for compliance records.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Connect OutlookMail, calendar, contacts.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.