AutomationFlowsGeneral › Mock S3 File Check Webhook

Mock S3 File Check Webhook

Original n8n title: S3 Mock

S3_Mock. Uses stopAndError. Webhook trigger; 4 nodes.

Webhook trigger★★☆☆☆ complexity4 nodesStop And Error
General Trigger: Webhook Nodes: 4 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": "S3_Mock",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "upload_file_mock",
        "responseMode": "responseNode",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        -60,
        0
      ],
      "id": "b10d2e31-be52-4cac-963a-a21152150ecf",
      "name": "Webhook"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "99e2af61-3277-4ab1-8880-5524a1dce910",
              "leftValue": "={{ $json }}",
              "rightValue": "",
              "operator": {
                "type": "object",
                "operation": "notEmpty",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        160,
        0
      ],
      "id": "b4cf9a2e-2b7a-41eb-91af-51c1bf588e8f",
      "name": "If File Exists"
    },
    {
      "parameters": {
        "errorMessage": "File was not able to be uploaded"
      },
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        380,
        100
      ],
      "id": "c72f58cb-146f-4000-a279-8f1d98377cce",
      "name": "Stop and Error"
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "{\n  \"message\": \"Upload successful\",\n  \"etag\": \"\\\"9b2cf535f27731c974343645a3985328\\\"\"\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.4,
      "position": [
        380,
        -100
      ],
      "id": "0690897f-a190-4a4a-921a-705236407f7f",
      "name": "200 OK"
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "If File Exists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If File Exists": {
      "main": [
        [
          {
            "node": "200 OK",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Stop and Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "82f9878d-1c90-4601-ae06-df4552e4cf80",
  "id": "lRu44rkIYw7hBWqv",
  "tags": []
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

S3_Mock. Uses stopAndError. Webhook trigger; 4 nodes.

Source: https://github.com/gertejon/Factorial---Engineering-Logic-Test/blob/233dc2fbfcaa2c5fbb16bc0e17b7ed15f50889b0/workflows/3-S3_Mock.json — 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

User Verification And Login Using Auth0. Uses httpRequest, stopAndError, respondToWebhook, stickyNote. Webhook trigger; 16 nodes.

HTTP Request, Stop And Error
General

TestMultiCredentials. Uses executeCommand. Webhook trigger; 13 nodes.

Execute Command
General

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?

Google Calendar
General

The Switch node is powerful — but easy to misconfigure. Without a proper fallback, things can silently break. 🧨

Stop And Error
General

> ⚠️ Notice: > This workflow uses the HTML to Docx node from customjs.space, which requires a self-hosted n8n instance and a CustomJS API key.

Email Send, @Custom Js/N8N Nodes Pdf Toolkit