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 - Create With Attachment",
"nodes": [
{
"parameters": {},
"id": "3a125b58-863b-42d7-8267-d273e3cd737a",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
120,
300
]
},
{
"parameters": {
"operation": "read",
"fileSelector": "/files/example.png",
"options": {}
},
"id": "ddbbe53d-3fe6-4af9-9df9-d8af028aef01",
"name": "Read Binary File",
"type": "n8n-nodes-base.readWriteFile",
"typeVersion": 1,
"position": [
360,
300
]
},
{
"parameters": {
"operation": "createWithAttachment",
"task": "Analyze this image and identify visible objects.",
"mode": "supervised",
"contextInputMode": "none",
"includeDesiredOutput": true,
"desiredOutputFormat": "json",
"desiredOutputMediaType": "application/json",
"metadataInputMode": "none",
"idempotencyKeyMode": "automatic",
"inputBinaryField": "data",
"waitUntilComplete": false
},
"id": "6785b60a-ef04-45ac-9d8c-7eaacd083dc3",
"name": "Create With Attachment",
"type": "n8n-autonomous-agent-nodes.autonomousAgentExecution",
"typeVersion": 1,
"position": [
620,
300
],
"credentials": {
"autonomousAgentApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "get",
"executionId": "={{$json.execution_id}}"
},
"id": "e33f079b-05fd-4233-8ce8-0cbb0edcdd73",
"name": "Get Execution",
"type": "n8n-autonomous-agent-nodes.autonomousAgentExecution",
"typeVersion": 1,
"position": [
880,
300
],
"credentials": {
"autonomousAgentApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "list",
"executionId": "={{$json.execution_id}}",
"splitIntoItems": true
},
"id": "4b9579a3-eaf7-4109-93da-257410193c7f",
"name": "List Events",
"type": "n8n-autonomous-agent-nodes.autonomousAgentEvent",
"typeVersion": 1,
"position": [
1140,
300
],
"credentials": {
"autonomousAgentApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Read Binary File",
"type": "main",
"index": 0
}
]
]
},
"Read Binary File": {
"main": [
[
{
"node": "Create With Attachment",
"type": "main",
"index": 0
}
]
]
},
"Create With Attachment": {
"main": [
[
{
"node": "Get Execution",
"type": "main",
"index": 0
}
]
]
},
"Get Execution": {
"main": [
[
{
"node": "List Events",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "f81a8579-fabd-4f1d-acb4-33a27c7461a6",
"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 - Create With Attachment. Uses readWriteFile, n8n-autonomous-agent-nodes. Event-driven trigger; 5 nodes.
Source: https://github.com/MustiSquare/n8n-autonomous-agent-nodes/blob/main/examples/create-with-attachment.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.
🤖🧑💻 AI Agent for Top n8n Creators Leaderboard Reporting. Uses httpRequest, executeWorkflowTrigger, readWriteFile, googleDrive. Event-driven trigger; 49 nodes.
pipelineA. Uses httpRequest, readWriteFile. Event-driven trigger; 11 nodes.
pipelineB. Uses readWriteFile, httpRequest. Event-driven trigger; 10 nodes.
RAG CHATBOT Main. Uses telegram, telegramTrigger, lmChatOpenAi, n8n-nodes-mcp. Event-driven trigger; 87 nodes.
This workflow helps to automatically discover undocumented API endpoints by analysing JavaScript files from the website's HTML code.