The Statuspage API allows you to automate the management and orchestration of incident communication directly from Pipedream. With this API, you can create, update, and resolve incidents, manage maintenance events, and retrieve information about components and subscribers. It's an efficient way to ensure transparency and inform stakeholders during outages or scheduled maintenance by programmatically controlling your status pages.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
statuspage: {
type: "app",
app: "statuspage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.statuspage.io/v1/pages`,
headers: {
"Authorization": `OAuth ${this.statuspage.$auth.api_key}`,
},
})
},
})
Incident Response Automation: Trigger a workflow on Pipedream when a monitoring app detects an outage, automatically creating an incident on Statuspage and sending notifications via communication platforms like Slack or email.
Scheduled Maintenance Reminder: Set up a recurring Pipedream workflow that posts upcoming maintenance events to Statuspage and simultaneously reminds your team via a tool like Google Calendar, ensuring that all parties are aware and prepared.
Subscriber Update Sync: Whenever a Statuspage incident is updated or resolved, a workflow can sync this status to a customer relationship management platform like Salesforce or Zendesk, keeping customer-facing teams informed and improving response times.
Statuspage uses API keys for authentication. When you connect your Statuspage account, Pipedream securely stores the keys so you can easily authenticate to Statuspage APIs in both code and no-code steps.
Follow these instructions to find your API key, and enter it below.
On that same page, you'll see a list of page IDs. Enter the ID of the page you'd like to manage below.