I have got the following payload working except for the component. Affected Components are not being updated.
{
"statuspage_id": "ID",
"incident": {
"name": "Test Incident",
"details": "Incident description from Slack",
"component": [
{
"component_id": "XXX",
"status": 200
},
{
"component_id": "YYY",
"status": 200
},
{
"component_id": "ZZZ",
"status": 200
}
],
"affected_components": [
{
"component_id": "ZZZ",
"status": "partial_outage"
},
{
"component_id": "YYY",
"status": "operational"
},
{
"component_id": "ZZZ",
"status": "degraded_performance"
}
],
"deliver_notifications": true
}
}
Checked on the data out in the zap and "Components" as well as "affected_components" remain unpopulated.
I tried using components instead of component, but I get this error:
Failed to create a request in Webhooks by Zapier
incident[components] is invalid (HTTP Status Code: 400)
Any suggestions is much much appreciated.