{
  "schema_version": "1.0.0",
  "id": "bamboohr-new-hire-onboarding",
  "title": "Kick off onboarding when BambooHR adds a new hire",
  "category": "hr-recruiting",
  "difficulty": "beginner",
  "featured": false,
  "description": "Create the onboarding task in ClickUp, ask IT in Slack for the laptop and accounts, and put a welcome session on the calendar for the first day.",
  "tags": [
    "bamboohr",
    "onboarding",
    "clickup",
    "slack",
    "google-calendar"
  ],
  "apps": [
    "BambooHR",
    "ClickUp",
    "Slack",
    "Google Calendar"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 3 steps after the trigger"
    ]
  },
  "tasks": {
    "typical": 3,
    "max": 3
  },
  "trigger": {
    "app": "BambooHR",
    "event": "New Employee",
    "kind": "polling",
    "title": "New employee",
    "why": "Fires when a new employee record is created in BambooHR.",
    "config": {
      "Account": "YOUR_BAMBOOHR_SUBDOMAIN"
    },
    "outputs": [
      "employee_id",
      "first_name",
      "last_name",
      "work_email",
      "job_title",
      "department",
      "hire_date",
      "manager_name"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "task",
      "kind": "action",
      "app": "ClickUp",
      "event": "Create Task",
      "title": "Create the onboarding task",
      "why": "One task per hire in the onboarding list, due on the start date, so everyone sees what is left.",
      "fields": {
        "Workspace": "YOUR_CLICKUP_WORKSPACE",
        "Space": "People",
        "List": "Onboarding",
        "Task Name": "Onboard {{trigger.first_name}} {{trigger.last_name}} ({{trigger.job_title}})",
        "Due Date": "{{trigger.hire_date}}",
        "Description": "Department: {{trigger.department}}\nManager: {{trigger.manager_name}}\nWork email: {{trigger.work_email}}"
      },
      "outputs": [
        "id",
        "url"
      ]
    },
    {
      "key": "it",
      "kind": "action",
      "app": "Slack",
      "event": "Send Channel Message",
      "title": "Ask IT for laptop and accounts",
      "why": "IT gets the start date and role in the channel they already watch.",
      "fields": {
        "Channel": "#it",
        "Message Text": "New hire starting {{trigger.hire_date}}: {{trigger.first_name}} {{trigger.last_name}}, {{trigger.job_title}} ({{trigger.department}}). Please prepare a laptop and accounts for {{trigger.work_email}}. Onboarding task: {{task.url}}",
        "Send as a bot?": "Yes",
        "Bot Name": "Zap alerts",
        "Include a link to this Zap?": "No"
      },
      "outputs": [
        "ts",
        "permalink"
      ]
    },
    {
      "key": "welcome",
      "kind": "action",
      "app": "Google Calendar",
      "event": "Create Detailed Event",
      "title": "Book the first-day welcome",
      "why": "A 45-minute welcome with the manager at 10am on day one.",
      "fields": {
        "Calendar": "YOUR_TEAM_CALENDAR",
        "Summary": "Welcome {{trigger.first_name}}",
        "Start Date & Time": "{{trigger.hire_date}} 10:00",
        "End Date & Time": "{{trigger.hire_date}} 10:45",
        "Description": "First-day welcome for {{trigger.first_name}} {{trigger.last_name}} with {{trigger.manager_name}}.",
        "Attendees": "{{trigger.work_email}}"
      },
      "outputs": [
        "id",
        "html_link"
      ]
    }
  ]
}
