Workflow: Production Workflow
Integrations: jira, mattermost, pagerDuty, stopAndError, webhook

{"nodes": [{"name": "Mattermost", "type": "n8n-nodes-base.mattermost", "position": [1050, 200], "parameters": {"message": "\ud83d\udcaa This issue got closed in PagerDuty and Jira.", "channelId": "={{$node[\"Webhook\"].json[\"body\"][\"channel_id\"]}}", "attachments": [], "otherOptions": {}}, "credentials": {"mattermostApi": "Mattermost Credentials"}, "typeVersion": 1, "id": "node-bef6ea0b"}, {"name": "Mattermost1", "type": "n8n-nodes-base.mattermost", "position": [1050, 400], "parameters": {"message": "=\ud83c\udf89 The incident ({{$node[\"PagerDuty\"].json[\"summary\"]}}) was resolved by the lovely folks in the on-call team!", "channelId": "k1h3du9r9byyfg7sys8ib6p3ey", "attachments": [], "otherOptions": {}}, "credentials": {"mattermostApi": "Mattermost Credentials"}, "typeVersion": 1, "id": "node-e7b6ffe2"}, {"name": "Jira", "type": "n8n-nodes-base.jira", "position": [850, 300], "parameters": {"issueKey": "={{$node[\"Webhook\"].json[\"body\"][\"context\"][\"jira_key\"]}}", "operation": "update", "updateFields": {"statusId": "31"}}, "credentials": {"jiraSoftwareCloudApi": "jira"}, "typeVersion": 1, "id": "node-ab144dc7"}, {"name": "PagerDuty", "type": "n8n-nodes-base.pagerDuty", "position": [650, 300], "parameters": {"email": "n8ndocsburner@gmail.com", "operation": "update", "incidentId": "={{$json[\"body\"][\"context\"][\"pagerduty_incident\"]}}", "updateFields": {"status": "resolved"}}, "credentials": {"pagerDutyApi": "PagerDuty Credentials"}, "typeVersion": 1, "id": "node-765a48c9"}, {"name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [450, 300], "webhookId": "1bd40693-c7dd-43f5-97d9-6d8986e62fc1", "parameters": {"path": "1bd40693-c7dd-43f5-97d9-6d8986e62fc1", "options": {}, "httpMethod": "POST"}, "typeVersion": 1, "id": "node-2edd2dab"}, {"id": "error-e81956b8", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [1000, 400], "parameters": {"message": "Workflow execution error", "options": {}}}], "connections": {}, "name": "Production Workflow", "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3}, "meta": {"instanceId": "workflow-ecfd6d40", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:50.879134", "updatedAt": "2025-09-29T07:07:50.879147", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "description": "Production-ready workflow: Production Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}