AI/ML

    Employee Onboarding Made Easy: Automating HR Processes with n8n


    Overview

    n8n detects new hires in BambooHR, sends a welcome email via Gmail, and assigns onboarding tasks in Asana.

    Prerequisites

    • n8n installed.
    • BambooHR account with API access.
    • Gmail account with API key.
    • Asana account with API token.

    Workflow Setup

    1. Prepare n8n Environment

    Navigate to http://localhost:5678 (or your n8n URL) and log in with your credentials. In the sidebar, click “Workflows,” then select “+ New” and name it (e.g., “Employee Onboarding”). Click “+” on the canvas to open the node selector.

    2. Trigger Node: BambooHR

    Node: BambooHR

    Settings:

    • Credentials: BambooHR API key
    • Resource: Employee
    • Operation: Get Many
    • Query: status:active hireDate>=TODAY

    Output: New hire data (e.g., {{ $json[0].workEmail }}).

    3. Send Welcome Email Node: Gmail

    Node: Gmail

    Settings:

    • To: {{ $node["BambooHR"].json[0].workEmail }}
    • Subject: Welcome to the Team!
    • Body: Hi {{ $node["BambooHR"].json[0].firstName }}, welcome aboard! Here’s your onboarding guide: <link>

    Output: Welcome email sent.

    4. Assign Tasks Node: Asana

    Node: Asana

    Settings:

    • Credentials: Asana API token
    • Resource: Task
    • Operation: Create
    • Project ID: Onboarding project
    • Name: Onboard {{ $node["BambooHR"].json[0].firstName }} {{ $node["BambooHR"].json[0].lastName }}
    • Description: Set up workstation and training

    Output: Task created.

    Workflow Summary

    • Flow: BambooHR → Gmail → Asana.
    • Execution: ~10 seconds per new hire.

    Benefits

    • Saves ~30 minutes/new hire on setup.
    • Ensures consistent onboarding.
    • Improves new hire engagement.

    Troubleshooting

    • BambooHR Fail: Check API query.
    • Task Error: Verify Asana project ID.

     

    Ready to transform your business with our technology solutions? Contact Us  today to Leverage Our AI/ML Expertise. 

    Share

    facebook
    LinkedIn
    Twitter
    Mail
    AI/ML

    Related Center Of Excellence