@pipedream/statuspage 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
# Overview
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
solutions that enable communication with end-users. You can use it to build:
|
|
3
|
+
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.
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
aggregate and analyze customer support data, and keep track of compliance.
|
|
14
|
-
- Self-service applications to put the power in the hands of your customers and
|
|
15
|
-
give them the information they need quickly and easily.
|
|
16
|
-
- Custom integrations to drive effective communication and collaboration with
|
|
17
|
-
other tools and systems.
|
|
18
|
-
- Automation tools that can get updates from your Statuspage to other systems,
|
|
19
|
-
allowing for streamlined and consistent communication.
|
|
5
|
+
# Example Use Cases
|
|
6
|
+
|
|
7
|
+
- **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.
|
|
8
|
+
|
|
9
|
+
- **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.
|
|
10
|
+
|
|
11
|
+
- **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.
|
|
@@ -2,7 +2,12 @@ import statuspage from "../../statuspage.app.mjs";
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
name: "Create Incident",
|
|
5
|
-
version: "0.0.
|
|
5
|
+
version: "0.0.3",
|
|
6
|
+
annotations: {
|
|
7
|
+
destructiveHint: false,
|
|
8
|
+
openWorldHint: true,
|
|
9
|
+
readOnlyHint: false,
|
|
10
|
+
},
|
|
6
11
|
key: "statuspage-create-incident",
|
|
7
12
|
description: "Creates an incident. [See docs here](https://developer.statuspage.io/#create-an-incident)",
|
|
8
13
|
type: "action",
|
|
@@ -2,9 +2,14 @@ import statuspage from "../../statuspage.app.mjs";
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
name: "Update Incident",
|
|
5
|
-
version: "0.0.
|
|
5
|
+
version: "0.0.5",
|
|
6
|
+
annotations: {
|
|
7
|
+
destructiveHint: false,
|
|
8
|
+
openWorldHint: true,
|
|
9
|
+
readOnlyHint: false,
|
|
10
|
+
},
|
|
6
11
|
key: "statuspage-update-incident",
|
|
7
|
-
description: "Updates an existing incident. [See
|
|
12
|
+
description: "Updates an existing incident. [See the documentation](https://developer.statuspage.io/#update-an-incident)",
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
statuspage,
|
|
@@ -34,6 +39,19 @@ export default {
|
|
|
34
39
|
description: "The body of the update",
|
|
35
40
|
type: "string",
|
|
36
41
|
},
|
|
42
|
+
componentIds: {
|
|
43
|
+
label: "Component IDs",
|
|
44
|
+
description: "The IDs of the components affected by this incident update (e.g., `[\"ftgks51sfs2d\", \"bb5w0kc1234x\"]`). Leave empty to keep the existing affected components unchanged.",
|
|
45
|
+
type: "string[]",
|
|
46
|
+
propDefinition: [
|
|
47
|
+
statuspage,
|
|
48
|
+
"componentId",
|
|
49
|
+
(c) => ({
|
|
50
|
+
pageId: c.pageId,
|
|
51
|
+
}),
|
|
52
|
+
],
|
|
53
|
+
optional: true,
|
|
54
|
+
},
|
|
37
55
|
},
|
|
38
56
|
async run({ $ }) {
|
|
39
57
|
const response = await this.statuspage.updateIncident({
|
|
@@ -44,6 +62,9 @@ export default {
|
|
|
44
62
|
incident: {
|
|
45
63
|
status: this.status,
|
|
46
64
|
body: this.body,
|
|
65
|
+
...(this.componentIds?.length && {
|
|
66
|
+
component_ids: this.componentIds,
|
|
67
|
+
}),
|
|
47
68
|
},
|
|
48
69
|
},
|
|
49
70
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/statuspage",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Pipedream Statuspage Components",
|
|
5
5
|
"main": "statuspage.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@pipedream/platform": "^1.
|
|
17
|
+
"@pipedream/platform": "^1.6.8"
|
|
18
18
|
}
|
|
19
19
|
}
|