# Buddee — Pipedream Connect

> HR & Payroll for SMEs, hassle-free!

- API slug: `buddee` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Human Resources
- Website: https://buddee.nl
- This page (HTML): https://pipedream.com/apps/buddee
- Tools: 15 actions · 4 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: buddee`

```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": "buddee",
      },
    },
  },
)

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: "buddee-create-employee",
  arguments: {
    companyId: "Company ID",
    employmentDate: "Employment Date",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.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: "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",
  },
})
```

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

## Actions (15)

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

Create a new employee record. See the documentation

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

### `buddee-create-leave-request` — Create Leave Request (Write)

Creates a new leave request. See the documentation

Full schema: https://pipedream.com/apps/buddee/actions/create-leave-request.md

### `buddee-list-company-id-options` — List Company ID Options (Read-only)

Retrieves available options for the Company ID field.

Full schema: https://pipedream.com/apps/buddee/actions/list-company-id-options.md

### `buddee-list-cost-center-id-options` — List Cost Center ID Options (Read-only)

Retrieves available options for the Cost Center ID field.

Full schema: https://pipedream.com/apps/buddee/actions/list-cost-center-id-options.md

### `buddee-list-cost-unit-id-options` — List Cost Unit ID Options (Read-only)

Retrieves available options for the Cost Unit ID field.

Full schema: https://pipedream.com/apps/buddee/actions/list-cost-unit-id-options.md

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

Retrieves available options for the Department ID field.

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

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

Retrieves available options for the Employee ID field.

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

### `buddee-list-employees` — List Employees (Read-only)

Retrieve a complete list of employees. See the documentation

Full schema: https://pipedream.com/apps/buddee/actions/list-employees.md

### `buddee-list-job-id-options` — List Job ID Options (Read-only)

Retrieves available options for the Job ID field.

Full schema: https://pipedream.com/apps/buddee/actions/list-job-id-options.md

### `buddee-list-leave-requests` — List Leave Requests (Read-only)

Retrieves all leave requests. See the documentation

Full schema: https://pipedream.com/apps/buddee/actions/list-leave-requests.md

### `buddee-list-leave-type-id-options` — List Leave Type ID Options (Read-only)

Retrieves available options for the Leave Type ID field.

Full schema: https://pipedream.com/apps/buddee/actions/list-leave-type-id-options.md

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

Retrieves available options for the Location ID field.

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

### `buddee-list-project-id-options` — List Project ID Options (Read-only)

Retrieves available options for the Project ID field.

Full schema: https://pipedream.com/apps/buddee/actions/list-project-id-options.md

### `buddee-list-time-registration-type-id-options` — List Time Registration Type ID Options (Read-only)

Retrieves available options for the Time Registration Type ID field.

Full schema: https://pipedream.com/apps/buddee/actions/list-time-registration-type-id-options.md

### `buddee-list-time-registrations` — List Time Registrations (Read-only)

Get all time tracking records, See the documentation

Full schema: https://pipedream.com/apps/buddee/actions/list-time-registrations.md

## Triggers (4)

### `buddee-new-employee-updated` — Employee Updated (Polling)

Emit new event when an employee is updated in the system. See the documentation

Full schema: https://pipedream.com/apps/buddee/triggers/new-employee-updated.md

### `buddee-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/buddee/triggers/new-employee-created.md

### `buddee-new-leave-request-created` — New Leave Request Created (Polling)

Emit new event when a new leave request is created in the system. See the documentation

Full schema: https://pipedream.com/apps/buddee/triggers/new-leave-request-created.md

### `buddee-new-time-registration-created` — New Time Registration Created (Polling)

Emit new event when a new time registration is created in the system. See the documentation

Full schema: https://pipedream.com/apps/buddee/triggers/new-time-registration-created.md

---

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