Quick Overview
This workflow accepts new-hire details via a webhook, logs them to Google Sheets, creates an onboarding folder in Google Drive, opens onboarding work items in Jira, and notifies the employee and internal teams via Gmail and Slack, then updates the tracker with links and status.
How it works
- Receives a POST webhook request containing new hire details.
- Normalizes the incoming payload and appends the employee record to a Google Sheets onboarding tracker.
- Validates that the request is in a pending state and includes required fields (full name, work email, department, and manager email).
- Creates a dedicated Google Drive onboarding folder and shares it with the employee’s work email.
- Creates a Jira onboarding epic and two Jira tasks for IT access setup and the HR onboarding checklist.
- Looks up the created Google Drive folder to capture its web link, emails the employee a welcome message via Gmail, and posts an onboarding notification to a Slack channel.
- Updates the Google Sheets tracker row to mark the employee as processed, stores the Jira epic reference and Drive folder link, and sends a completion summary email to HR via Gmail.
Setup
- Configure the Webhook trigger URL in your HRIS or request form to send a POST payload with fields like status, full_name, work_email, department, and manager_email.
- Add Google Sheets OAuth2 credentials and set the target spreadsheet and sheet, ensuring columns exist for employee_id (match key), status, processed_at, drive_folder_link, and jira_epic_key.
- Add Google Drive OAuth2 credentials and set the parent folder where onboarding folders should be created.
- Add Jira Software Cloud credentials and select the Jira project and issue types (Epic and Task) used for onboarding.
- Add Gmail OAuth2 credentials and update the HR recipient email address and email content as needed.
- Add Slack credentials and choose the destination channel for onboarding notifications.