🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Gmail + Google Drive, onboarding packs sent and filed

Lisa Granqvist Partner Workflow Automation Expert

Onboarding paperwork has a way of exploding the moment someone accepts an offer. One minute you’re celebrating. The next, you’re hunting down the “latest” benefits PDF, copying last month’s welcome letter, and praying you don’t send the wrong form.

This Gmail Drive onboarding automation hits HR managers first, honestly, but ops leads and small business owners feel it too. You get a complete, role-specific onboarding pack generated and delivered in minutes, with everything filed where it belongs.

Below, you’ll see what the workflow does, what it replaces, and what you need to run it in n8n without turning your week into a “document assembly project.”

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Gmail + Google Drive, onboarding packs sent and filed

The Problem: Onboarding Documents Take Hours (and Still Go Wrong)

Most onboarding “packs” are stitched together from old emails, half-updated templates, and whatever PDF someone saved to a random folder six months ago. You end up doing the same manual steps for every hire: welcome letter, benefits overview, IT setup instructions, and required forms, then converting, attaching, and filing it all. It’s slow, and it’s fragile. A single typo in a start date, the wrong manager name, or an outdated benefits detail turns into a back-and-forth that steals time from HR and makes the new hire second-guess what kind of company they joined.

It adds up fast. Here’s where it breaks down in real life.

  • Creating four or more documents per hire can burn about 3-4 hours when you include edits, PDF exports, and follow-ups.
  • One missing attachment means a “can you resend?” thread that drags on for days.
  • Filing is inconsistent, so audits and compliance checks turn into a scavenger hunt.
  • Role-specific details (equipment, system access, office info) get skipped because nobody has time to tailor them properly.

The Solution: Auto-Generate, PDF, Email, and Archive Every Onboarding Pack

This n8n workflow turns a new hire event into a finished onboarding package, sent via Gmail and saved into a structured Google Drive folder automatically. It starts with a webhook, so you can trigger it from your HR system, your ATS, a form, or even a manual “new hire accepted” action. Then the workflow validates and enriches employee data, generates role-aware documents (welcome letter, benefits guide, IT setup instructions, and required forms), and maps everything into clean HTML templates with your branding. Next, it converts the set into print-ready PDFs in one run, archives the PDFs to Drive using a consistent naming convention, and finally emails the full pack to the new hire as attachments with clear action items. HR also gets a confirmation and logging so you can track what was sent and when.

The workflow starts when employee details hit the webhook. From there, it creates and customizes multiple documents in parallel, converts them to PDFs, and stores them in an employee-specific Drive folder. Finally, Gmail delivers the complete package, and your team gets notified so nothing disappears into an inbox void.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you hire 5 people this month. Manually, if each onboarding pack requires 4 documents and you spend roughly 45 minutes per document between copying, editing, exporting, and attaching, that’s about 15 hours of admin work. With this workflow, HR submits (or receives) the new hire details once, waits a couple minutes for PDF rendering, and the email goes out automatically. Call it about 3 minutes of hands-on time per hire, so you get most of that week back.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Gmail for sending the onboarding email pack
  • Google Drive to archive employee folders and PDFs
  • HTML to PDF API key (get it from your PDF conversion provider)

Skill level: Beginner. You’ll connect accounts, paste an API key, and adjust text fields like company name and benefits details.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

A new hire trigger comes in. The workflow starts with an incoming webhook, so a “candidate accepted” event can kick it off from your HRIS, ATS, or a simple form.

Employee data gets cleaned up and completed. It validates basics like names and email addresses, generates an employee ID, and enriches the record with company defaults (department mappings, office info, manager details).

Documents are generated and tailored. The workflow composes a welcome letter, IT setup guide, benefits handbook, and required forms. Role-based logic adjusts details for technical hires, managers, sales roles, contractors, and more.

PDFs are created, filed, and delivered. HTML templates are converted into PDFs, saved into an employee-specific Google Drive folder, then attached to a Gmail message that includes action items and deadlines. A logging step records the event, and an HTTP request can alert your HR Slack channel.

You can easily modify the document templates to match your policies and branding based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Webhook Trigger

Set up the inbound webhook that receives new employee data and starts the onboarding packet workflow.

  1. Add the Incoming Webhook Start node as your trigger.
  2. Set HTTP Method to POST.
  3. Set Path to onboard-employee.
  4. Copy the generated webhook URL and plan to send a JSON body with required fields like firstName, lastName, email, jobTitle, department, and startDate.

Tip: Use a sample JSON payload in a tool like Postman to validate the required fields before building the rest of the workflow.

Step 2: Set Up Data Validation and Document Generation

