{ "name": "PagerDuty Incident Create and Update", "nodes": [ { "name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [ 240, 260 ], "parameters": {}, "typeVersion": 1, "id": "pagerduty-incident-create-and-update-0" }, { "name": "PagerDuty", "type": "n8n-nodes-base.pagerDuty", "position": [ 440, 260 ], "parameters": { "authentication": "apiToken", "resource": "incident", "operation": "create", "email": "YOUR_PAGERDUTY_MEMBER@example.com", "title": "Firewall on Fire", "serviceId": "YOUR_PAGERDUTY_SERVICE_ID", "additionalFields": {}, "conferenceBridgeUi": {} }, "typeVersion": 1, "id": "pagerduty-incident-create-and-update-1" }, { "name": "PagerDuty2", "type": "n8n-nodes-base.pagerDuty", "position": [ 840, 260 ], "parameters": { "authentication": "apiToken", "resource": "incident", "operation": "get", "incidentId": "={{ $node[\"PagerDuty1\"].json.id }}" }, "typeVersion": 1, "id": "pagerduty-incident-create-and-update-2" }, { "name": "PagerDuty1", "type": "n8n-nodes-base.pagerDuty", "position": [ 640, 260 ], "parameters": { "authentication": "apiToken", "resource": "incident", "operation": "update", "email": "={{ $node[\"PagerDuty\"].parameter.email }}", "incidentId": "={{ $node[\"PagerDuty\"].json.id }}", "updateFields": { "title": "Firewalls on Fire" }, "conferenceBridgeUi": {} }, "typeVersion": 1, "id": "pagerduty-incident-create-and-update-3" } ], "active": false, "settings": { "executionOrder": "v1" }, "connections": { "On clicking 'execute'": { "main": [ [ { "node": "PagerDuty", "type": "main", "index": 0 } ] ] }, "PagerDuty": { "main": [ [ { "node": "PagerDuty1", "type": "main", "index": 0 } ] ] }, "PagerDuty1": { "main": [ [ { "node": "PagerDuty2", "type": "main", "index": 0 } ] ] } }, "pinData": {} }