View as Markdown
Statuspage icon

Statuspage ACTION

Update Incident

Updates an existing incident. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Statuspage account once, then configure and run Update 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: "statuspage-update-incident",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    statuspage: { authProvisionId: "apn_xxxxxxx" },
    pageId: "Page ID",
    incidentId: "Incident ID",
  },
})

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.

Update Incident inputs
Property Type Description
pageId Page ID string
The ID of the page
Required Dynamic
incidentId Incident ID string
The ID of the incident
Required Dynamic
status Status string
The status of the incident. (e.g. resolved, investigating)
Required
body Body string
The body of the update
Required
componentIds Component IDs string[]
The IDs of the components affected by this incident update (e.g., ["ftgks51sfs2d", "bb5w0kc1234x"]). Leave empty to keep the existing affected components unchanged.
Optional Dynamic

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
statuspage-update-incident
Version
0.0.6
App
Statuspage
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes