AutomationFlowsAI & RAG › Autonomous Agent - Incident Response - Create Capability -…

Autonomous Agent - Incident Response - Create Capability -…

Original n8n title: Autonomous Agent - Incident Response - Create Capability - Production-remediation-plan

Autonomous Agent - Incident Response - Create Capability - production-remediation-plan. Uses executeWorkflowTrigger, n8n-nodes-autonomous-agent. Event-driven trigger; 2 nodes.

Event trigger★☆☆☆☆ complexity2 nodesExecute Workflow TriggerN8N Nodes Autonomous Agent
AI & RAG Trigger: Event Nodes: 2 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Autonomous Agent - Incident Response - Create Capability - production-remediation-plan",
  "nodes": [
    {
      "parameters": {},
      "id": "d63035a4-6d0d-45b9-8c85-6b9940546a43",
      "name": "Called by Domain Bootstrap",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1,
      "position": [
        160,
        300
      ]
    },
    {
      "parameters": {
        "operation": "create",
        "name": "production-remediation-plan",
        "description": "Turn a root-cause analysis into an approval-aware containment, remediation, validation, rollback, and communication plan.",
        "agent": "model-agent",
        "agentVersion": "1.0.0",
        "agentType": "model",
        "modelPolicy": "incident-response-policy",
        "modelPurpose": "production-remediation-plan",
        "inputModalities": [
          "text"
        ],
        "inputSchema": "{\n  \"type\": \"object\",\n  \"required\": [\n    \"request\",\n    \"root_cause_analysis\"\n  ],\n  \"properties\": {\n    \"request\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"incident_id\",\n        \"title\",\n        \"description\",\n        \"severity\",\n        \"environment\",\n        \"service\",\n        \"reported_at\",\n        \"observations\"\n      ],\n      \"properties\": {\n        \"incident_id\": {\n          \"type\": \"string\",\n          \"minLength\": 1\n        },\n        \"title\": {\n          \"type\": \"string\",\n          \"minLength\": 1\n        },\n        \"description\": {\n          \"type\": \"string\",\n          \"minLength\": 1\n        },\n        \"severity\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"sev1\",\n            \"sev2\",\n            \"sev3\",\n            \"sev4\"\n          ]\n        },\n        \"environment\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"production\",\n            \"staging\",\n            \"development\"\n          ]\n        },\n        \"service\": {\n          \"type\": \"string\",\n          \"minLength\": 1\n        },\n        \"reported_at\": {\n          \"type\": \"string\",\n          \"format\": \"date-time\"\n        },\n        \"requested_by\": {\n          \"type\": \"string\"\n        },\n        \"correlation_id\": {\n          \"type\": \"string\"\n        },\n        \"change_reference\": {\n          \"type\": [\n            \"string\",\n            \"null\"\n          ]\n        },\n        \"deployment\": {\n          \"type\": [\n            \"object\",\n            \"null\"\n          ],\n          \"properties\": {\n            \"version\": {\n              \"type\": \"string\"\n            },\n            \"deployed_at\": {\n              \"type\": \"string\",\n              \"format\": \"date-time\"\n            },\n            \"deployed_by\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"observations\": {\n          \"type\": \"array\",\n          \"minItems\": 1,\n          \"items\": {\n            \"type\": \"object\",\n            \"required\": [\n              \"timestamp\",\n              \"source\",\n              \"message\"\n            ],\n            \"properties\": {\n              \"timestamp\": {\n                \"type\": \"string\",\n                \"format\": \"date-time\"\n              },\n              \"source\": {\n                \"type\": \"string\"\n              },\n              \"message\": {\n                \"type\": \"string\"\n              },\n              \"value\": {\n                \"type\": [\n                  \"string\",\n                  \"number\",\n                  \"boolean\",\n                  \"null\"\n                ]\n              },\n              \"unit\": {\n                \"type\": [\n                  \"string\",\n                  \"null\"\n                ]\n              }\n            },\n            \"additionalProperties\": false\n          }\n        },\n        \"affected_components\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\"\n          }\n        },\n        \"recent_changes\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\"\n          }\n        },\n        \"constraints\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\"\n          }\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"root_cause_analysis\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"incident_summary\",\n        \"impact_assessment\",\n        \"timeline\",\n        \"probable_causes\",\n        \"evidence_gaps\"\n      ],\n      \"properties\": {\n        \"incident_summary\": {\n          \"type\": \"string\"\n        },\n        \"impact_assessment\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"scope\",\n            \"customer_impact\",\n            \"business_impact\"\n          ],\n          \"properties\": {\n            \"scope\": {\n              \"type\": \"string\"\n            },\n            \"customer_impact\": {\n              \"type\": \"string\"\n            },\n            \"business_impact\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"timeline\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"object\",\n            \"required\": [\n              \"timestamp\",\n              \"event\",\n              \"source\"\n            ],\n            \"properties\": {\n              \"timestamp\": {\n                \"type\": \"string\"\n              },\n              \"event\": {\n                \"type\": \"string\"\n              },\n              \"source\": {\n                \"type\": \"string\"\n              }\n            },\n            \"additionalProperties\": false\n          }\n        },\n        \"probable_causes\": {\n          \"type\": \"array\",\n          \"minItems\": 1,\n          \"items\": {\n            \"type\": \"object\",\n            \"required\": [\n              \"rank\",\n              \"cause\",\n              \"confidence\",\n              \"reasoning\",\n              \"supporting_evidence\",\n              \"contradicting_evidence\"\n            ],\n            \"properties\": {\n              \"rank\": {\n                \"type\": \"integer\",\n                \"minimum\": 1\n              },\n              \"cause\": {\n                \"type\": \"string\"\n              },\n              \"confidence\": {\n                \"type\": \"number\",\n                \"minimum\": 0,\n                \"maximum\": 1\n              },\n              \"reasoning\": {\n                \"type\": \"string\"\n              },\n              \"supporting_evidence\": {\n                \"type\": \"array\",\n                \"items\": {\n                  \"type\": \"string\"\n                }\n              },\n              \"contradicting_evidence\": {\n                \"type\": \"array\",\n                \"items\": {\n                  \"type\": \"string\"\n                }\n              }\n            },\n            \"additionalProperties\": false\n          }\n        },\n        \"evidence_gaps\": {\n          \"type\": \"array\",\n          \"items\": {\n            \"type\": \"string\"\n          }\n        }\n      },\n      \"additionalProperties\": false\n    }\n  },\n  \"additionalProperties\": false\n}",
        "outputSchema": "{\n  \"type\": \"object\",\n  \"required\": [\n    \"recommended_strategy\",\n    \"containment\",\n    \"remediation\",\n    \"validation\",\n    \"rollback\",\n    \"stakeholder_communication\"\n  ],\n  \"properties\": {\n    \"recommended_strategy\": {\n      \"type\": \"string\"\n    },\n    \"containment\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"priority\",\n          \"action\",\n          \"reason\",\n          \"risk\",\n          \"requires_approval\"\n        ],\n        \"properties\": {\n          \"priority\": {\n            \"type\": \"integer\",\n            \"minimum\": 1\n          },\n          \"action\": {\n            \"type\": \"string\"\n          },\n          \"reason\": {\n            \"type\": \"string\"\n          },\n          \"risk\": {\n            \"type\": \"string\"\n          },\n          \"requires_approval\": {\n            \"type\": \"boolean\"\n          }\n        },\n        \"additionalProperties\": false\n      }\n    },\n    \"remediation\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"step\",\n          \"action\",\n          \"owner_role\",\n          \"expected_result\",\n          \"risk\",\n          \"requires_approval\"\n        ],\n        \"properties\": {\n          \"step\": {\n            \"type\": \"integer\",\n            \"minimum\": 1\n          },\n          \"action\": {\n            \"type\": \"string\"\n          },\n          \"owner_role\": {\n            \"type\": \"string\"\n          },\n          \"expected_result\": {\n            \"type\": \"string\"\n          },\n          \"risk\": {\n            \"type\": \"string\"\n          },\n          \"requires_approval\": {\n            \"type\": \"boolean\"\n          }\n        },\n        \"additionalProperties\": false\n      }\n    },\n    \"validation\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"check\",\n          \"success_criteria\",\n          \"observation_window\",\n          \"failure_action\"\n        ],\n        \"properties\": {\n          \"check\": {\n            \"type\": \"string\"\n          },\n          \"success_criteria\": {\n            \"type\": \"string\"\n          },\n          \"observation_window\": {\n            \"type\": \"string\"\n          },\n          \"failure_action\": {\n            \"type\": \"string\"\n          }\n        },\n        \"additionalProperties\": false\n      }\n    },\n    \"rollback\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"trigger\",\n          \"action\",\n          \"validation\"\n        ],\n        \"properties\": {\n          \"trigger\": {\n            \"type\": \"string\"\n          },\n          \"action\": {\n            \"type\": \"string\"\n          },\n          \"validation\": {\n            \"type\": \"string\"\n          }\n        },\n        \"additionalProperties\": false\n      }\n    },\n    \"stakeholder_communication\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"audience\",\n          \"message\",\n          \"channel\",\n          \"timing\"\n        ],\n        \"properties\": {\n          \"audience\": {\n            \"type\": \"string\"\n          },\n          \"message\": {\n            \"type\": \"string\"\n          },\n          \"channel\": {\n            \"type\": \"string\"\n          },\n          \"timing\": {\n            \"type\": \"string\"\n          }\n        },\n        \"additionalProperties\": false\n      }\n    }\n  },\n  \"additionalProperties\": false\n}",
        "sideEffect": "production-remediation-plan",
        "approvalRequired": true,
        "enabled": true,
        "priority": 101,
        "timeoutSeconds": 300,
        "maximumConcurrency": 2,
        "tenantAllowlist": "",
        "requiredRoles": "approver,operator"
      },
      "id": "b66dff04-e9cb-4cff-843d-7542c33e4538",
      "name": "Create Production Remediation Plan Capability",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentCapability",
      "typeVersion": 1,
      "position": [
        420,
        300
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Called by Domain Bootstrap": {
      "main": [
        [
          {
            "node": "Create Production Remediation Plan Capability",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "saveExecutionProgress": true
  },
  "versionId": "3cc964d0-3bcf-4c6d-8e22-67c249dacd38",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Autonomous Agent - Incident Response - Create Capability - production-remediation-plan. Uses executeWorkflowTrigger, n8n-nodes-autonomous-agent. Event-driven trigger; 2 nodes.

Source: https://github.com/MustiSquare/n8n-with-autonomous-agent-platform-demo/blob/main/workflows/01-incident-response/bootstrap/capabilities/02-create-production-remediation-plan.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Autonomous Agent - Incident Response - Create Capability - incident-root-cause-analysis. Uses executeWorkflowTrigger, n8n-nodes-autonomous-agent. Event-driven trigger; 2 nodes.

Execute Workflow Trigger, N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Autonomous Software Development - Create Capability - requirements-analysis. Uses executeWorkflowTrigger, n8n-nodes-autonomous-agent. Event-driven trigger; 2 nodes.

Execute Workflow Trigger, N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Autonomous Software Development - Create Capability - software-architecture. Uses executeWorkflowTrigger, n8n-nodes-autonomous-agent. Event-driven trigger; 2 nodes.

Execute Workflow Trigger, N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Autonomous Software Development - Create Capability - code-generation. Uses executeWorkflowTrigger, n8n-nodes-autonomous-agent. Event-driven trigger; 2 nodes.

Execute Workflow Trigger, N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Autonomous Software Development - Create Capability - test-generation. Uses executeWorkflowTrigger, n8n-nodes-autonomous-agent. Event-driven trigger; 2 nodes.

Execute Workflow Trigger, N8N Nodes Autonomous Agent