Quick overview
This workflow runs every morning, reads a Google Sheets agent roster for rows marked as New, sends each agent an onboarding checklist via Gmail, and then updates the same sheet to mark those agents as Onboarding.
How it works
- Runs every day at 09:00 on a schedule.
- Loads configuration values (Google Sheets URL, company name, and HR email address) used in the email content.
- Reads all agent rows from Google Sheets and computes each row’s sheet row number for later updates.
- Filters the roster to agents whose Status equals New.
- Sends each new agent a personalized HTML onboarding checklist email through Gmail.
- Updates the corresponding Google Sheets row to set Status to Onboarding.
Setup
- Connect Google Sheets OAuth2 credentials and ensure n8n has access to the spreadsheet.
- Connect Gmail OAuth2 credentials for the mailbox that sends onboarding emails.
- Update the sheet URL, company name, and HR email address in the configuration step.
- Ensure the Google Sheet includes columns named Agent_Name, Email, Status, and Start_Date, and set Status to New for newly added agents.