AutomationFlowsGeneral › Store Webhook Data as JSON File

Store Webhook Data as JSON File

Original n8n title: Store Data Received From Webhook in JSON

Store Data Received From Webhook In Json. Uses manualTrigger, httpRequest, moveBinaryData, writeBinaryFile. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesHTTP RequestMove Binary DataWrite Binary File
General Trigger: Event 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
{
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        250,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        400,
        300
      ],
      "parameters": {
        "url": "https://www.thecocktaildb.com/api/json/v1/1/random.php",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "name": "Move Binary Data",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        550,
        300
      ],
      "parameters": {
        "mode": "jsonToBinary",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "name": "Write Binary File",
      "type": "n8n-nodes-base.writeBinaryFile",
      "position": [
        700,
        300
      ],
      "parameters": {
        "fileName": "cocktail.json"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Move Binary Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Move Binary Data": {
      "main": [
        [
          {
            "node": "Write Binary File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Store Data Received From Webhook In Json. Uses manualTrigger, httpRequest, moveBinaryData, writeBinaryFile. Event-driven trigger; 4 nodes.

Source: https://github.com/Zie619/n8n-workflows — 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

Store the data received from the CocktailDB API in JSON. Uses manualTrigger, httpRequest, moveBinaryData, writeBinaryFile. Event-driven trigger; 4 nodes.

HTTP Request, Move Binary Data, Write Binary File
General

Write a file to the host machine. Uses manualTrigger, httpRequest, writeBinaryFile. Event-driven trigger; 3 nodes.

HTTP Request, Write Binary File
General

Query List of Sign-in IPs. Uses httpRequest, stickyNote, removeDuplicates, moveBinaryData. Event-driven trigger; 14 nodes.

HTTP Request, Move Binary Data, Form Trigger
General

Example - Backup n8n to Nextcloud. Uses manualTrigger, moveBinaryData, httpRequest, functionItem. Event-driven trigger; 9 nodes.

Move Binary Data, HTTP Request, Function Item +1
General

Text to Speech (OpenAI). Uses manualTrigger, httpRequest, stickyNote. Event-driven trigger; 8 nodes.

HTTP Request