AutomationFlowsAI & RAG › Autonomous Agent - Execute Autonomous Software Development

Autonomous Agent - Execute Autonomous Software Development

Autonomous Agent - Execute Autonomous Software Development. 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 - Execute Autonomous Software Development",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "autonomous-agent/software-development",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "236d315d-2eef-43a4-9185-2c8875e2835d",
      "name": "Software Request Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "const body = $json.body ?? $json;\nconst required = [\"project_id\", \"requirements\"];\nconst missing = required.filter((key) => body[key] === undefined || body[key] === null || body[key] === '');\nif (missing.length) throw new Error(`Missing required fields: ${missing.join(', ')}`);\nconst request = {...body};\nconst correlation_id = String(body.correlation_id ?? body.request_id ?? body.project_id ?? String(Date.now()));\nreturn [{json:{request, correlation_id, workflow_key:\"software-development\"}}];"
      },
      "id": "f2ab91b5-78c3-4b1f-a149-8d0c047c3a30",
      "name": "Validate and Normalize Request",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        220,
        300
      ]
    },
    {
      "parameters": {
        "operation": "create",
        "task": "=Build a production-oriented software solution for project {{$json.request.project_id}} from the supplied requirements. Produce requirements, architecture, implementation plan, source-code artifacts, tests, security review, and release notes. Never merge or deploy without approval.",
        "mode": "supervised",
        "contextInputMode": "json",
        "contextJson": "={{ { request: $json.request, orchestration: { source: 'n8n', correlation_id: $json.correlation_id, workflow: $json.workflow_key } } }}",
        "includeDesiredOutput": true,
        "desiredOutputFormat": "json",
        "desiredOutputSchema": "{\n  \"type\": \"object\",\n  \"required\": [\n    \"requirements\",\n    \"architecture\",\n    \"implementation_plan\",\n    \"tests\",\n    \"security_review\",\n    \"artifacts\"\n  ],\n  \"properties\": {\n    \"requirements\": {\n      \"type\": \"object\"\n    },\n    \"architecture\": {\n      \"type\": \"object\"\n    },\n    \"implementation_plan\": {\n      \"type\": \"array\"\n    },\n    \"tests\": {\n      \"type\": \"array\"\n    },\n    \"security_review\": {\n      \"type\": \"object\"\n    },\n    \"artifacts\": {\n      \"type\": \"array\"\n    }\n  }\n}",
        "desiredOutputMediaType": "application/json",
        "includeConstraints": true,
        "deadlineSeconds": 900,
        "maximumAgentCalls": 15,
        "maximumToolCalls": 20,
        "allowedCapabilities": "requirements-analysis,software-architecture,code-generation,test-generation,security-review,repository-write,merge-pull-request,production-deployment",
        "deniedCapabilities": "",
        "allowedTools": "",
        "deniedTools": "",
        "requireApprovalFor": "repository-write,merge-pull-request,production-deployment",
        "metadataInputMode": "json",
        "metadataJson": "={{ { workflow: $json.workflow_key, correlation_id: $json.correlation_id, requested_by: $json.request.requested_by ?? null } }}",
        "idempotencyKeyMode": "manual",
        "idempotencyKey": "={{$json.workflow_key + ':' + $json.correlation_id}}",
        "waitUntilComplete": true,
        "pollingInterval": 5,
        "maximumWaitTime": 840,
        "terminalStatuses": "completed,failed,cancelled,rejected",
        "stopWhenApprovalRequired": true,
        "returnInitialResponseOnTimeout": true,
        "retryTemporaryErrors": true
      },
      "id": "9ce9a6a6-67de-418a-ab7d-dc07d82d9df4",
      "name": "Create and Poll Autonomous Execution",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentExecution",
      "typeVersion": 1,
      "position": [
        470,
        300
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "list",
        "executionId": "={{$('Create and Poll Autonomous Execution').item.json.execution_id}}",
        "splitIntoItems": false
      },
      "id": "ff0f60be-a1e3-4eab-9932-5d8e471e43f5",
      "name": "List Pending Approvals",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentApproval",
      "typeVersion": 1,
      "position": [
        720,
        160
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "list",
        "executionId": "={{$('Create and Poll Autonomous Execution').item.json.execution_id}}",
        "splitIntoItems": false
      },
      "id": "d0ed84b7-87e8-461a-ac58-8e8bfdab3be5",
      "name": "List Audit Events",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentEvent",
      "typeVersion": 1,
      "position": [
        720,
        300
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "list",
        "executionId": "={{$('Create and Poll Autonomous Execution').item.json.execution_id}}",
        "splitIntoItems": false
      },
      "id": "ccce8204-6dea-4357-920e-a2e2c9a43930",
      "name": "List Result Artifacts",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentArtifact",
      "typeVersion": 1,
      "position": [
        720,
        440
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "position",
        "options": {}
      },
      "id": "c52cc499-38f0-40bb-905c-40599d6c469a",
      "name": "Merge Approval and Events",
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        950,
        220
      ]
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "position",
        "options": {}
      },
      "id": "22de7e76-bb50-47c4-91b8-2450d143da1e",
      "name": "Merge Artifacts",
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        1160,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "const execution = $('Create and Poll Autonomous Execution').item.json;\nconst approvalNode = $('List Pending Approvals').item.json;\nconst eventNode = $('List Audit Events').item.json;\nconst artifactNode = $('List Result Artifacts').item.json;\nreturn [{json:{\n  accepted: true,\n  workflow: $('Validate and Normalize Request').item.json.workflow_key,\n  correlation_id: $('Validate and Normalize Request').item.json.correlation_id,\n  execution_id: execution.execution_id,\n  status: execution.status,\n  output: execution.output ?? execution.result ?? null,\n  approvals: approvalNode.approvals ?? approvalNode.items ?? approvalNode.data ?? approvalNode,\n  events: eventNode.events ?? eventNode.items ?? eventNode.data ?? eventNode,\n  artifacts: artifactNode.artifacts ?? artifactNode.items ?? artifactNode.data ?? artifactNode\n}}];"
      },
      "id": "416d3fdd-4b1a-40e6-ad49-f8d7266a5fa4",
      "name": "Build Workflow Response",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1380,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{$json}}",
        "options": {
          "responseCode": 202
        }
      },
      "id": "9742c7ee-4dfd-4eae-8dc0-0549faf811f1",
      "name": "Respond to Request",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.4,
      "position": [
        1600,
        300
      ]
    }
  ],
  "connections": {
    "Software Request Webhook": {
      "main": [
        [
          {
            "node": "Validate and Normalize Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate and Normalize Request": {
      "main": [
        [
          {
            "node": "Create and Poll Autonomous Execution",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create and Poll 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 Artifacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Result Artifacts": {
      "main": [
        [
          {
            "node": "Merge Artifacts",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge Artifacts": {
      "main": [
        [
          {
            "node": "Build Workflow Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Workflow Response": {
      "main": [
        [
          {
            "node": "Respond to Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c264c4c4-55dd-4ece-9a36-7879793d70a0",
  "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 - Execute Autonomous Software Development. Uses n8n-nodes-autonomous-agent. Webhook trigger; 10 nodes.

Source: https://github.com/MustiSquare/n8n-with-autonomous-agent-platform-demo/blob/main/workflows/02-autonomous-software-development/execution/domain-execution.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 - Execution Status. 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