AutomationFlowsAI & RAG › Autonomous Agent - Incident Response - Execution Status

Autonomous Agent - Incident Response - Execution Status

Autonomous Agent - Incident Response - Execution Status. Uses n8n-nodes-autonomous-agent. Webhook trigger; 10 nodes.

Webhook trigger★★★★☆ complexity10 nodesN8N Nodes Autonomous Agent
AI & RAG Trigger: Webhook Nodes: 10 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 - Execution Status",
  "nodes": [
    {
      "parameters": {
        "path": "autonomous-agent/incident-response/executions/:executionId",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "b68e086e-7aa5-4234-9c3a-057de1e0ac28",
      "name": "Execution Status Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        -900,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "const id = $json.params?.executionId; if (!id) throw new Error('executionId is required'); return [{json:{execution_id:String(id)}}];"
      },
      "id": "02374e30-7846-4263-b233-47063adbbf20",
      "name": "Validate Execution ID",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        -680,
        300
      ]
    },
    {
      "parameters": {
        "operation": "get",
        "executionId": "={{$json.execution_id}}"
      },
      "id": "a5cd06d2-24c5-4140-a9f3-53f64b8d1643",
      "name": "Get Autonomous Execution",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentExecution",
      "typeVersion": 1,
      "position": [
        -440,
        300
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "list",
        "executionId": "={{$('Validate Execution ID').item.json.execution_id}}",
        "splitIntoItems": false
      },
      "id": "a6aa6d60-ada5-48ae-996e-3440866254f3",
      "name": "List Pending Approvals",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentApproval",
      "typeVersion": 1,
      "position": [
        -180,
        140
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "list",
        "executionId": "={{$('Validate Execution ID').item.json.execution_id}}",
        "splitIntoItems": false
      },
      "id": "90c154c9-9c5d-41ee-a06e-9efbe36f2368",
      "name": "List Audit Events",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentEvent",
      "typeVersion": 1,
      "position": [
        -180,
        300
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "list",
        "executionId": "={{$('Validate Execution ID').item.json.execution_id}}",
        "splitIntoItems": false
      },
      "id": "eb055aa0-5ba8-4c02-9161-c393fedebd3a",
      "name": "List Result Artifacts",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentArtifact",
      "typeVersion": 1,
      "position": [
        -180,
        460
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "position",
        "options": {}
      },
      "id": "c962a08e-d213-4e33-8346-a8f6dfec4e8d",
      "name": "Merge Approval and Events",
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        80,
        220
      ]
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "position",
        "options": {}
      },
      "id": "73ffaba7-e68c-48eb-a370-5944df600a1f",
      "name": "Merge Status Data",
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        300,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "const execution = $('Get Autonomous Execution').item.json; const a=$('List Pending Approvals').item.json; const e=$('List Audit Events').item.json; const r=$('List Result Artifacts').item.json; return [{json:{execution_id:execution.execution_id,status:execution.status,current_step:execution.current_step??null,output:execution.output??execution.result??null,error:execution.error??null,approvals:a.approvals??a.items??a.data??a,events:e.events??e.items??e.data??e,artifacts:r.artifacts??r.items??r.data??r}}];"
      },
      "id": "0540ada9-837d-4648-9a12-082b2d189594",
      "name": "Build Status Response",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        540,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{$json}}",
        "options": {
          "responseCode": 200
        }
      },
      "id": "a70bf321-9e77-494b-88f7-0bd9c6ac4f55",
      "name": "Respond With Status",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.4,
      "position": [
        780,
        300
      ]
    }
  ],
  "connections": {
    "Execution Status Webhook": {
      "main": [
        [
          {
            "node": "Validate Execution ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Execution ID": {
      "main": [
        [
          {
            "node": "Get Autonomous Execution",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Autonomous Execution": {
      "main": [
        [
          {
            "node": "List Pending Approvals",
            "type": "main",
            "index": 0
          },
          {
            "node": "List Audit Events",
            "type": "main",
            "index": 0
          },
          {
            "node": "List Result Artifacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Pending Approvals": {
      "main": [
        [
          {
            "node": "Merge Approval and Events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Audit Events": {
      "main": [
        [
          {
            "node": "Merge Approval and Events",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge Approval and Events": {
      "main": [
        [
          {
            "node": "Merge Status Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Result Artifacts": {
      "main": [
        [
          {
            "node": "Merge Status Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge Status Data": {
      "main": [
        [
          {
            "node": "Build Status Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Status Response": {
      "main": [
        [
          {
            "node": "Respond With Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "versionId": "37eebca1-791a-4e48-a76f-5a7fca0bd797",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "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 - Execution Status. Uses n8n-nodes-autonomous-agent. Webhook trigger; 10 nodes.

Source: https://github.com/MustiSquare/n8n-with-autonomous-agent-platform-demo/blob/main/workflows/01-incident-response/execution/execution-status.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 - Execute Autonomous Software Development. Uses n8n-nodes-autonomous-agent. Webhook trigger; 10 nodes.

N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Incident Response - Approval and Continuation. Uses n8n-nodes-autonomous-agent. Webhook trigger; 9 nodes.

N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Autonomous Software Development - Approval and Continuation. Uses n8n-nodes-autonomous-agent. Webhook trigger; 9 nodes.

N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Document Processing - Approval and Continuation. Uses n8n-nodes-autonomous-agent. Webhook trigger; 9 nodes.

N8N Nodes Autonomous Agent
AI & RAG

Autonomous Agent - Approve Incident Remediation. Uses n8n-nodes-autonomous-agent. Webhook trigger; 9 nodes.

N8N Nodes Autonomous Agent