AutomationFlowsGeneral › Upload Files via N8n Form and Save Them to Digital Ocean Spaces

Upload Files via N8n Form and Save Them to Digital Ocean Spaces

ByAlfred Nutile @dailyaistudio on n8n.io

This workflow provides a streamlined process for uploading files to Digital Ocean Spaces, making them publicly accessible. The process happens in three main steps: User submits the form with file, in this case I needed it to upload images I use in my seo tags. File is…

Event trigger★☆☆☆☆ complexity3 nodesForm TriggerS3Form
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

This workflow corresponds to n8n.io template #2660 — we link there as the canonical source.

This workflow follows the Form → Form Trigger recipe pattern — see all workflows that pair these two integrations.

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
{
  "id": "CYv2u2izrgZWk5bK",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "DigialOceanUpload",
  "tags": [
    {
      "id": "6YbZxCb4ODJ2Rmva",
      "name": "admin",
      "createdAt": "2024-12-01T14:18:53.184Z",
      "updatedAt": "2024-12-01T14:18:53.184Z"
    }
  ],
  "nodes": [
    {
      "id": "dedd8475-1f90-4c6e-a7b3-d4246648fcec",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        200,
        340
      ],
      "parameters": {
        "options": {},
        "formTitle": "Upload File",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "File to Upload",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Upload the file to the public storage area"
      },
      "typeVersion": 2.2
    },
    {
      "id": "bbaed371-3860-4370-8103-16b7b955cd7e",
      "name": "S3",
      "type": "n8n-nodes-base.s3",
      "position": [
        360,
        340
      ],
      "parameters": {
        "fileName": "={{ $json['File to Upload'][0].filename }}",
        "operation": "upload",
        "bucketName": "dailyai",
        "additionalFields": {
          "acl": "publicRead"
        },
        "binaryPropertyName": "File_to_Upload"
      },
      "credentials": {
        "s3": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "da21e508-a62f-49dd-ac1c-6ed4b9a307a6",
      "name": "Form",
      "type": "n8n-nodes-base.form",
      "position": [
        540,
        340
      ],
      "parameters": {
        "options": {},
        "operation": "completion",
        "completionTitle": "Your file path is below!",
        "completionMessage": "=https://dailyai.nyc3.cdn.digitaloceanspaces.com/{{ $('On form submission').first().json['File to Upload'][0].filename }}"
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e7f5d777-36c3-4601-8eef-dc1ab68cf67e",
  "connections": {
    "S3": {
      "main": [
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "S3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

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

This workflow provides a streamlined process for uploading files to Digital Ocean Spaces, making them publicly accessible. The process happens in three main steps: User submits the form with file, in this case I needed it to upload images I use in my seo tags. File is…

Source: https://n8n.io/workflows/2660/ — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

DigialOceanUpload. Uses formTrigger, s3, form. Event-driven trigger; 3 nodes.

Form Trigger, S3, Form
General

Forms. Uses formTrigger, form. Event-driven trigger; 6 nodes.

Form Trigger, Form
General

Simple OpenAI Image Generator. Uses convertToFile, formTrigger, httpRequest, form. Event-driven trigger; 5 nodes.

Form Trigger, HTTP Request, Form
General

This interactive tutorial teaches you how to build in n8n from scratch, using a live walkthrough with real-time examples. Rather than static documentation, this guided workflow explains key n8n concep

Form Trigger, Form
General

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Form Trigger, n8n, Form +2