View as Markdown
IntelliHR icon

IntelliHR ACTION

Update Person

Modifies an existing person's record in intellihr. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's IntelliHR account once, then configure and run Update 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-update-person",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    intellihr: { authProvisionId: "apn_xxxxxxx" },
    personId: "Person ID",
    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.

Update Person inputs
Property Type Description
personId Person ID string
The unique identifier for a person in intellihr. Use the search query to search by name.
Required Dynamic
firstName First Name string
The first name of the person
Optional
lastName Last Name string
The last name of the person
Optional
email Email string
The email address of the person
Optional
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-update-person
Version
0.0.2
App
IntelliHR
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes