AutomationMart
Home/Browse/Automate employee onboarding and Google Workspace account creation with Gmail, Google Sheets, PDFBro and Google Gemini
n8n

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

n8nn8n15 modulesv1.0
GmailGoogle SheetsGoogle DriveGemini

Watch the Video Demo For a visual walkthrough of this automation in action, check out the tutorial below: --- ๐Ÿš€ 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 Works

At a glance

Automate employee onboarding and Google Workspace account creation with Gmail, Google Sheets, PDFBro and Google Gemini is a ready-made n8n workflow you import as a workflow JSON file โ€” no build required. It connects Gmail, Google Sheets, Google Drive, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Google Sheets, Google Drive, Gemini
Modules
15
Price
Free
Version
v1.0
Automate employee onboarding and Google Workspace account creation with Gmail, Google Sheets, PDFBro and Google Gemini workflow diagram

About this workflow

Watch the Video Demo For a visual walkthrough of this automation in action, check out the tutorial below: --- ๐Ÿš€ 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 Webhook (POST): The workflow starts when candidate data (personal info, job details, bank info) is posted to the webhook URL. Edit Fields: Cleanups and extracts key data points (Full Name, Address, Job Title, Manager Name, etc.) to ensure they are ready for document generation. 2. Database Entry Google Sheets (Save Candidates Details): Acts as the "Employee DB". Records all candidate details including emergency contacts and bank info. Sets an initial status flag workplaceacccreated? to "no". 3. Document Generation PDFBro (Generate Offer Letter): Dynamically creates a PDF offer letter. Populates the template with the candidate's name, address, job title, department, and salary frequency. 4. Delivery Gmail (Send Offer Letter): Sends an email to the candidate's personal address. Attaches the generated PDF offer letter. Subject: "Offer Letter" | Body includes a congratulatory message. --- ๐Ÿค– 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 Gmail Trigger: Polls the HR inbox every minute for new emails. Google Sheets (Lookup): Checks if the sender's email exists in the "Employee DB". Filter: Ensures the workflow only proceeds if: The email is from a known candidate. The candidate has not yet been onboarded (workplaceacccreated? is not "yes"). 2. AI-Powered Analysis Google Gemini (AI Agent): Reads the email subject and body. Prompt: "Check if the mail is an acceptance of offer letter... respond with 'yes' if it is an acceptance." This eliminates false positives (e.g., a candidate asking a question about the salary isn't mistakenly onboarded). 3. Account Provisioning (If Accepted) If the AI confirms the email is an acceptance ("Yes"): JavaScript Code: Generates a secure, random 16-character temporary password (timestamp + random string). Google Workspace Admin (Create User): Creates a new internal email account (e.g., firstname.lastname@blankarray.com). Sets the temporary password. Security: Forces the user to change their password upon first login (changePasswordAtNextLogin: true). 4. Credential Delivery & Sync Gmail (Send Credentials): Sends a beautifully formatted HTML email to the new employee's personal address. Contains their new Work Email and Temporary Password. Includes a "Log In to Workplace" button. Google Sheets (Update Status): Updates the candidate's row in the DB. Sets workplaceacccreated? to "yes" to prevent duplicate account creation in the future. --- ๐Ÿ› ๏ธ 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.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n โ†’ click the menu โ†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Extract information from invoices received on Gmail into Airtable with Eden AI

Use this template to extract data from invoices you receive on Gmail into Airtable. Created by tech@edenai.co

Free

Send SMS notifications for new leads from Facebook Lead Ads and log them in Google Sheets

Automatically send SMS notifications for new Facebook Lead Ads leads and log details in Google Sheets for streamlined lead management and tracking.

Free

๐ŸฆœโœจUse OpenAI to transcribe audio + summarize with AI + save to Google Drive

Automate Audio Transcription, AI Summarization, and Google Drive Storage Who is this for? Content Teams, Researchers, and Administrators who need to automatically process voice memos, meeting recordings, or interview audio into structured, searchable documents. What problem does this solve? Eliminates manual transcription work by automatically converting audio files into organized text documents with AI analysis, while maintaining human oversight through approval workflows. What this workflow

Free

Send data from Google Sheets to Airtable

With our smooth integration, you can easily transfer data between Google Sheets and Airtable, allowing for improved organization and data management across both platforms.

Free

Backup your Tumblr videos to Google Drive

Use this automation to watch your latest Tumblr video posts and upload the videos to Google Drive to keep them safely backed up.

Free

Google calendar events with Gemini AI follow-up suggestions via WhatsApp & email

Who Is This For? This n8n automation workflow is designed for sales teams, client managers, consultants, or anyone who regularly schedules and follows up on meetings โ€” and wants to save time doing it. If you often find yourself juggling between Google Sheets, Google Calendar, email, and WhatsApp just to manage your meetings, confirmations, and follow-ups โ€” this workflow is for you. What This Workflow Does This workflow is structured into two main, independently scheduled branches: 1. Create Even

Free

Telegram AI chatbot agent with InfraNodus GraphRAG knowledge base

Using the knowledge graphs instead of RAG vector stores This workflow creates a Telegram chatbot agent that has access to several knowledge bases at the same time (used as "experts"). These knowledge bases are provided using the InfraNodus GraphRAG using the knowledge graphs and providing high-quality responses without the need to set up complex RAG vector store workflows. The advantages of using GraphRAG instead of the standard vector stores for knowledge are: - Easy and quick to set up and up

Free

Create a self-hosted blockchain payment processor with x402 and 1Shot API

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Self-Hosted x402 Facilitator In the x402 payment protocol, a facilitator is a role which helps sellers settle stablecoin payments onchain without dealing with blockchain complexities. This workflow allows you to run your own fully-featured, specification-compliant facilitator in n8n. You might want to do this if you want to accept payments in tokens not supported by existing facilitators or as yo

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint โ€” instant download
  • Setup guide PDF included
  • 5 downloads ยท valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

โ‚น2,499/ session
3 hrs ยท video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free