AutomationFlowsAI & RAG › Autonomous Agent - Create with Attachment

Autonomous Agent - Create with Attachment

Autonomous Agent - Create With Attachment. Uses readWriteFile, n8n-autonomous-agent-nodes. Event-driven trigger; 5 nodes.

Event trigger★★★★☆ complexity5 nodesRead Write FileN8N Autonomous Agent Nodes
AI & RAG Trigger: Event Nodes: 5 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 - 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.

Pro

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 →

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

🤖🧑‍💻 AI Agent for Top n8n Creators Leaderboard Reporting. Uses httpRequest, executeWorkflowTrigger, readWriteFile, googleDrive. Event-driven trigger; 49 nodes.

HTTP Request, Execute Workflow Trigger, Read Write File +3
AI & RAG

pipelineA. Uses httpRequest, readWriteFile. Event-driven trigger; 11 nodes.

HTTP Request, Read Write File
AI & RAG

pipelineB. Uses readWriteFile, httpRequest. Event-driven trigger; 10 nodes.

Read Write File, HTTP Request
AI & RAG

RAG CHATBOT Main. Uses telegram, telegramTrigger, lmChatOpenAi, n8n-nodes-mcp. Event-driven trigger; 87 nodes.

Telegram, Telegram Trigger, OpenAI Chat +8
AI & RAG

This workflow helps to automatically discover undocumented API endpoints by analysing JavaScript files from the website's HTML code.

Output Parser Autofixing, HTTP Request, Read Write File +5