Draft incident postmortems with PagerDuty, Confluence, Slack and Google Sheets
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls slack.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Set Config Variables (Edit Fields (Set)): sets 10 fields: pagerduty_base_url, confluence_base_url, confluence_space_key…
- Normalize Incident Data (Code): runs custom JavaScript code
- Get Incident Details (HTTP Request): calls an HTTP API
- Get Timeline Events (HTTP Request): calls an HTTP API
- Generate Postmortem Draft (Code): runs custom JavaScript code
- Post Draft to Confluence (HTTP Request): calls an HTTP API (POST)
- Send Slack Notification (HTTP Request): calls slack.com (POST)
- Update Postmortem Log (HTTP Request): calls an HTTP API (POST)
HTTP calls to: slack.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow creates a Confluence postmortem draft for resolved PagerDuty incidents, then notifies the incident owner in Slack and optionally logs the draft in Google Sheets. How it works 1. Triggers manually for testing or receives a…