# Greenhouse — Pipedream Connect

> Talent Acquisition suite built for structured hiring

- API slug: `greenhouse` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Human Resources
- Website: https://www.greenhouse.io/
- This page (HTML): https://pipedream.com/apps/greenhouse
- Tools: 7 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: greenhouse`

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

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

const { tools } = await mcp.listTools()

// e.g. run Add Attachment to Candidate:
const result = await mcp.callTool({
  name: "greenhouse-add-attachment-to-candidate",
  arguments: {
    userId: "User Id",
    candidateId: "Candidate ID",
  },
})
```

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

## API proxy

For a Greenhouse 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://harvest.greenhouse.io/v1/user_roles

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9oYXJ2ZXN0LmdyZWVuaG91c2UuaW8vdjEvdXNlcl9yb2xlcw?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: "greenhouse-add-attachment-to-candidate",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    greenhouse: { authProvisionId: "apn_xxxxxxx" },
    userId: "User Id",
    candidateId: "Candidate ID",
  },
})
```

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

## Actions (7)

### `greenhouse-add-attachment-to-candidate` — Add Attachment to Candidate (Write)

Adds an attachment to a specific candidate or prospect. See the documentation

Full schema: https://pipedream.com/apps/greenhouse/actions/add-attachment-to-candidate.md

### `greenhouse-create-candidate` — Create Candidate (Write)

Creates a new candidate entry in Greenhouse. See the documentation

Full schema: https://pipedream.com/apps/greenhouse/actions/create-candidate.md

### `greenhouse-create-prospect` — Create Prospect (Write)

Creates a new prospect entry in Greenhouse. See the documentation

Full schema: https://pipedream.com/apps/greenhouse/actions/create-prospect.md

### `greenhouse-list-candidate-id-options` — List Candidate ID Options (Read-only)

Retrieves available options for the Candidate ID field.

Full schema: https://pipedream.com/apps/greenhouse/actions/list-candidate-id-options.md

### `greenhouse-list-educations-options` — List Educations Options (Read-only)

Retrieves available options for the Educations field.

Full schema: https://pipedream.com/apps/greenhouse/actions/list-educations-options.md

### `greenhouse-list-job-ids-options` — List Job IDs Options (Read-only)

Retrieves available options for the Job IDs field.

Full schema: https://pipedream.com/apps/greenhouse/actions/list-job-ids-options.md

### `greenhouse-list-user-id-options` — List User ID Options (Read-only)

Retrieves available options for the User ID field.

Full schema: https://pipedream.com/apps/greenhouse/actions/list-user-id-options.md

## Triggers (3)

### `greenhouse-new-candidate-application` — New Candidate Application (Polling)

Emit new event when a candidate submits a new application.

Full schema: https://pipedream.com/apps/greenhouse/triggers/new-candidate-application.md

### `greenhouse-watch-candidates` — New Candidate Watching (Polling)

Emit new event when a candidate's application or status changes.

Full schema: https://pipedream.com/apps/greenhouse/triggers/watch-candidates.md

### `greenhouse-new-scheduled-interview` — New Scheduled Interview (Polling)

Emit new event when a new interview is scheduled within a specific time period.

Full schema: https://pipedream.com/apps/greenhouse/triggers/new-scheduled-interview.md

---

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