This workflow uses multiple code nodes to validate inputs and generate HTML content for onboarding documents.

  1. Open Validate and Enhance Data and keep the included validation logic to enforce required fields and format dates.
  2. Review the defaults in Validate and Enhance Data (e.g., HR contact info and company details) and replace placeholders like [YOUR_EMAIL].
  3. Verify the document HTML generation in the grouped document nodes: Compose Welcome Letter, Build IT Setup Guide, Create Benefits Handbook, and Generate HR Forms.
  4. Ensure Assemble Document List preserves document order and file naming with fileName: `${doc.order}_${doc.name}_${item.employeeId}.pdf`.

⚠️ Common Pitfall: If required fields are missing, Validate and Enhance Data will throw an error and stop the workflow. Make sure your webhook payload includes all required fields.

Step 3: Map HTML and Render PDFs

Convert the generated HTML into PDF files for archiving and email delivery.

  1. In Map HTML Content, set html to ={{ $json.documentHtml }}.
  2. Connect Map HTML Content to Render PDF Files to convert each HTML document into a PDF.

Tip: Keep the HTML sizes consistent in the code nodes to avoid unexpected PDF formatting shifts.

Step 4: Configure Document Archiving and Aggregation

Store PDFs in Google Drive and aggregate them for email attachment packaging.

  1. Open Archive to Drive and set Name to ={{ $json.fileName }}.
  2. Select your target Drive and Folder in Archive to Drive (e.g., My Drive and root).
  3. Credential Required: Connect your Google Drive credentials in Archive to Drive (this node will not run without them).
  4. Ensure Combine Document Files collects the archived documents for the email package.

Step 5: Configure Email Delivery and HR Notifications

Package the PDFs, send the onboarding email, log the activity, and notify HR.

  1. Review Craft Email Package to confirm the email subject and body content and that attachments are built from PDF binaries.
  2. Open Dispatch Employee Email and connect Gmail for delivery.
  3. Credential Required: Connect your Gmail credentials in Dispatch Employee Email (this node will not run without them).
  4. In Record HR Activity, verify the onboarding log structure and ensure the API endpoint matches your HR system.
  5. In Alert HR Channel, set URL to your Slack webhook: https://hooks.slack.com/services/[CONFIGURE_YOUR_TOKEN].

⚠️ Common Pitfall: If the Slack webhook token is not replaced, Alert HR Channel will silently fail or return a 404/403 from Slack.

Step 6: Test and Activate Your Workflow

Validate the end-to-end flow and enable it for production onboarding requests.

  1. Click Execute Workflow and send a test POST to Incoming Webhook Start with a full employee JSON payload.
  2. Confirm PDFs are generated via Render PDF Files and stored in Drive by Archive to Drive.
  3. Verify the email is sent by Dispatch Employee Email and that attachments include all documents.
  4. Check the Slack notification from Alert HR Channel and the log payload produced by Record HR Activity.
  5. Toggle the workflow to Active to start processing real onboarding requests.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Google Drive credentials can expire or need specific permissions. If things break, check the n8n credential connection status and the target folder access first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Frequently Asked Questions

How long does it take to set up this Gmail Drive onboarding automation?

About 30 minutes if your Gmail, Drive, and PDF API accounts are ready.

Do I need coding skills to automate onboarding pack delivery?

No. You’ll mostly connect accounts and edit plain-text fields like your company info and benefits details.

Is n8n free to use for this Gmail Drive onboarding workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in HTML-to-PDF API costs (usually a few cents per document).

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this Gmail Drive onboarding workflow for contractors instead of full-time hires?

Yes, and it’s one of the best uses of the built-in logic. You can adjust the employment-type checks in the validation/enrichment step so contractors skip benefits sections, receive different forms, and get a different IT checklist. Common tweaks include changing the benefits eligibility rules, swapping equipment lists, and editing the email action items so expectations are crystal clear.

Why is my Google Drive connection failing in this workflow?

Usually it’s expired OAuth consent or the credential was created under a Google account that no longer has access to the destination folder. Reconnect the Google Drive credential in n8n, then confirm the base folder still exists and is shared correctly. If you’re creating employee folders, also check your Drive storage limits and that the workflow isn’t pointing to a Shared Drive your account can’t write to.

How many employees can this Gmail Drive onboarding automation handle?

In practice, it can handle as many as your n8n plan and PDF provider allow.

Is this Gmail Drive onboarding automation better than using Zapier or Make?

Often, yes, because document generation, branching by role, and multi-file packaging tend to get awkward (and expensive) in simpler tools. n8n is comfortable with longer workflows, custom logic, and “do four documents at once” patterns. Zapier or Make can still work if your process is just “send one email when a row is added,” but this pack-style onboarding is more than that. If you’re unsure, Talk to an automation expert and you’ll get a straight recommendation.

Once this is running, onboarding stops being a 4-hour scramble and turns into a repeatable system. The workflow handles the repetitive stuff so you can spend your time on the human part.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal