AutomationFlowsGeneral › Download and Save HTTP File to Host

Download and Save HTTP File to Host

Original n8n title: Write a File to the Host Machine (http Request)

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

Event trigger★☆☆☆☆ complexity3 nodesHTTP RequestWrite Binary File
General Trigger: Event Nodes: 3 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
{
  "id": "160",
  "name": "Write a file to the host machine",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        260,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        460,
        300
      ],
      "parameters": {
        "url": "https://docs.n8n.io/assets/img/n8n-logo.png",
        "options": {},
        "responseFormat": "file"
      },
      "typeVersion": 1
    },
    {
      "name": "Write Binary File",
      "type": "n8n-nodes-base.writeBinaryFile",
      "position": [
        660,
        300
      ],
      "parameters": {
        "fileName": "/Users/tanay/Desktop/n8n-logo.png"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "HTTP Request": {
      "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

Write a file to the host machine. Uses manualTrigger, httpRequest, writeBinaryFile. Event-driven trigger; 3 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 Data Received From Webhook In Json. Uses manualTrigger, httpRequest, moveBinaryData, writeBinaryFile. Event-driven trigger; 4 nodes.

HTTP Request, Move Binary Data, Write Binary File
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

Capture Website Screenshots with Bright Data Web Unlocker and Save to Disk. Uses manualTrigger, stickyNote, readWriteFile, httpRequest. Event-driven trigger; 6 nodes.

Read Write File, HTTP Request
General

Manual Stickynote. Uses manualTrigger, httpRequest, stickyNote. Event-driven trigger; 6 nodes.

HTTP Request
General

[hiroshidigital.com] Send Message In Larksuite. Uses manualTrigger, httpRequest, stickyNote. Event-driven trigger; 6 nodes.

HTTP Request