View as Markdown
Buddee icon

Buddee ACTION

Create Employee

Create a new employee record. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Buddee account once, then configure and run Create Employee from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "buddee-create-employee",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    buddee: { authProvisionId: "apn_xxxxxxx" },
    companyId: "Company ID",
    employmentDate: "Employment Date",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Employee inputs
Property Type Description
companyId Company ID string
The ID of the company to create the employee for
Required Dynamic
employmentDate Employment Date string
Employee's employment date (Format: YYYY-MM-DD)
Required
firstDayAtWorkDate First Day at Work Date string
Employee's first day at work date (Format: YYYY-MM-DD)
Required
firstName First Name string
Employee's first name
Required
initials Initials string
Employee's initials
Optional
lastName Last Name string
Employee's last name
Required
lastNamePrefix Last Name Prefix string
Employee's last name prefix
Optional
workEmail Work Email string
The work email of the employee
Optional
personalEmail Personal Email string
The personal email of the employee
Optional
managerId Manager ID string
The ID of the manager to create the employee for
Optional Dynamic
indirectManagerId Indirect Manager ID string
The ID of the indirect manager to create the employee for
Optional Dynamic
hrManagerId HR Manager ID string
The ID of the HR manager to create the employee for
Optional Dynamic
buddyId Buddee ID string
A buddy is an existing employee who guides the new employee through the first few weeks or months on the job.
Optional Dynamic

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
buddee-create-employee
Version
0.0.2
App
Buddee
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes