View as Markdown
IntelliHR icon

IntelliHR ACTION

Create Person

Creates a new individual record in intellihr. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's IntelliHR account once, then configure and run Create Person 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: "intellihr-create-person",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    intellihr: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "Last 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 Person inputs
Property Type Description
firstName First Name string
The first name of the person
Optional
lastName Last Name string
The last name of the person
Required
email Email string
The email address of the person
Required
phone Phone Number string
The phone number of the persion
Optional
dateOfBirth Date of Birth string
Date of Birth (YYYY-MM-DD)
Optional
title Title string
The title to refer to this Person as, for example "Mr".
Optional
employeeNumber Employee Number string
A manually entered employee number that identifies a Person in intelliHR. It may be hidden in the system's UI depending upon your tenant's configuration.
Optional
gender Gender string
Human readable string for the Person's gender, e.g. Male.
Optional
workRightId Work Right ID string
Identifier of the Work Right to whom this Person belongs
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
intellihr-create-person
Version
0.0.2
App
IntelliHR
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes