View as Markdown
Kenjo icon

Kenjo ACTION

Create Employee

Creates a new employee in Kenjo. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Kenjo 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: "kenjo-create-employee",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    kenjo: { authProvisionId: "apn_xxxxxxx" },
    email: "Email",
    firstName: "First Name",
  },
})

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
email Email string
The email address of the employee
Required
firstName First Name string
The first name of the employee
Required
lastName Last Name string
The last name of the employee
Required
companyId Company ID string
The identifier of a company
Required Dynamic
weeklyHours Weekly Hours integer
The number of weekly hours that an employee works
Required
officeId Office ID string
The identifier of an office
Optional Dynamic
departmentId Department ID string
The identifier of a department
Optional Dynamic
language Language string
The employee's language
Optional
birthdate Birthdate string
The birthdate of the employee. Format YYYY-MM-DDThh:mm:ss.000Z
Optional
jobTitle Job Title string
The job title of the employee
Optional
workPhone Work Phone string
The work phone number of the employee
Optional
personalPhone Personal Phone string
The personal phone number of the employee
Optional
workDays Work Days string[]
The days of the week that the employee works
Optional
trackAttendance Track Attendance boolean
Set to true to activate attendance tracking for the employee
Optional
street Street string
The street address of the employee
Optional
postalCode Postal Code string
The postal code of the employee
Optional
city City string
The city of the employee
Optional
country Country string
The country code in ISO 3166-1 alpha-2. Example: ES
Optional

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
kenjo-create-employee
Version
0.0.2
App
Kenjo
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes