# Procore Sandbox — Pipedream Connect

> Use the Procore Sandbox for testing and development.

- API slug: `procore_sandbox` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Productivity
- Website: https://developers.procore.com/documentation/development-environments
- This page (HTML): https://pipedream.com/apps/procore-sandbox
- Tools: 5 actions · 9 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: procore_sandbox`

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

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

const { tools } = await mcp.listTools()

// e.g. run Create Incident:
const result = await mcp.callTool({
  name: "procore_sandbox-create-incident",
  arguments: {
    companyId: 10,
    projectId: 10,
  },
})
```

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

## API proxy

For a Procore Sandbox 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://sandbox.procore.com/rest/v1.0/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9zYW5kYm94LnByb2NvcmUuY29tL3Jlc3QvdjEuMC9tZQ?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: "procore_sandbox-create-incident",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    procore_sandbox: { authProvisionId: "apn_xxxxxxx" },
    companyId: 10,
    projectId: 10,
  },
})
```

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

## Actions (5)

### `procore_sandbox-create-incident` — Create Incident (Write)

Create a new incident. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/actions/create-incident.md

### `procore_sandbox-create-manpower-log` — Create Manpower Log (Write)

Create a new manpower log. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/actions/create-manpower-log.md

### `procore_sandbox-create-rfi` — Create RFI (Write)

Create a new RFI. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/actions/create-rfi.md

### `procore_sandbox-create-submittal` — Create Submittal (Write)

Create a new submittal. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/actions/create-submittal.md

### `procore_sandbox-create-timesheet` — Create Timesheet (Write)

Create a new timesheet. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/actions/create-timesheet.md

## Triggers (9)

### `procore_sandbox-new-budget-snapshot-event-instant` — New Budget Snapshot Event (Instant) (Instant)

Emit new event when a new budget snapshot event is created. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-budget-snapshot-event-instant.md

### `procore_sandbox-new-change-order-package-event-instant` — New Change Order Package Event (Instant) (Instant)

Emit new event when a new change order package event is created. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-change-order-package-event-instant.md

### `procore_sandbox-new-commitment-change-order-event-instant` — New Commitment Change Order Event (Instant) (Instant)

Emit new event when a new commitment change order event is created. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-commitment-change-order-event-instant.md

### `procore_sandbox-new-event-instant` — New Event (Instant) (Instant)

Emit new event depending on the resource name selected. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-event-instant.md

### `procore_sandbox-new-prime-contract-event-instant` — New Prime Contract Event (Instant) (Instant)

Emit new event when a new prime contract event is created. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-prime-contract-event-instant.md

### `procore_sandbox-new-purchase-order-event-instant` — New Purchase Order Event (Instant) (Instant)

Emit new event when a new purchase order event is created. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-purchase-order-event-instant.md

### `procore_sandbox-new-rfi-event-instant` — New RFI Event (Instant) (Instant)

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

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-rfi-event-instant.md

### `procore_sandbox-new-submittal-event-instant` — New Submittal Event (Instant) (Instant)

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

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-submittal-event-instant.md

### `procore_sandbox-new-timecard-entry-event-instant` — New Timecard Entry Event (Instant) (Instant)

Emit new event when a new timecard entry is created. See the documentation.

Full schema: https://pipedream.com/apps/procore-sandbox/triggers/new-timecard-entry-event-instant.md

---

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