# HR Cloud — Pipedream Connect

> All-in-One HRIS: Employee Onboarding & Engagement

- API slug: `hr_cloud` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Human Resources
- Website: https://www.hrcloud.com/
- This page (HTML): https://pipedream.com/apps/hr-cloud
- Tools: 8 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: hr_cloud`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
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 accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "hr_cloud",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Employee:
const result = await mcp.callTool({
  name: "hr_cloud-create-employee",
  arguments: {
    firstName: "First Name",
    lastName: "Last Name",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a HR Cloud endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://corehr-api.hrcloud.com/v1/cloud/xEmployee

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9jb3JlaHItYXBpLmhyY2xvdWQuY29tL3YxL2Nsb3VkL3hFbXBsb3llZQ?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
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: "hr_cloud-create-employee",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    hr_cloud: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "Last Name",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (8)

### `hr_cloud-create-employee` — Create Employee (Write)

Create a new employee record in the system. See the documentation

Full schema: https://pipedream.com/apps/hr-cloud/actions/create-employee.md

### `hr_cloud-create-task` — Create Task (Write)

Creates a new task. See the documentation

Full schema: https://pipedream.com/apps/hr-cloud/actions/create-task.md

### `hr_cloud-list-department-id-options` — List Department Options (Read-only)

Retrieves available options for the Department field.

Full schema: https://pipedream.com/apps/hr-cloud/actions/list-department-id-options.md

### `hr_cloud-list-employee-id-options` — List Employee Options (Read-only)

Retrieves available options for the Employee field.

Full schema: https://pipedream.com/apps/hr-cloud/actions/list-employee-id-options.md

### `hr_cloud-list-employment-status-id-options` — List Employment Status ID Options (Read-only)

Retrieves available options for the Employment Status ID field.

Full schema: https://pipedream.com/apps/hr-cloud/actions/list-employment-status-id-options.md

### `hr_cloud-list-job-title-options` — List Job Title Options (Read-only)

Retrieves available options for the Job Title field.

Full schema: https://pipedream.com/apps/hr-cloud/actions/list-job-title-options.md

### `hr_cloud-list-location-id-options` — List Location ID Options (Read-only)

Retrieves available options for the Location ID field.

Full schema: https://pipedream.com/apps/hr-cloud/actions/list-location-id-options.md

### `hr_cloud-update-employee` — Update Employee (Write)

Update an existing employee. See the documentation

Full schema: https://pipedream.com/apps/hr-cloud/actions/update-employee.md

## Triggers (3)

### `hr_cloud-new-applicant-created` — New Applicant Created (Polling)

Emit new event when a new applicant is created. See the documentation

Full schema: https://pipedream.com/apps/hr-cloud/triggers/new-applicant-created.md

### `hr_cloud-new-employee-created` — New Employee Created (Polling)

Emit new event when a new employee is added to the system. See the documentation

Full schema: https://pipedream.com/apps/hr-cloud/triggers/new-employee-created.md

### `hr_cloud-new-task-created` — New Task Created (Polling)

Emit new event when a new task is created. See the documentation

Full schema: https://pipedream.com/apps/hr-cloud/triggers/new-task-created.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
