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 →
{
"name": "Autonomous Agent - Poll Until Complete",
"nodes": [
{
"parameters": {},
"id": "dee3b3e9-fc54-4cee-96f5-9b65ee9a5993",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
260,
300
]
},
{
"parameters": {
"operation": "create",
"task": "Generate a concise structured result.",
"mode": "supervised",
"contextInputMode": "none",
"includeDesiredOutput": true,
"desiredOutputFormat": "json",
"metadataInputMode": "none",
"idempotencyKeyMode": "automatic",
"waitUntilComplete": true,
"pollingInterval": 5,
"maximumWaitTime": 300,
"terminalStatuses": "completed,failed,cancelled,rejected",
"stopWhenApprovalRequired": true,
"returnInitialResponseOnTimeout": false,
"retryTemporaryErrors": true
},
"id": "4ed74be6-1c35-4c34-adbb-388b7d9eb219",
"name": "Create and Poll",
"type": "n8n-autonomous-agent-nodes.autonomousAgentExecution",
"typeVersion": 1,
"position": [
520,
300
],
"credentials": {
"autonomousAgentApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Create and Poll",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "82bfa26b-4a6b-40e5-8cfe-6765db4d6e9c",
"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.
autonomousAgentApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Autonomous Agent - Poll Until Complete. Uses n8n-autonomous-agent-nodes. Event-driven trigger; 2 nodes.
Source: https://github.com/MustiSquare/n8n-autonomous-agent-nodes/blob/main/examples/poll-until-complete.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Autonomous Agent - Configure Custom Model Capability. Uses n8n-autonomous-agent-nodes. Event-driven trigger; 4 nodes.
Autonomous Agent - Approve Execution. Uses n8n-autonomous-agent-nodes. Event-driven trigger; 2 nodes.
Autonomous Agent - Create Execution. Uses n8n-autonomous-agent-nodes. Event-driven trigger; 2 nodes.
Autonomous Agent - Download Artifact. Uses n8n-autonomous-agent-nodes. Event-driven trigger; 2 nodes.
Autonomous Agent - Create With Attachment. Uses readWriteFile, n8n-autonomous-agent-nodes. Event-driven trigger; 5 nodes.