👥 Automate employee onboarding and Google Workspace account creation with Gmail, Google Sheets, PDFBro and Google Gemini

50 views · 👥 HR & Recruitment

Description

📺 Watch the Video Demo

For a visual walkthrough of this automation in action, check out the tutorial below:

https://youtu.be/vX-0vv7OUXc


🚀 Workflow Overview

This n8n workflow creates a fully automated end-to-end recruitment and onboarding engine. It streamlines two critical phases of HR operations:

  1. Offer Letter Generation: Automatically generating and emailing a PDF offer letter when candidate data is received.
  2. Onboarding & Provisioning: Detecting candidate acceptance via email, provisioning a corporate Google Workspace account, and securely delivering credentials.

⚙️ Phase 1: Candidate Intake & Offer Letter Generation

Triggered via Webhook

This section handles the initial processing of a successful candidate.

1. Data Ingestion & Formatting

2. Database Entry

3. Document Generation

4. Delivery


🤖 Phase 2: Acceptance Verification & IT Provisioning

Triggered via Gmail Polling

This section runs periodically to check if the candidate has accepted the job offer.

1. Intelligent Monitoring

2. AI-Powered Analysis

3. Account Provisioning (If Accepted)

If the AI confirms the email is an acceptance (“Yes”):

4. Credential Delivery & Sync


🛠️ Prerequisites & Credentials Needed

To use this workflow, you will need to configure the following credentials in n8n:

  1. Google Workspace Admin: For creating users (requires Admin SDK API access).
  2. Google Gemini (PaLM) API: For the AI analysis of emails.
  3. Google Drive/Sheets: Service account access to read/write the Employee DB.
  4. Gmail (OAuth2): To read incoming replies and send outgoing emails.
  5. PDFBro: a free community node for creating PDF offer letter.

🔗 Nodes Used

Google Sheets, Webhook, Gmail, Google Workspace Admin, Gmail Trigger, AI Agent

📥 Import

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

📖 Importing guide · 🔑 Credential setup