Automate employee onboarding with instant PDF generation, Google Drive storage, and personalized email delivery to streamline HR workflows.
The Employee Onboarding Document Generator is a comprehensive automation workflow that transforms new hire data into a complete onboarding package. When triggered with employee information, this agent automatically generates four professional HTML documents (Welcome Letter, Benefits Guide, IT Setup Guide, and Forms), converts them to polished PDFs, uploads them to Google Drive, and delivers everything to the employee via email while notifying your HR team on Slack.
Key benefits include:
Ideal for: HR departments, talent acquisition teams, and organizations with frequent hiring who want to deliver a professional first impression while freeing up administrative time.
This workflow is perfect for:
No technical expertise required – the workflow handles all complexity behind the scenes.
Why it's needed: Converts your beautifully formatted HTML documents into professional PDF files that maintain formatting across all devices and are ready for distribution.
Setup steps:
7a1b2c3d4e5f6g7h8i9j0k)How to obtain credentials: Your API Key is automatically generated when you create an account and is visible immediately in your dashboard under "API Keys."
Configuration in TaskAGI: Once connected, the API2PDF nodes will automatically use this integration. No additional configuration needed per node – the integration handles all PDF conversion requests.
Why it's needed: Provides secure cloud storage for all generated onboarding documents, creating a centralized repository accessible to HR team members and maintaining permanent records.
Setup steps:
How to obtain credentials: The OAuth JSON file is automatically generated in Google Cloud Console and contains all necessary authentication information.
Configuration in TaskAGI: After authentication, each Google Drive upload node will need the target folder ID specified. You can find this in the folder's URL: drive.google.com/drive/folders/[FOLDER_ID_HERE]
Why it's needed: Delivers the complete onboarding package directly to new employees' inboxes with a personalized welcome message and document attachments.
Setup steps:
How to obtain credentials: Gmail uses OAuth 2.0, so credentials are obtained through the Google account authorization flow – no API keys to manually copy.
Configuration in TaskAGI: The Gmail send node requires three parameters:
[[nodes.5816.emailTo]] (employee email address from data enrichment)[[nodes.5816.emailSubject]] (e.g., "Welcome to [Company]! Your Onboarding Materials")[[nodes.5816.emailBody]] (personalized welcome message with attachment references)Why it's needed: Instantly notifies your HR team when onboarding documents are generated and sent, keeping everyone informed and enabling quick follow-up if needed.
Setup steps:
chat:write
files:write
xoxb-)How to obtain credentials: The Bot User OAuth Token is generated automatically after you install the app to your workspace.
Configuration in TaskAGI: The Slack notification node requires:
#hr-onboarding)@username
Node 5801 – Webhook Trigger This is your entry point. When an external system (your HRIS, applicant tracking system, or form) sends employee data, this webhook receives it.
{
"firstName": "Sarah",
"lastName": "Johnson",
"email": "sarah.johnson@company.com",
"department": "Engineering",
"startDate": "2024-02-15",
"position": "Senior Developer"
}
Node 5802 – Validate & Enrich Data Ensures all required fields are present and formats data consistently.
Nodes 5803-5806 – Generate HTML Documents These four nodes create beautifully formatted HTML for each document type.
Welcome Letter (5803): Personalizes greeting, includes start date, reporting manager, and first-day logistics
{{firstName}}, {{department}}, {{startDate}}
Benefits Guide (5804): Details health insurance, 401(k), PTO, and other benefits
IT Setup Guide (5805): Step-by-step instructions for laptop setup, software access, and security protocols
Forms (5806): Tax forms (W-4), direct deposit authorization, and emergency contacts
Nodes 5807-5810 – Convert to PDF Each HTML document is converted to a professional PDF using API2PDF.
Nodes 5811-5814 – Upload to Google Drive Each PDF is uploaded to your designated onboarding folder.
[Employee_Name]_[Document_Type]_[Date]
Sarah_Johnson_Welcome_Letter_2024-02-15.pdf
Node 5815 – Merge Upload Results Combines all four upload confirmations into a single data package.
Node 5816 – Prepare Email Package Formats the email content with personalization and document references.
"Welcome to [Company], {{firstName}}! Your Onboarding Materials"
Hi {{firstName}},
Welcome to our team! We're thrilled to have you joining us on {{startDate}}.
Attached are your onboarding materials:
- Welcome Letter – Your first-day details
- Benefits Guide – Health, retirement, and time-off information
- IT Setup Guide – Technology and access instructions
- Forms – Required paperwork for HR
Please review these documents and complete the forms by {{formDeadline}}.
Questions? Reach out to our HR team at hr@company.com
Best regards,
The [Company] Team
Node 5817 – Send Email to Employee Delivers the complete package to the new hire.
[[nodes.5816.emailTo]] (employee email from initial data)[[nodes.5816.emailSubject]]
[[nodes.5816.emailBody]]
Node 5818 – Notify HR Team via Slack Alerts your HR team that onboarding is complete.
#hr-onboarding (or your team's channel)✅ Onboarding Complete!
Employee: {{firstName}} {{lastName}}
Position: {{position}}
Department: {{department}}
Start Date: {{startDate}}
Documents: [View in Drive](link)
Email Sent: {{timestamp}}
@hr-team to notify relevant staffCreate a test employee record with complete information:
{
"firstName": "John",
"lastName": "Smith",
"email": "john.smith@company.com",
"department": "Marketing",
"position": "Marketing Manager",
"startDate": "2024-03-01"
}
After Data Validation (Node 5802):
After HTML Generation (Nodes 5803-5806):
After PDF Conversion (Nodes 5807-5810):
After Drive Upload (Nodes 5811-5814):
After Email Send (Node 5817):
After Slack Notification (Node 5818):
Successful execution shows:
Common issues and solutions:
Once testing is complete:
Congratulations! Your Employee Onboarding Document Generator is ready to transform your hiring process. You're now saving hours per hire while delivering a professional, consistent experience to every new employee.
Explore these powerful automation agents that complement your workflow.