# Homerun — Pipedream Connect

> Beautiful ATS & hiring software for SMBs

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

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

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

const { tools } = await mcp.listTools()

// e.g. run Add Candidate Note:
const result = await mcp.callTool({
  name: "homerun-add-candidate-note",
  arguments: {
    jobApplicationId: "Job Application ID",
    note: "Note Content",
  },
})
```

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

## API proxy

For a Homerun 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://api.homerun.co/v2/ping

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuaG9tZXJ1bi5jby92Mi9waW5n?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: "homerun-add-candidate-note",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    homerun: { authProvisionId: "apn_xxxxxxx" },
    jobApplicationId: "Job Application ID",
    note: "Note Content",
  },
})
```

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

## Actions (4)

### `homerun-add-candidate-note` — Add Candidate Note (Write)

Adds a note to a candidate's profile in Homerun. See the documentation.

Full schema: https://pipedream.com/apps/homerun/actions/add-candidate-note.md

### `homerun-create-job-application` — Create Job Application (Write)

Creates a new job application. See the documentation.

Full schema: https://pipedream.com/apps/homerun/actions/create-job-application.md

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

Retrieves available options for the Job Application ID field.

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

### `homerun-list-vacancy-id-options` — List Vacancy ID Options (Read-only)

Retrieves available options for the Vacancy ID field.

Full schema: https://pipedream.com/apps/homerun/actions/list-vacancy-id-options.md

## Triggers (2)

### `homerun-new-job-application-created` — New Job Application Created (Polling)

Emit new event when a candidate submits an application for a job posting. See the documentation.

Full schema: https://pipedream.com/apps/homerun/triggers/new-job-application-created.md

### `homerun-new-vacancy-created` — New Vacancy Created (Polling)

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

Full schema: https://pipedream.com/apps/homerun/triggers/new-vacancy-created.md

---

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