Schedule an Interview Loop
Run this when a candidate advances to a new interview stage and needs a full loop scheduled. Reads the Greenhouse interview plan, finds a time that works for all panelists and the candidate, proposes options, and books on approval.
- Pull the candidate record from Greenhouse: name, email, time zone, current stage, and the interview plan for that stage (required interviewers, interview type, duration per block).
- Pull each required interviewer's Google Calendar for the next ten business days.
- Find windows where every required interviewer and the candidate (based on their stated time zone and the working hours they confirmed) overlap for the required duration plus a 15-minute buffer on each side.