View as Markdown
Procore Sandbox icon

Procore Sandbox ACTION

Create Incident

Create a new incident. See the documentation.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Procore Sandbox account once, then configure and run Create Incident from your backend or agent.

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,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Incident inputs
Property Type Description
companyId Company ID integer
Select the company to watch for changes in.
Required Dynamic
projectId Project ID integer
Select the project to watch for changes in
Required Dynamic
title Title string
Incident Title
Required
eventDate Event Date string
The date and time when the incident occurred, in ISO 8601 format. If the time is unknown, use 00:00 project time converted to UTC (e.g., 2025-04-01T00:00:00Z).
Required
description Description string
Description of the Incident
Optional
isPrivate Private boolean
Indicates whether an Incident is private
Optional
recordable Recordable boolean
Indicates whether an Incident is recordable
Optional
timeUnknown Time Unknown boolean
Indicates whether the time of the Incident occurrence is unknown
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
procore_sandbox-create-incident
Version
0.0.2
App
Procore Sandbox
Authentication
OAuth
Behavior
May modify external data